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 

...

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

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

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

 

Optional :  Setting Serial Number Validation Level

Add the following <Validation> tag to a service.

Code Block
<service id="Receive" type="Order" orderType="Receive">
 <requests>
 <getOrders>GetReceiveOrders</getOrders>
 <getOrderLines>GetReceiveOrderLines</getOrderLines>
 <postOrder>PostReceiveOrder</postOrder>
 </requests><validation>
 <serialNumberValidation validationLevel="Line"/>
 </validation>/service>


  • 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): A serial number can only be registered once per order

 

Step 2: Add Mobile Document Type

...

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>

 

Setting Serial

...

Number Validation

...

Level

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

Code Block

...

language

 

...

xml
<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): A serial number can only be registered once per order.

...

  -->

...

 <serialNumber mode="ORDER" />

...

 

...

</validation>

...


 


 

Step 2: Add Mobile Document Type

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

Image Modified