Versions Compared

Key

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

Use this event to

Excerpt

Add Steps to be displayed at the mobile device before posting (the Orderthe Order).

Description

Header steps are executed...

...

    [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 = "production" and label = "example" and label = "onaddsteps"

...