Resource: Property, Field : BuildingAreaTotal
Description
BuildingAreaTotal is required for commercial, commercial lease and residential income unless commercial and commercial lease has a property subtype of land.
Error Messages
1) ERROR, the property type is 'commercial sale', 'Commercial lease', or 'residential income' and not 'commercial sale' or 'Commercial lease' and property subtype is 'land' and the permission access is not of type administrator , indicate that the field is required.
Fields referenced within this rule
BuildingAreaTotal
PropertySubType
PropertyType
StandardStatus
Syntax with comments and error messages
//[ErrMsg1^ERROR, the property type is 'commercial sale', 'Commercial lease', or 'residential income' and not 'commercial sale' or 'Commercial lease' and property subtype is 'land' and the permission access is not of type administrator , 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.(StandardStatus.IN.('A').AND.((LASTStandardStatus = .EMPTY.).OR.(LASTStandardStatus.IN.('I'))))).AND.
// The property type is 'commercial sale', 'Commercial lease', or 'residential income' and not 'commercial sale' or 'Commercial lease' and property subtype is 'land' and...
(/*[LogicBlk2]*/(PropertyType.IN.('Comm','Clse','Rinc')).AND.(.NOT.(PropertyType.IN.('Comm','Clse')).AND.(PropertySubType.IN.('LND'))).AND.
// permission access is not of type administrator.
(.NOT.(.USERCLASS..IN.('BANGG','BANGP','BANGM','BANGN','BANGQ'))).AND.(.ENTRY. = .EMPTY.))
Syntax only
((.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.(StandardStatus.IN.('A').AND.((LASTStandardStatus = .EMPTY.).OR.(LASTStandardStatus.IN.('I'))))).AND.((PropertyType.IN.('Comm','Clse','Rinc')).AND.(.NOT.(PropertyType.IN.('Comm','Clse')).AND.(PropertySubType.IN.('LND'))).AND.(.NOT.(.USERCLASS..IN.('BANGG','BANGP','BANGM','BANGN','BANGQ'))).AND.(.ENTRY. = .EMPTY.))
Rule Unique ID
95c360af-7c7d-45b9-bbfd-01a6bc21fd15
Rule Number
22