ACCEPT

Resource: Property, Field : TaxesPercent

Description

TaxesPercent must be a valid amount.

Error Messages

1) ERROR, 'taxes percent' field must be greater than or equal to 0 and less than or equal to 99.99.
2) ERROR, 'taxes percent' field is invalid for the selected property type.

Fields referenced within this rule

PropertyType 

TaxesPercent 

Syntax with comments and error messages

//[ErrMsg1^ERROR, 'taxes percent' field must be greater than or equal to 0 and less than or equal to 99.99.|LogicBlk1^TRUE|LogicBlk2^FALSE]
//[ErrMsg2^ERROR, 'taxes percent' field is invalid for the selected property type.|LogicBlk1^TRUE|LogicBlk3^FALSE]
// If entry is not empty and has changed...
IIF((/*[LogicBlk1]*/(.ENTRY. != .EMPTY.).AND.(.ENTRY. != .OLDVALUE.)),
// Then check that entry is between 0 and 99.99 inclusive and...
(/*[LogicBlk2]*/(.ENTRY. >= 0).AND.(.ENTRY. <= 99.99)).AND.
// the property type is 'residential income'.
(/*[LogicBlk3]*/PropertyType.IN.('Rinc')),
// Else accept if entry is empty
.ENTRY. = .EMPTY.) /  / ((.ENTRY. = .EMPTY.).OR.((.ENTRY. >= 0).AND.(.ENTRY. <= 99.99)).AND.(PropertyType.IN.('Rinc'))).OR..NOT.(PropertyType.IN.('Rinc'))

Syntax only

IIF(((.ENTRY. != .EMPTY.).AND.(.ENTRY. != .OLDVALUE.)),((.ENTRY. >= 0).AND.(.ENTRY. <= 99.99)).AND.(PropertyType.IN.('Rinc')),.ENTRY. = .EMPTY.) /  / ((.ENTRY. = .EMPTY.).OR.((.ENTRY. >= 0).AND.(.ENTRY. <= 99.99)).AND.(PropertyType.IN.('Rinc'))).OR..NOT.(PropertyType.IN.('Rinc'))

Rule Unique ID

fa768b3d-deef-415b-a1de-8fb5e46ccab6

Rule Number

202