Resource: Property, Field : FuelExpense
Description
When NumberOfSeperateGasMeters is the same as NumberOfUnitsTotal, FuelExpense is required for residential income.
Error Messages
1) ERROR, the property type is 'residential income' and the number of separate gas meters is not equal to the number of units total, indicate that the field is required.
Fields referenced within this rule
FuelExpense
NumberOfSeparateGasMeters
NumberOfUnitsTotal
PropertyType
StandardStatus
Syntax with comments and error messages
//[ErrMsg1^ERROR, the property type is 'residential income' and the number of separate gas meters is not equal to the number of units total, 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 property type is 'residential income' and the number of separate gas meters is not equal to the number of units total and the entry is empty.
(/*[LogicBlk2]*/(PropertyType.IN.('Rinc')).AND.(NumberOfSeparateGasMeters != NumberOfUnitsTotal).AND.(.ENTRY. = .EMPTY.))
Syntax only
((.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.(((LASTStandardStatus = .EMPTY.).OR.(LASTStandardStatus.IN.('I'))).AND.(StandardStatus.IN.('A')))).AND.((PropertyType.IN.('Rinc')).AND.(NumberOfSeparateGasMeters != NumberOfUnitsTotal).AND.(.ENTRY. = .EMPTY.))
Rule Unique ID
e617770d-f6a5-47ae-a5c8-34b7ff6f43da
Rule Number
83