Use this event to
Excerpt |
---|
Filter Bin Content to be displayed at the mobile device for "LocateItem". |
Description
This event affects locations with Location."Bin Mandatory" = true.
...
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Lookup", 'OnLookupOnLocateItem_OnSetFilterBinContent', '', true, true)]
procedure OnLookupOnLocateItem_OnSetFilterBinContent(var _BinContent: Record "Bin Content")
begin
end;
Example
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Lookup", 'OnLookupOnLocateItem_OnSetFilterBinContent', '', true, true)]
procedure MyOnLookupOnLocateItem_OnSetFilterBinContent(var _BinContent: Record "Bin Content")
begin
_BinContent.SetFilter(Quantity, '>=0'); // Include fixed bins with no current inventory on hand
end;
Filter by label (Content by label) showLabels false showSpace false sort title title More examples excerptType simple cql label = "bc" and label = "lookup" and label = "locateitem" and label = "onsetfilter" and label = "example"
...