Mapping Criteria
- What is a mapping criterion?
- How do I open the mapping criteria?
- What are the options for specific fields?
- What are the logic gates?
- What are the value classes?
- What are the validation types?
Tip
Summary: Mapping Criteria define whether an action should be executed or not. They can be stored for Mapping Lines, Mapping Filters, Mapping Fields, Mapping Codeunits, and Mapping Variables. A Criterion consists of a left and a right part, which are separated by the Validation Type field. The Logic Gate, Value Class, and Validation Type fields can be used to create complex criteria validation.
Mapping Criteria define whether an appropriate action should be executed or not. They can be stored for Mapping Lines, Mapping Filters, Mapping Fields, Mapping Codeunits, and Mapping Variables. Several conditions are linked with a logical and.
Technically, a criterion is tested by first converting the XML value to text and then executing the correspondent operator (Validation Type). A test can only be done for values that can be converted into text.
To open the mapping criteria
- Choose Criteria in the Lines FastTab of the Mapping Version Card to access the Criteria page.
- On the Criteria page, fill in the fields as necessary. Hover over a field to read a short description.
A Criterion consists of a left and a right part, which are separated by the Validation Type field.
Options for specific fields
Logic Gate
- Value – Compares the left criteria configuration according to the validation type. This is the default.
- AND – Normally, all mapping criteria lines (with indent = 0) are compared by this connection. If one criterion is wrong, the whole criteria-checking is FALSE.
- OR – To make a selected set of criteria to operate with this connection, create a mapping criterion with Logic Gate = OR and then indent the lines to be checked below the gate with one.
- XOR – To make a selected set of criteria to operate with this connection, create a mapping criterion with Logic Gate = XOR and then indent the lines to be checked below the gate with one.
It is possible to indent logic gates AND, OR, and XOR to connect them with the superior logic gate for more complex criteria validation.
Value Class
- Constant – A fixed value. The use of Mapping Variables is possible.
- Repository – A value of a Repository. The use of Mapping Variables is not possible.
- Formula – A calculated formula. The use of Mapping Variables is possible.
- Partner – A field value of a Partner. Only relevant if the Mapping is processed by a Partner Mapping.
For more information, see Value Classes and Field Values.
Validation Type
- = (Equal)
- <> (Not Equal)
- Contains
- Not Contains
- Ends With
- Starts With
- Is Null Or Empty
- Not Empty
- > (Is Greater)
- >= (Is Greater Equal)
- < (Is Lower)
- <= (Is Lower Equal)
Feedback
Submit feedback for this page .