Defines a monetary field pattern where a true response is given when a value passes all conditions. As in: <a> <> MONETARY(U,11,0). MONETARY(<a>,<b>,<c>) Means <a> is not equal to a number in the range 0 Where: to 99999999999, or includes a character other <a> = S or U to indicate if than 0 to 9. field can be signed or not. <b> = Maximum number of <a> <> MONETARY(S,11,0). digits (including decimal Means <a> is not equal to a number in the range places). to 99999999999, or includes a MONETARY() <c> = Maximum number of character other than 0 to 9, or or as the first ‘+’ ‘–‘ decimal places. (left-most) character. For <a> an S indicates a <a> <> MONETARY(U,13,2). field can be prefixed with a or sign, but may be Means <a> is not equal to a number in the range ‘+’ ‘-‘ omitted. 0.00 and 99999999999.99, or includes a character other than 0 to 9 or a decimal point. (Decimal point Where <a> is U, the field may be omitted). must not be prefixed with a sign. The of <b> does not include a decimal point or sign in the total character limit. Reverses the value of an NOT element i.e. turns TRUE to FALSE and vice versa. Fact is not there, or has IF <a> = NULL. been specified to be null NULL Means if a (non-textual) value for <a> is blank or if with xsi:nil indicator or is a <a> does not exist. null non-textual value. Fact is not is null with xsi:nil = true or is a null IF <a> = NULLORBLANK. string. NULLORBLANK Means if a (textual) value for <a> is blank or if <a> (Applied to Text, Code, does not exist. Description, and Identifier facts).
MONETARY() Defines a monetary field pattern where a true response is given when a value passes all conditions. As in: MONETARY(<a>,<b>,<c>) Where: <a> = S or U to indicate if field can be signed or not. <b> = Maximum number of digits (including decimal places). <c> = Maximum number of decimal places. For <a> an S indicates a field can be prefixed with a ‘+’ or ‘-‘ sign, but may be omitted. Where <a> is U, the field must not be prefixed with a sign. The of <b> does not include a decimal point or sign in the total character limit. <a> <> MONETARY(U,11,0). Means <a> is not equal to a number in the range 0 to 99999999999, or includes a character other than 0 to 9. <a> <> MONETARY(S,11,0). Means <a> is not equal to a number in the range to 99999999999, or includes a character other than 0 to 9, or ‘+’ or ‘–‘ as the first (left-most) character. <a> <> MONETARY(U,13,2). Means <a> is not equal to a number in the range 0.00 and 99999999999.99, or includes a character other than 0 to 9 or a decimal point. (Decimal point may be omitted). NOT Reverses the value of an element i.e. turns TRUE to FALSE and vice versa. NULL Fact is not there, or has been specified to be null with xsi:nil indicator or is a null non-textual value. IF <a> = NULL. Means if a (non-textual) value for <a> is blank or if <a> does not exist. NULLORBLANK Fact is not is null with xsi:nil = true or is a null string. (Applied to Text, Code, Description, and Identifier facts). IF <a> = NULLORBLANK. Means if a (textual) value for <a> is blank or if <a> does not exist.
ATO-Validation-Rule-Expression.docx