USP_PRENOTIFICATION_DELETE
Executes the "Prenotification Process: Delete" record operation.
Parameters
Parameter | Parameter Type | Mode | Description |
---|---|---|---|
@ID | uniqueidentifier | IN | Input parameter indicating the ID of the record being deleted. |
@CHANGEAGENTID | uniqueidentifier | IN | Input parameter indicating the ID of the change agent invoking the delete. |
Definition
Copy
CREATE procedure dbo.USP_PRENOTIFICATION_DELETE
(
@ID uniqueidentifier,
@CHANGEAGENTID uniqueidentifier
)
as begin
set nocount on;
--check deletion rules, if any
exec dbo.USP_BUSINESSPROCESS_PARAMETERSETCANBEDELETED 'PRENOTIFICATIONPROCESSSTATUS', @ID;
exec dbo.USP_BUSINESSPROCESSINSTANCE_DELETE 'F327E3A6-06F8-4816-BE25-BC004E73C802', @ID, @CHANGEAGENTID;
exec dbo.USP_PRENOTIFICATIONPROCESS_DELETEBYID_WITHCHANGEAGENTID @ID, @CHANGEAGENTID;
return 0;
end