Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Use this event to

Excerpt

Filter Bin Content to be displayed at the mobile device.

...

For locations with no Bin Content consider using the xxx OnLookupOnLocateItem_OnIncludeItem-event.

If you wish to implement same conditions for locations with- and without BinContent you must subscribe to this event but also to OnLookupOnLocateItem_OnIncludeItem-event.

Template

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Lookup", 'OnLookupOnLocateItem_OnSetFilterBinContent''', true, true)]
    procedure OnLookupOnLocateItem_OnSetFilterBinContent(var _BinContent: Record "Bin Content")
    begin
    end;


Example

    [EventSubscriber(ObjectType::CodeunitCodeunit::"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)
showLabelsfalse
showSpacefalse
sorttitle
titleMore examples
excerptTypesimple
cqllabel = "bc" and label = "lookup" and label = "locateitem" and label = "onsetfilter" and label = "example"

...