ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Table 7311 - OnBeforeCheckTemplateName

Open kwettermann opened this issue 7 years ago • 0 comments

Please add a new integration event OnBeforeCheckTemplateName in Table 7311.

    LOCAL PROCEDURE CheckTemplateName@11(CurrentJnlTemplateName@1000 : Code[10];VAR CurrentLocationCode@1005 : Code[10];VAR CurrentJnlBatchName@1001 : Code[10]);
    VAR
      WhseJnlBatch@1002 : Record 7310;
+     WhseEmployee@100000000 : Record 7301;
+     IsHandled@100000001: Boolean;
    BEGIN
+     IsHandled := FALSE;
+     OnBeforeCheckTemplateName(IsHandled);
+     IF NOT IsHandled THEN BEGIN
        CurrentLocationCode := WMSMgt.GetDefaultDirectedPutawayAndPickLocation;
        WhseJnlBatch.SETRANGE("Location Code",CurrentLocationCode);
+     END;
      ...

New integration event

[Integration]
LOCAL PROCEDURE OnBeforeCheckTemplateName@100000000(VAR IsHandled@100000000 : Boolean);
BEGIN
END;

kwettermann avatar Mar 28 '19 14:03 kwettermann