Versions Compared

Key

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

...

Note

Online Validation limits the Offline capabilities of the system.

  

How to enable

...

using Android Image Modified


Supported validations

Code Block
languagexml
<validation>
  <lotNumberValidation online="true" documentName="ValidateLotNumber"/>
  <serialNumberValidation online="true" documentName="ValidateSerialNumber"/>
  <fromBinValidation online="true" documentName="ValidateFromBin"/>
  <toBinValidation online="true" documentName="ValidateToBin"/>
  <toteValidation online="true" documentName="ValidateTote"/>
</validation>

 

 

Example: Lot number validation

...

Step 1: Modify the application.cfg 

 Add Add the "<validation>" tag.

Code Block
languagexml
 </service>
    <service id="Pick" type="Order" orderType="Pick">

      <validation>
        <lotNumberValidation online="true"/>
      </validation>

      <requests>
        ..
      </requests>
    </service>

 

 

Serial number validation

Todo

Quantity validation

Todo

 

...

Step 2: Add Mobile Document Type

Make sure a document type exists and points to a Processing Codeunit.

Image Added

How to enable using  Windows Image Modified

Supported validations

Code Block
languagexml
<validation>
  <lotNumber enabled="true" requestDocumentName="ValidateLotNumber"/>
  <serialNumber enabled="true" requestDocumentName="ValidateSerialNumber"/>
  <quantity enabled="true" requestDocumentName="ValidateQuantity"/>
  <toBin enabled="true" requestDocumentName="ValidateToBin"/>
  <fromBin enabled="true" requestDocumentName="ValidateFromBin"/>
  <tote enabled="true" requestDocumentName="ValidateTote"/>
</validation>


Lot number validation

The code snippet below shows how to enable online lot number validation.

 

...

Step 1: Modify the app.config file

 

Code Block
languagexml
<configuration xmlns="http://schemas.taskletfactory.com/MDMF/MobileWMS/Services/2009/01/ServiceConfiguration.xsd">
  <ServiceType>Pick</ServiceType>
  ...

  <validation>
    <lotNumber enabled="true" requestDocumentName="ValidateLotNumber"/>
  </validation>
</configuration>

...

 

 

Code Block
languagexml
 <configuration xmlns="http://schemas.taskletfactory.com/MDMF/MobileWMS/Services/2009/01/ServiceConfiguration.xsd">
   <ServiceType>Pick</ServiceType>
   ...
   <validation>
     <lotNumber>
       <!--
       It is possible to override the name of the document the application will call in the ERP system.
       By ommision it will default to the value 'ValidateLotNumber'.
       -->
      <online enabled="true" requestDocumentName="ValidateLotNumberExtended"/>
    </lotNumber>
  </validation>
</configuration>

 

Serial number validation

Validation scope

It is possible to tweak how restrictive the application is when it comes to validating serial numbers.

...

 

 

Code Block
 <configuration xmlns="http://schemas.taskletfactory.com/MDMF/MobileWMS/Services/2009/01/ServiceConfiguration.xsd">
 <ServiceType>Pick</ServiceType>
   ...
   <validation>
     <!--
     ITEM: The same serial number can only be registered once per item, but multiple times across items.
     LINE: A serial number can only be registered once per order line, but multiple times per order.
     ORDER (default by ommission): A serial number can only be registered once per order.
     -->
    <serialNumber mode="ORDER" />
  </validation>
</configuration>

 

Online validation

...

 

 

Code Block
 <configuration xmlns="http://schemas.taskletfactory.com/MDMF/MobileWMS/Services/2009/01/ServiceConfiguration.xsd">
 <ServiceType>Pick</ServiceType>
   ...
  <validation>
    <serialNumber>
      <!-- By default online validation is disabled, thus 'enabled="false"' -->
      <online enabled="true"/>
    </serialNumber>
 </validation>
</configuration>

 

Changing the request document name

Overriding the Document Name of the Request

 

 

Code Block
<configuration xmlns="http://schemas.taskletfactory.com/MDMF/MobileWMS/Services/2009/01/ServiceConfiguration.xsd">
 <ServiceType>Pick</ServiceType>
 ...
  <validation>
    <serialNumber>
      <!--
      It is possible to override the name of the document the application will call in the ERP system.
      By default it will assume the value 'GetSerialNumberInformation'.
       -->
      <online enabled="true" requestDocumentName="GetSerialNumberInformationExtended"/>
    </serialNumber>
  </validation>
</configuration>

 

Quantity validation

 

Code Block
<configuration xmlns="http://schemas.taskletfactory.com/MDMF/MobileWMS/Services/2009/01/ServiceConfiguration.xsd">
  <ServiceType>Pick</ServiceType>
  ...
  <validation>
           <quantity enabled="true" requestDocumentName="ValidateQuantity"/>
  </validation>
</configuration>
 

Step 2: Add Mobile Document Type

Make sure a document type exists and points to a Processing Codeunit.

Image Added