Versions Compared

Key

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

Use this event to

...

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Lookup", 'OnLookupOnPostShipment_OnAddSteps''', false, false)]
    local procedure OnLookupOnPostShipment_OnAddSteps(_WarehouseShipmentHeader: Record "Warehouse Shipment Header"; var _Steps: Record "MOB Steps Element")
    begin
    end;

Example

    // [Example] New date step to query for posting date (not an end-to-end example)
    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Lookup", 'OnLookupOnPostShipment_OnAddSteps''', false, false)]
    local procedure MyOnLookupOnPostShipment_OnAddSteps(_WarehouseShipmentHeader: Record "Warehouse Shipment Header"; var _Steps: Record "MOB Steps Element")
    begin
        _Steps.Create_DateStep(10000'MyPostingDate');
        _Steps.Set_header('Posting Date');
        _Steps.Set_defaultValue(Today());
    end;


Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
titleMore examples
excerptTypesimple
cqllabel = "bc" and label = "lookup" and label = "onpostshipment" and label = "oninclude" and label = "example"

...

Version History

Version

Changes

MOB5.2129Introduced