...
Besides the capability to validate whether or not an entered value is accepted by the backend, several online validators also support returning additional information, and changing behaviourbehavior.
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.
ValueInteractionPermission can have three states.
- AllowEdit - Allows the user to edit the value in the quantity step. User still sees quantity step
- ApplyDirectly - Hides the quantity step altogether
- VerifyOnly - "Disables" the quantity step, allowing the user to see, but not . User still sees quantity step, but cannot edit it
Code Block | ||||
---|---|---|---|---|
| ||||
<?xml version="1.0" encoding="UTF-8"?> <response xmlns="http://schemas.microsoft.com/Dynamics/Mobile/2007/04/Documents/Response" messageid="EA9FD6AF-78C6-47DE-82CE-3EB789FAFE64" status="Completed"> <responseData xmlns="http://schemas.taskletfactory.com/MobileWMS/BaseDataModel"> <LotNumberInformation xmlns="http://schemas.taskletfactory.com/MobileWMS/WarehouseInquiryDataModel"> <Quantity>5</Quantity> <ValueInteractionPermission>ApplyDirectly</ValueInteractionPermission> </LotNumberInformation> </responseData> </response> |
...