ALAppExtensions icon indicating copy to clipboard operation
ALAppExtensions copied to clipboard

[Event Request] Table 7302 - OnBeforeGetWhseLocation

Open kwettermann opened this issue 7 years ago • 0 comments

Please add a new integration event OnBeforeGetWhseLocation in Table 7302.

    [External]
    PROCEDURE GetWhseLocation@9(VAR CurrentLocationCode@1002 : Code[10];VAR CurrentZoneCode@1004 : Code[10]);
    VAR
      Location@1001 : Record 14;
      WhseEmployee@1003 : Record 7301;
      WMSMgt@1000 : Codeunit 7302;
+     IsHandled@100000000: Boolean;
    BEGIN
      IF USERID <> '' THEN BEGIN
        WhseEmployee.SETRANGE("User ID",USERID);
+       IsHandled := FALSE;
+       OnBeforeGetWhseLocation(IsHandled);
+       IF NOT IsHandled THEN
          IF WhseEmployee.ISEMPTY THEN
            ERROR(Text009,USERID);
        IF CurrentLocationCode <> '' THEN BEGIN
        ...

New integration event

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

kwettermann avatar Mar 28 '19 14:03 kwettermann