Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

Use this event to

Modify response elements to be displayed on the mobile device. (Location Not using Bins)

Description

This event only affects entries with locations with "Bin Mandatory" = true.
It modifies/ adds response elements to the History Lookup function.


Template    

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


Example

    // [Example]: Modify the DisplayLine1 to show the Bin Type Code.

    [EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS History", 'OnLookupOnHistory_OnAfterSetFromWarehouseEntry', '', true, true)]
    localprocedure MyOnLookupOnHistory_OnAfterSetFromWarehouseEntry(var _LookupResponseElement: Record"MOB NS WhseInquery Element"; _WhseEntry: Record"Warehouse Entry")
    begin
        _LookupResponseElement.Set_DisplayLine1(_WhseEntry."Bin Type Code");
    end;



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

Version History

Version

Changes

MOB5.45Introduced