Versions Compared

Key

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

...

...

...

...

...

...

...

...

Use this event to

Filter item ledger entries to be displayed on the mobile device. (Location Not using Bins).

Description

This event affects entries with Location,"Bin Mandatory" = false.

Template

    [EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS History", 'OnLookupOnHistory_OnSetFilterItemLedgerEntry', '', true, true)]
    localprocedure OnLookupOnHistory_OnSetFilterItemLedgerEntry(var _RequestValues: Record"MOB NS Request Element"; var _ItemLedgerEntry: Record"Item Ledger Entry")
    begin
    end;

Example:

    // [Example 01] Include only entries that were posted today.
    [EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS History", 'OnLookupOnHistory_OnSetFilterItemLedgerEntry', '', true, true)]
    localprocedure MyOnLookupOnHistory_OnSetFilterItemLedgerEntry(var _RequestValues: Record"MOB NS Request Element"; var _ItemLedgerEntry: Record"Item Ledger Entry")
    var
        MobSessionData: Codeunit"MOB SessionData";
    begin
        _ItemLedgerEntry.SetRange(_ItemLedgerEntry."Posting Date", Today)
    end;


Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
titleMore examples
excerptTypesimple
cqllabel = "bc" and label = "onsetfilter" and label = "example"



Version History

Version

Changes

MOB5.45Introduced