Use this event to
Excerpt |
---|
Add Steps to be displayed at the mobile device before posting (the Order). |
Description
Steps Header steps are executed...
- After after all lines have been registered at the mobile device, and "Post the order?" page was accepted.
- When when the mobile user manually select "Post" at the receive order
New steps and existing standard steps is ordered by "id"
A standard step "Delivery Note" may exist at warehouse receipts and purchase orders (unless Mobile WMS Setup."Skip collection of delivery note on receive" is set).
- Standard Step "DeliveryNote" is id=10
- Adding new steps with id less than 10 will display before DeliveryNote Adding new steps with id greater than 10 will display after DeliveryNote"
How header steps are sorted
Template
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Pick", 'OnGetPickOrderLines_OnAddStepsToAnyHeader', '', true, true)]
procedure OnGetPickOrderLines_OnAddStepsToAnyHeader(_RecRef: RecordRef; var _StepsElement: Record "MOB Steps Element")
begin
end;
Example
// [Example]: Add a new text collector step on header
[EventSubscriber(ObjectType::Codeunit, Codeunit::"MOB WMS Pick", 'OnGetPickOrderLines_OnAddStepsToAnyHeader', '', true, true)]
procedure MyOnGetPickOrderLines_OnAddStepsToAnyHeader(_RecRef: RecordRef; var _StepsElement: Record "MOB Steps Element")
begin
with _StepsElement do
Create_InformationStep(
10000, // Id
'MyInformationStep', // name
'New Information', // header
'', // label
'Always do an ImageCapture upon pick if no image is currently displayed at mobile device.'); // helpLabel
end;
Filter by label (Content by label) | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...