ALAppExtensions
ALAppExtensions copied to clipboard
[Event Request] Table 7302 - OnBeforeGetWhseLocation
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;