Use this event to
Excerpt |
---|
Add Steps to be displayed at on the mobile device before posting (the Orderthe Order). |
Description
Header steps are executed...
- after all, lines have been registered at the mobile device, and "Post the order?" page was accepted.
- when the mobile user manually select selects "Post".
From each production order multiple items may be produced (the "Production Order Lines"). Consequently "OnAddStepsToProdOrderLine" event - despite the naming - are for the "toplevel" in an OrderList/OrderLines page, elsewhere named the "OrderList".
...
[EventSubscriber(ObjectType::Codeunit, Codeunit::"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::Codeunit, Codeunit::"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) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...