Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

Description

The standard Online validation can be setup for (planned) steps without further customization, to validate:

  • Lot Number
  • Serial Number
  • Bin Code

Use case

Tells the user whether an input value is correct.

  • For Lot Number, it verifies that the Lot exists.
  • For Serial Number, it 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.
  • For Bin code, it verifies that the Bin exists in 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>
              <getOrders>GetPickOrders</getOrders>
              <getOrderLines>GetPickOrderLines</getOrderLines>
              <postOrder>PostPickOrder</postOrder>
            </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>
  • Result examples:


                                                                      

                                   Error Lot Number Online Validation            Error Serial Number Online validation          Error Bin Code Online Validation                                 

                                              

See also 


  • No labels