Resource: Property, Field : AssociationAmenities_1
Description
When AssociationYN is set to YES, AssociationAmenities is required. This rule only applies to Residential.
Error Messages
1) ERROR, the Property type is 'residential' and has Association is true, indicate that the field is required.
Fields referenced within this rule
AssociationAmenities_1
AssociationYN
PropertyType
StandardStatus
Syntax with comments and error messages
//[ErrMsg1^ERROR, the Property type is 'residential' and has Association is true, 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 has Association is true 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
e36dce0a-9d38-4726-a07f-ae530894f465
Rule Number
4