Resource: Property, Field : MainLevelBedrooms
Description
Error Messages
1) ERROR, the levels can only contain one, two, or three or more stories and the property type is 'residential' or 'residential lease' and the property sub-type is not 'boat-slip' or 'deeded parking', indicate that the field is required.
Fields referenced within this rule
Levels
MainLevelBedrooms
PropertySubType
PropertyType
StandardStatus
Syntax with comments and error messages
//[ErrMsg1^ERROR, the levels can only contain one, two, or three or more stories and the property type is 'residential' or 'residential lease' and the property sub-type is not 'boat-slip' or 'deeded parking', indicate that the field is required.|LogicBlk1^TRUE|LogicBlk2^TRUE]
// The grandfather clause is met and...
(/*[LogicBlk1]*/(.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.(((LASTStandardStatus = .EMPTY.).OR.(LASTStandardStatus.IN.('I'))).AND.(StandardStatus.IN.('A')))).AND.
// the levels can only contain one, two, or three or more stories and the property type is 'residential' or 'residential lease' and the property sub-type is not 'boat-slip' or 'deeded parking' and the entry is empty.
(/*[LogicBlk2]*/(COUNT(INTERSECTION(ARRAY(Levels),SET('A','U','C'))) = 1).AND.(PropertyType.IN.('Resi','Rlse')).AND..NOT.(PropertySubType.IN.('BSLP','DDPK')).AND.(.ENTRY. = .EMPTY.))
Syntax only
((.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.(((LASTStandardStatus = .EMPTY.).OR.(LASTStandardStatus.IN.('I'))).AND.(StandardStatus.IN.('A')))).AND.((COUNT(INTERSECTION(ARRAY(Levels),SET('A','U','C'))) = 1).AND.(PropertyType.IN.('Resi','Rlse')).AND..NOT.(PropertySubType.IN.('BSLP','DDPK')).AND.(.ENTRY. = .EMPTY.))
Rule Unique ID
a45df8ea-99dc-49c8-a94f-47acb9742934
Rule Number
137