Resource: Property, Field : MainLevelBathrooms
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
MainLevelBathrooms
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
1af3272f-fa5d-4387-993f-cd7596e7db80
Rule Number
136