Versions Compared

Key

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

...

This is an example of how to add Serial Number Validation to "Unplanned Move"

Step 1: 

Please follow Online validation to enable online validation.

...

Create the following (non-local) function "RC_SetOnlineValidationName" in codeunit "MOB WMS Conf. Tools"

Code Block
RC_SetOnlineValidationName(_Name : Text)
OnlineValidationName := _Name;

...

Code Block
IF OnlineValidationName <> '' THEN BEGIN
  MobXMLMgt.AddElement(XMLAddElement,'onlineValidation','',XMLSteps.NamespaceURI,XMLAddElement);
  MobXMLMgt.AddAttribute(XMLAddElement,'documentName',OnlineValidationName);
  MobXMLMgt.AddAttribute(XMLAddElement,'online','true');
  MobXMLMgt.AddAttribute(XMLAddElement,'includeCollectedValues','true'); 
END;


Step 3

In Codeunit 6181380 "MOB WMS Adhoc Registr."

...

Add the "WMS" Mobile Group to this new Document type.




You should noew now be able to use online validation.

...