Versions Compared

Key

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

Use this event to

Excerpt

Add Steps to be displayed on the mobile device before posting (the Order)

...

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Production Consumption", 'OnGetProdConsumptionLines_OnAddStepsToProdOrderLine''', true, true)]
    local procedure OnGetProdConsumptionLines_OnAddStepsToProdOrderLine(_ProdOrderLine: Record "Prod. Order Line"; var _Steps: Record "MOB Steps Element")
    begin
    end;

Example

    [EventSubscriber(ObjectType::CodeunitCodeunit::"MOB WMS Production Consumption", 'OnGetProdConsumptionLines_OnAddStepsToProdOrderLine''', true, true)]
    local procedure MyOnGetProdConsumptionLines_OnAddStepsToProdOrderLine(_ProdOrderLine: Record "Prod. Order Line"; var _Steps: Record "MOB Steps Element")
    begin
        _Steps.Create_InformationStep(
                        10000,                                                                                          // Id
            'MyInformationStep',                                                                   // name
            'New Information',                                                                       // header
            '',                                                                                                  // label
            'Time used for scanning consumption should now be registered as output RunTime.');              // helpLabel
    end;



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

...