SET_REQUIRED

Resource: Property, Field : WaterSewerExpense

Description

WaterSewerExpense is required for residential income where the separate water meters do not equal to the number of units total.

Error Messages

1) ERROR, the property type is 'residential income' and number of separate water meters is not equal to the number of units total, indicate that the field is required.

Fields referenced within this rule

NumberOfSeparateWaterMeters 

NumberOfUnitsTotal 

PropertyType 

StandardStatus 

WaterSewerExpense 

Syntax with comments and error messages

//[ErrMsg1^ERROR, the property type is 'residential income' and number of separate water 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 or...
(/*[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 number of separate water meters is not equal to the number of units total and the entry is empty.
(/*[LogicBlk2]*/(PropertyType.IN.('Rinc')).AND..NOT.(NumberOfSeparateWaterMeters = 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..NOT.(NumberOfSeparateWaterMeters = NumberOfUnitsTotal).AND.(.ENTRY. = .EMPTY.))

Rule Unique ID

f34dbc1b-26db-48d3-a94d-56882d05b86c

Rule Number

214