ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Report 7000080 Post Payment Order - OnBeforeCommit

Open TxusMoyano opened this issue 7 years ago • 2 comments

We need a new event in report 7000080 "Post Payment Order":

LOCAL [IntegrationEvent] OnBeforeCommit(VAR PmtOrd : Integer;VAR HidePrindDialog : Integer;VAR IsHandled : Integer)

Called from Cartera Doc. OnPostDataitem, with a local variable named IsHandled: Boolean, and a exit control:

Cartera Doc. - OnPostDataItem() ... ... FinishCode; //Init insert --------------------- IsHandled:=FALSE; OnBeforeCommit(PmtOrd,HidePrindDialog,IsHandled); IF IsHandled THEN EXIT; //End insert --------------------- COMMIT; IF NOT HidePrintDialog THEN MESSAGE(Text1100005,PmtOrd."No."); EXIT;

TxusMoyano avatar Jul 11 '19 07:07 TxusMoyano

Sorry. The correct syntax of IntegrationEvent is:

LOCAL [IntegrationEvent] OnBeforeCommit(VAR PmtOrd : Record "Payment Order";VAR HidePrindDialog : Boolean;VAR IsHandled : Boolean)

TxusMoyano avatar Jul 11 '19 07:07 TxusMoyano

LOCAL [IntegrationEvent] OnBeforeCommit(VAR PmtOrd : Record "Payment Order";VAR HidePrintDialog : Boolean;VAR IsHandled : Boolean)

TxusMoyano avatar Jul 11 '19 11:07 TxusMoyano