Versions Compared

Key

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

...

...

...

...

...

...

...

...

Use this event to

Filter Warehouse Entries to be displayed on the mobile device. 

Description

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

Template

    [EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS History", 'OnLookupOnHistory_OnSetFilterWarehouseEntry', '', true, true)]
    localprocedure OnLookupOnHistory_OnSetFilterWarehouseEntry(var _RequestValues: Record"MOB NS Request Element"; var _WhseEntry: Record"Warehouse Entry")
    begin
    end;

Example:

    // [Example 01] Include only entries that were created by the current user.
    [EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS History", 'OnLookupOnHistory_OnSetFilterWarehouseEntry', '', true, true)]
    localprocedure MyOnLookupOnHistory_OnSetFilterWarehouseEntry(var _RequestValues: Record"MOB NS Request Element"; var _WhseEntry: Record"Warehouse Entry")
    var
        MobSessionData: Codeunit"MOB SessionData";
    begin
        _WhseEntry.SetRange("User ID", MobSessionData.GetMobileUserID());
    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