OnGetPhysInvtRecordings_OnAfterSetFromPhysInvtRecordHeader
Use this event to
Populate values in Recordings displayed on the mobile device.
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Phys Invt Recording", 'OnGetPhysInvtRecordings_OnAfterSetFromPhysInvtRecordHeader', '', true, true)]
local procedure OnGetPhysInvtRecordings_OnAfterSetFromPhysInvtRecordHeader(_PhysInvtRecordHeader: Record "Phys. Invt. Record Header"; var _BaseOrderElement: Record "MOB Ns BaseDataModel Element")
begin
end;
Example
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Phys Invt Recording", 'OnGetPhysInvtRecordings_OnAfterSetFromPhysInvtRecordHeader', '', true, true)]
local procedure MyOnGetPhysInvtRecordings_OnAfterSetFromPhysInvtRecordHeader(_PhysInvtRecordHeader: Record "Phys. Invt. Record Header"; var _BaseOrderElement: Record "MOB Ns BaseDataModel Element")
begin
_BaseOrderElement.Set_DisplayLine1('Set from OnGetPhysInvtRecordings_OnAfterSetFromPhysInvtRecordHeader');
_BaseOrderElement.Set_HeaderValue1(_PhysInvtRecordHeader.FieldCaption("Person Responsible") + ': ' + _PhysInvtRecordHeader."Person Responsible");
end;
More examples
-
How-to: Modify DisplayLines — Additional text displayed on a List.
-
How-to: Modify HeaderLabel and HeaderValue — Modify text in the top of Order Lines
-
How-to: Sorting of Orders — Examples of sorting Order list
Version History
Version | Changes |
---|---|
MOB5.19 | Introduced |