Versions Compared

Key

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

...

The request and response will look the same as the specific validation types.

Response for Type and Quantity

The generic online validator does have an extra feature when it comes to the Collector Step TypeAndQuantity step , which allows the backend to return a new display name for the scanned value.
So instead of e.g. displaying a serial number, the item number or a human-readable name can be displayed on the control.
Notice that the display value (TypeDisplay) needs to contain all the information.

Code Block
languagexml
titleXML Example
<?xml version="1.0" encoding="UTF-8"?>
<response xmlns="http://schemas.microsoft.com/Dynamics/Mobile/2007/04/Documents/Response" messageid="28AEF07E-2629-46F4-B935-AB6207DC3FFC" status="Completed">
  <responseData xmlns="http://schemas.taskletfactory.com/MobileWMS/BaseDataModel">
    <TypeKey>TF-002</TypeKey>
    <TypeDisplay>TF-002 - Intense Orange</TypeDisplay>
  </responseData>
</response>

Extended online validation functionality

...

The response should look as follows, where step updates is the wrapper element containing any specific step update.

Code Block
languagexml
<?xml version="1.0" encoding="UTF-8"?>
<response xmlns="http://schemas.microsoft.com/Dynamics/Mobile/2007/04/Documents/Response" messageid="836DEC5F-097E-4300-8CC0-7FE4CB2B76A5" status="Completed">
  <responseData xmlns="http://schemas.taskletfactory.com/MobileWMS/BaseDataModel">
    <stepUpdates xmlns="http://schemas.taskletfactory.com/MobileWMS/WarehouseInquiryDataModel">
      <step name="CustomStep" value="CustomStepValue" />
      <step name="Quantity" value="2.5"  interactionPermission="AllowEdit" /> // interactionPermission is only supported for the specific Quantity step/name.
    </stepUpdates>
  </responseData>
</response>

Response for Type and Quantity

The generic online validator does have an extra feature when it comes to the Collector Step TypeAndQuantity step , which allows the backend to return a new display name for the scanned value.
So instead of e.g. displaying a serial number, the item number or a human-readable name can be displayed on the control.
Notice that the display value (TypeDisplay) needs to contain all the information.

Code Block
languagexml
titleXML Example
<?xml version="1.0" encoding="UTF-8"?>
<response xmlns="http://schemas.microsoft.com/Dynamics/Mobile/2007/04/Documents/Response" messageid="28AEF07E-2629-46F4-B935-AB6207DC3FFC" status="Completed">
  <responseData xmlns="http://schemas.taskletfactory.com/MobileWMS/BaseDataModel">
    <TypeKey>TF-002</TypeKey>
    <TypeDisplay>TF-002 - Intense Orange</TypeDisplay>
  </responseData>
</response>

Returning a quantity

When utilizing lot or serial number validation, a quantity can be returned, which will be used as the quantity going forward.
Whether or not the user is allowed to edit the quantity can be set by the <ValueInteractionPermission> element.

...

Step 2: Handle validation in backend

See SeeĀ How-to: Online Validation for Planned Line step



Filter by label (Content by label)
showLabelsfalse
showSpacefalse
titleSee also
excludeCurrenttrue
cqllabel = "onlinevalidation"

...