Use this event to
...
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Toolbox", 'OnBeforeGetLocationFilter', '', true, true)]
procedure OnBeforeGetLocationFilter(var _LocationFilter: Text; var _IsHandled: Boolean)
begin
end;
Example
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Toolbox", 'OnBeforeGetLocationFilter', '', true, true)]
procedure Ex01OnBeforeGetLocationFilter(var _LocationFilter: Text; var _IsHandled: Boolean)
var
MobSessionData: Codeunit"MOB SessionData";
begin
if (MobSessionData.GetDocumentType() = 'Lookup') and (MobSessionData.GetRegistrationType() = 'LocateItem') thenbegin
_LocationFilter := '*';
_IsHandled := true;
exit;
end;
if MobSessionData.GetMobileUserID() = 'JOHN'thenbegin
_LocationFilter := 'GREEN|BLUE';
_IsHandled := true;
exit;
end;
end;
Filter by label (Content by label) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Version History
Version | Changes |
---|---|
MOB5.40 | Introduced |
...