Versions Compared

Key

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


Info
titleRequirements
  • Extension version MOB5.44 (To Bin/ From Bin)

Description

Excerpt

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:

  • Lot

...

  • Number 
  • Serial Number
  • To Bin

...

  • / From Bin

Use case

Tells the user whether an input value is correct.

  • For Lot Number, it verifies LotNumber (ValidateLotNumber)
    • Verifies that the Lot no. exists.

  • For Serial Number, it verifies SerialNumber (SerialNumberInformation)
    • 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.

  • For Bin code, it verifies To Bin /From-Bin (ValidateBinCode)
    • Verifies that the Bin exists
    in
    • 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  exactly the Document type found in "Mobile Document Types" on Business Central.

      Code Block
      languagexml
       <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>


Step 2 - Invoke the validation

See Online Validation

Result examples:



                 Image Added        Image Added       

...

Image Added

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

...

                                              

...


Filter by label (Content by label)
showLabelsfalse
showSpacefalse
sorttitle
reversetrue
excerptTypetitlesimpleSee Also
cqllabel = "onlinevalidation" and label = "bc"