Creating Format Validation for Target Nodes 
You can create the validation rules by creating the following runtime validation parameters for target nodes:
Length
Occurrence Number
Valid Value
Data Range
Customize
Note
Except for the customize type, you can create only one validation parameter for each parameter type.
At runtime, the validation rules check the relevant values retrieved from SAP Business One. You can provide a warning or error message for any error that may occur during runtime validation:
Error message: If any error occurs, the message appears and the validation process fails.
Warning message: If any error occurs, the message appears but the validation process continues.
A default error message is provided. You can modify the error message or change it to a warning message. You can use functions to compose the messages.
Select a node in the target format tree.
Select the Validation tab.
To add a validation parameter, click
, select a validation parameter type, and specify the details.
Specify the length range.
If you leave the From field empty, it means that the value in the From field is zero.
If you leave the To field empty, it means that the value in the To field is infinity.
Create an error message or a warning message, or modify the default message, if the runtime validation for length fails.
Specify a valid value.
To add to the valid value list, choose
.
To remove a value from the valid list, select the value and choose
.
Create an error message or a warning message, or modify the default message, if the runtime validation for valid values fails.
Specify the data range.
To include the exact value you specify in the Data Range field, select the Inclusive checkbox.
Create an error message or a warning message, or modify the default message, if the runtime validation for data range fails.
Specify the occurrence number for the target node.
If you leave the From field empty, it means that the value in the From field is zero. If you leave the To field empty, it means that the value in the To field is infinity.
Create an error message or a warning message, or modify the default message, if the runtime validation for occurrence number fails.
You can create multiple customizing validations.
Create a customized expression to validate the target node at runtime.
Create an error message or a warning message, or modify the default message, if the runtime customized validation fails.