Use this event to
Excerpt |
---|
Populate values in Order Lines displayed at the mobile device (derived from "Phys. Inventory Journals"). |
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS CountMOB WMS Count", 'OnGetCountOrderLines_OnAfterSetFromItemJournalLine', '', truetrue, truetrue)]
localprocedure OnGetCountOrderLines OnGetCountOrderLines_OnAfterSetFromItemJournalLine(_ItemJnlLine: Record "Item Journal LineItem Journal Line"; var _BaseOrderLineElement: Record "MOB Ns BaseDataModel ElementMOB Ns BaseDataModel Element")
begin
end;
Example
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS CountMOB WMS Count", 'OnGetCountOrderLines_OnAfterSetFromItemJournalLine', '', truetrue, truetrue)]
localprocedure MyOnGetCountOrderLines MyOnGetCountOrderLines_OnAfterSetFromItemJournalLine(_ItemJnlLine: Record "Item Journal LineItem Journal Line"; var _BaseOrderLineElement: Record "MOB Ns BaseDataModel ElementMOB Ns BaseDataModel Element")
begin
with _BaseOrderLineElement do begin
Set _BaseOrderLineElement.Set_DisplayLine1('Set from OnCountOnAfterSetFromItemJournalLineSet from OnCountOnAfterSetFromItemJournalLine');
SetValue _BaseOrderLineElement.SetValue('MyOnCountOnAfterSetFromItemJournalLine', 'OnCountOnAfterSetFromItemJournalLine Custom Tag for Item Number ' + 'OnCountOnAfterSetFromItemJournalLine Custom Tag for Item Number ' + _BaseOrderLineElement.Get_ItemNumber());
end;
end;
Filter by label (Content by label) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...