Creates a task to group edits. Task ids are used with functions that edit data.
Input
Parameter | Type | Description |
|---|---|---|
v_task_comment | VARCHAR2 | A description of the task being performed. This is limited to 240 characters. |
Output
Type | Description |
|---|---|
NUMBER | The ID of the task that was created by the function. |
Example
DECLARE v_project_id CONSTANT PROJECT.PJ_ID%TYPE := 1; v_task_id INTEGER; BEGIN -- Create a new 'save'. All edits are done under the specified project -- until a commit or rollback. Tasks belong to a 'save'. P_SAVE_MANAGER.StartNewSave(v_project_id); v_task_id := P_SAVE_MANAGER.AddTask('add representations to usages'); END; / |
Exceptions
• The task comment is too long. It must be 240 characters or less.