Resource: Property, Field : AssociationName
Description
When AssociationYN is set to YES, AssociationName is required.
Error Messages
1) ERROR, the property type is 'residential' and that there is an association, indicate that the field is required.
Fields referenced within this rule
AssociationName
AssociationYN
PropertyType
StandardStatus
Syntax with comments and error messages
//[ErrMsg1^ERROR, the property type is 'residential' and that there is an association, indicate that the field is required.|LogicBlk1^TRUE|LogicBlk2^TRUE]
// Grandfather clause - Entry or old entry value is not empty or the last standand status was empty or has transitioned from 'incomplete' to 'active' and...
(/*[LogicBlk1]*/(.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.((LASTStandardStatus = .EMPTY..OR.LASTStandardStatus.IN.('I')).AND.(StandardStatus.IN.('A')))).AND.
// the property type is 'residential' and that there is an association and the entry is empty.
(/*[LogicBlk2]*/(PropertyType.IN.('Resi')).AND.(AssociationYN = .TRUE.).AND.(.ENTRY. = .EMPTY.))
Syntax only
((.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.((LASTStandardStatus = .EMPTY..OR.LASTStandardStatus.IN.('I')).AND.(StandardStatus.IN.('A')))).AND.((PropertyType.IN.('Resi')).AND.(AssociationYN = .TRUE.).AND.(.ENTRY. = .EMPTY.))
Rule Unique ID
bfb2cb0d-93ce-4a3f-a0c8-2baaa1b03e4e
Rule Number
8