Versions Compared

Key

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

Use this event to

Excerpt

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

...

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


Example

    // [Example]: Modify the DisplayLine1 to show the if the entry was registered on the mobile device.

   [EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS History", 'OnLookupOnHistory_OnAfterSetFromItemLedgerEntry', '', true, true)]
    localprocedure MyOnLookupOnHistory_OnAfterSetFromItemLedgerEntry(var _LookupResponseElement: Record"MOB NS WhseInquery Element"; _ItemLedgerEntry: Record"Item Ledger Entry")
    begin
        _LookupResponseElement.Set_DisplayLine1(Format(_ItemLedgerEntry.MOBRegisteredOnMobile));
    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.
45
46Introduced