Resource: Property, Field : BuildingAreaTotal
Description
BuildingAreaTotal must contain a valid number for property types residential income, business opportunity and land.
Error Messages
1) ERROR, not a valid property type, must be residential income, land, or business opportunity.
2) ERROR, total building area must be greater than 99 and less than 900,001.
Fields referenced within this rule
BuildingAreaTotal
PropertyType
Syntax with comments and error messages
//[ErrMsg1^ERROR, not a valid property type, must be residential income, land, or business opportunity.|LogicBlk1^TRUE|LogicBlk2^FALSE]
//[ErrMsg2^ERROR, total building area must be greater than 99 and less than 900,001.|LogicBlk1^TRUE|LogicBlk3^FALSE]
// If the entry is not empty...
IIF((/*[LogicBlk1]*/.ENTRY. != .EMPTY.),
// Then check that the property type is 'residential income', 'land', or 'business opportunity' and...
(/*[LogicBlk2]*/PropertyType.IN.('Rinc','Land','Busop')).AND.
// the entry is between 99 and 900,001.
(/*[LogicBlk3]*/(.ENTRY. > FLOAT(99)).AND.(.ENTRY. < FLOAT(900001))),
// Else accept the empty entry.
.TRUE.)
Syntax only
IIF((.ENTRY. != .EMPTY.),(PropertyType.IN.('Rinc','Land','Busop')).AND.((.ENTRY. > FLOAT(99)).AND.(.ENTRY. < FLOAT(900001))),.TRUE.)
Rule Unique ID
45e00df8-0cac-49e7-8014-525cc35892ed
Rule Number
23