Confirm the deletion of an object or collection in an isolated project.
Input
Parameter | Type | Description |
|---|---|---|
p_foid | NUMBER | The feature object identifier (FOID) as a number of the feature to confirm delete. See FOID Conversion Functions. |
p_project_id | NUMBER | The project to confirm delete the object with |
Example
DECLARE v_project_id CONSTANT PROJECT.PJ_ID%TYPE := 1; v_foid CONSTANT NUMBER := foidStringToNumber('1C 0000009949 00001'); BEGIN -- Create a new 'save'. All edits are done under the specified project -- until a commit or rollback. P_SAVE_MANAGER.STARTNEWSAVE(v_project_id); P_ISOLATEDPROJECTAPI.ConfirmDeleteObject(v_foid, v_project_id); END; / |
Exceptions
• FOID 'FOID' does not exist.
• Project_id PROJECT_ID is invalid or does not currently exist.
• Project ID PROJECT_ID is not an Isolated Project
• Feature FOID does not exist on Isolated Project PROJECT_ID
• Feature FOID cannot be Confirmed Deleted because current state is not Proposed Deleted.