USP_JOURNALENTRYBATCH_DELETE

Executes the "Journal Entry Batch Row: 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_JOURNALENTRYBATCH_DELETE
(
    @ID uniqueidentifier,
    @CHANGEAGENTID uniqueidentifier
)
as begin
    --check deletion rules, if any


  update dbo.FINANCIALTRANSACTION set DELETEDON=GETDATE() where ID=@ID
    return 0;

end