Block 2: Codeunit 6181381 TF Mobile WMS Reference Data
'CountLineExtraInfo':
BEGIN
MobConfTools.RC_Std_Parms(1, // ID
'CountLine', // Name
'Count Line', // Header
'Extra info:', // Label
'Extra info'); // Help Label
MobConfTools.RC_Decimal_CData(XMLCDataSection,0,0,0,3,TRUE);
END;
Step 2 - Include the step in the Count functionality
The function CreateOrderLinesResponse is responsible for the reply to the device, including which values to collect.
We will add the following code block have it include our CountLineExtraInfo. Add you own conditions to when the step should be included, in example, certain items.
Mobile WMS currently supports only one RegisterExtraInfo key per Order Line.
This single key must include all extra steps to be displayed. This can be done by adding steps to the existing RegistrationCollectorConfigurationKey ('CountLineExtraInfo' in the example above) or ny creating a new RegistrationCollectorConfigurationKey with its own unique name that includes all steps.
Step 3 - Handle the Posting
The XML Request from the scanner, will look like this.
Note the "ExtraInfo" tag with out "CountLine" tag included, along with the value.
Add the following code block to handle the collected value, stored in a tag called "CountLine" as per above naming.
Codeunit 6181376 TF Mobile WMS Count
IF XMLExtraInfoElementNode.Name = 'CountLine' THEN;