A globally defined set of values. SET (DOMAIN(COUNTRY CODES) Usage: Means the complete set of country codes. Each DOMAIN <a> = set of domain values is defined in the Standard SET(DOMAIN(<B>)). enumerations section within this document. <a> is one of the values defined in <B>. A string searches for text IF <a> ENDSWITH T/A”. “ at the end of a field ENDSWITH Means the condition is true if field <a> contains a Usage: value that ends with the text string T/A’. ‘ <a> ENDSWITH <B>. FOR ANY OCCURRENCE OF CONTEXT (RP) An instruction to process FOR ANY <test condition> each instance of a OCCURRENCE OF repeating object, one at a Means for every occurrence of context RP, apply <object> time. the <test condition>. FOR EACH ForeignCountry IN SET An instruction to process (RP.{ForeignCountry}) FOR EACH each object in a <test condition>. <object> IN SET(…) set/collection of objects, Means for each unique segment ‘ForeignCountry’ one at a time. value, apply the <test condition>. A string search for text within a field performing a variation of the SET, CONTAINS, STARTSWITH and ENDSWITH functions. Includes the following IF <a> = FOUND(“The trustee”,”The Exec”). tests: Means if <a>: exact match, equals trustee’ or Exec’ (exact ‘The ‘The with a space on match), or each side of the contains The trustee or The Exec (a ‘ ’ ‘ ’ variable, space on each side of either string), or match with a space starts with trustee or Exec (with a ‘The ’ ‘The ’ after the variable, and space after either string), or match with a space ends with The trustee’ or The Exec’ (with a ‘ ‘ before the variable. space before either string). Where multiple strings have been provided, a check for each string is performed. Usage: <A> =
DOMAIN A globally defined set of values. Usage: <a> = SET(DOMAIN(<B>)). <a> is one of the values defined in <B>. SET (DOMAIN(COUNTRY CODES) Means the complete set of country codes. Each set of domain values is defined in the Standard enumerations section within this document. ENDSWITH A string searches for text at the end of a field Usage: <a> ENDSWITH <B>. IF <a> ENDSWITH “ T/A”. Means the condition is true if field <a> contains a value that ends with the text string ‘ T/A’. FOR ANY OCCURRENCE OF <object> An instruction to process each instance of a repeating object, one at a time. FOR ANY OCCURRENCE OF CONTEXT (RP) <test condition> Means for every occurrence of context RP, apply the <test condition>. FOR EACH <object> IN SET(…) An instruction to process each object in a set/collection of objects, one at a time. FOR EACH ForeignCountry IN SET (RP.{ForeignCountry}) <test condition>. Means for each unique ‘ForeignCountry’ segment value, apply the <test condition>. A string search for text within a field performing a variation of the SET, CONTAINS, STARTSWITH and ENDSWITH functions. Includes the following tests: exact match, with a space on each side of the variable, match with a space after the variable, and match with a space before the variable. Where multiple strings have been provided, a check for each string is performed. Usage: <A> = IF <a> = FOUND(“The trustee”,”The Exec”). Means if <a>: equals ‘The trustee’ or ‘The Exec’ (exact match), or contains ‘ The trustee ’ or ‘ The Exec ’ (a space on each side of either string), or starts with ‘The trustee ’ or ‘The Exec ’ (with a space after either string), or ends with ‘ The trustee’ or ‘ The Exec’ (with a space before either string).
ATO-Validation-Rule-Expression.docx