Requirements
- Extension version MOB5.44 (To Bin/ From Bin)
Description
The system comes with a few predefined common online validation options. The standard Online validation can be set up for Planned Functions steps without further customization, to validate:
Use case
Tells the user whether an input value is correct.
- LotNumber
- Verifies that the Lot no. exists.
- SerialNumber
- Verifies that the Serial no. exists.
- Verifies that the Serial number is being assigned only once, if not, it will return an error message with the item number that is associated with the Serial Number the user is trying to input.
- To Bin /From-Bin
- Verifies that the Bin exists on the specific Location.
How to enable it
The standard online validation only requires one step.
Step 1 - Enable Online Validation in the application.cfg
- In the mobile configuration:
- Add the "<validation>" tag in the service section according to the validation needed.
Make sure that the documentName matches exactly the Document type found in "Mobile Document Types" on Business Central.
<service id="Pick" type="Order" orderType="Pick"> <requests> <..> </requests> <validation> <lotNumberValidation online="true" documentName="ValidateLotNumber" includeCollectedValues="true"/> <serialNumberValidation online="true" documentName="GetSerialNumberInformation"/> <fromBinValidation online="true" documentName="ValidateBinCode"/> <toBinValidation online="true" documentName="ValidateBinCode"/> </validation> </service>
Step 2 - Invoke the validation
Result examples:
Error Lot Number Online Validation Error Serial Number Online validation Error Bin Code Online Validation