USP_RECORDOPERATION_WPSECURITIESTRANSACTION_DELETE

Executes the "WealthPoint Securities Transaction: 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_RECORDOPERATION_WPSECURITIESTRANSACTION_DELETE (
                        @ID uniqueidentifier,
                        @CHANGEAGENTID uniqueidentifier = null
                    ) as begin
                        --check deletion rules, if any


                        exec dbo.USP_WPSECURITIESTRANSACTION_DELETEBYID_WITHCHANGEAGENTID @ID, @CHANGEAGENTID

                        return 0
                    end