Versions Compared

Key

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

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Use this event to

Excerpt

Populate values in Orders Recordings displayed at on the mobile device (derived from "Phys. Inventory Journals").


Template

        [EventSubscriber(ObjectType::Codeunit,  Codeunit::"MOB WMS CountMOB WMS Phys Invt Recording",  'OnGetCountOrdersOnGetPhysInvtRecordings_OnAfterSetFromItemJournalBatchOnAfterSetFromPhysInvtRecordHeader',  '',  truetrue,  truetrue)]
        local procedure OnGetCountOrders OnGetPhysInvtRecordings_OnAfterSetFromItemJournalBatchOnAfterSetFromPhysInvtRecordHeader(_ItemJnlBatchPhysInvtRecordHeader:  Record "Item Journal Batch "Phys. Invt. Record Header";  var  _BaseOrderElement:  Record  "MOB Ns BaseDataModel ElementMOB Ns BaseDataModel Element")
        begin
        end;

Example

        [EventSubscriber(ObjectType::Codeunit,  Codeunit::"MOB WMS CountMOB WMS Phys Invt Recording",  'OnGetCountOrdersOnGetPhysInvtRecordings_OnAfterSetFromItemJournalBatchOnAfterSetFromPhysInvtRecordHeader',  '',  truetrue,  truetrue)]
        local procedure MyOnGetCountOrders MyOnGetPhysInvtRecordings_OnAfterSetFromItemJournalBatchOnAfterSetFromPhysInvtRecordHeader(_ItemJnlBatchPhysInvtRecordHeader:  Record "Item Journal Batch "Phys. Invt. Record Header";  var  _BaseOrderElement:  Record  "MOB Ns BaseDataModel ElementMOB Ns BaseDataModel Element")
        begin
                _BaseOrderElement.Set_DisplayLine1('Set from OnCountOnAfterSetFromItemJournalBatchSet from OnGetPhysInvtRecordings_OnAfterSetFromPhysInvtRecordHeader');
                _BaseOrderElement.Set_HeaderValue1(Format(_ItemJnlBatch."Template Type"));
    _PhysInvtRecordHeader.FieldCaption("Person Responsible") + ': ' + _PhysInvtRecordHeader."Person Responsible");
    end;

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


Version History

VersionChanges
MOB5.0019Introduced