OnGetPhysInvtRecordingLines_OnAfterSetFromPhysInvtRecordLine

Use this event to

Populate values in Order Lines displayed on the mobile device.

Template

    [EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Phys Invt Recording", 'OnGetPhysInvtRecordingLines_OnAfterSetFromPhysInvtRecordLine', '', true, true)]
    local procedure OnGetPhysInvtRecordingLines_OnAfterSetFromPhysInvtRecordLine(_PhysInvtRecordLine: Record "Phys. Invt. Record Line"; var _BaseOrderLineElement: Record "MOB Ns BaseDataModel Element")
    begin
    end;


Example

    [EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Phys Invt Recording", 'OnGetPhysInvtRecordingLines_OnAfterSetFromPhysInvtRecordLine', '', true, true)]
    local procedure MyOnGetPhysInvtRecordingLines_OnAfterSetFromPhysInvtRecordLine(_PhysInvtRecordLine: Record "Phys. Invt. Record Line"; var _BaseOrderLineElement: Record "MOB Ns BaseDataModel Element")
    begin
        _BaseOrderLineElement.Set_DisplayLine1('Set from OnGetPhysInvtRecordingLines_OnAfterSetFromPhysInvtRecordLine');
        _BaseOrderLineElement.SetValue('MyOnGetPhysInvtRecordingLinesOnAfterSetFromPhysInvtRecordLine', 'OnGetPhysInvtRecordingLines_OnAfterSetFromPhysInvtRecordLine Custom Tag for Item Number ' + _BaseOrderLineElement.Get_ItemNumber());
    end;


More examples


Version History

VersionChanges
MOB5.19Introduced