You can use relational conditions to connect fields together
for syntax or compliance reasons. For example, Field A is invalid
unless Field B is present. Therefore, if you set up a condition that
pairs Fields A and B, the system generates a compliance error if one
of those fields is not present. You can also view the conditional
relationships between elements, as provided by the standard.
Important: The system enables you to edit EDI
conditional relationships, but if you do, you generates a compliance
error. We recommend that you view EDI conditions only.
Use
this procedure to define, modify, and view field and element relational
conditions.
- Double-click the field or element you want to modify.
The system displays the Field (or Element) Properties
dialog box.
- Select the Conditions tab.
The system displays the relational condition options.
- Select the field connection condition from the type of
relationship list:
- Paired/Multiple - if any of the specified
fields/elements are present then all fields/elements must be present
- Required - at least one of the specified
fields/elements must be present
- Exclusion - no more than one of the specified
fields/elements may be present
- Conditional - if the first Condition field/element
is present, the rest of the fields/elements must also be present
- List Conditional - if the first Condition
field/element is present, at least one of the specified fields/elements
must also be present
- Select the first field from the condition field list.
Notes:
- This is the field/element on which the conditional relationship
hinges if you chose Conditional or List Conditional from the type
of relationship list.
- The condition field list is only active if you chose either Conditional
or List Conditional from the type of relationship list.
- From the Available fields list, select the field(s)/element(s)
and click Add.
The system
moves the fields to the Fields used in relationship list, to include
the fields as a part of the conditional relationship.
Notes:
- The Available fields list contains all the fields in the translation
object that are valid to be used in a condition at this point.
- The Fields used in relationship list contains the fields that
you selected to be a part of the conditional relationship.
- To remove the fields from the conditional relationship, select
a field or fields from the Fields used in relationship list and click Remove to
move the fields back to the Available fields list.
- Click OK to add the conditional
relationship to the field.