SET_REQUIRED

Resource: Property, Field : ElectricExpense

Description

ElectricExpense is required for residential income. When property type is residential income, ElectricExpense is required.

Error Messages

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

Fields referenced within this rule

ElectricExpense 

NumberOfSeparateElectricMeters 

NumberOfUnitsTotal 

PropertyType 

StandardStatus 

Syntax with comments and error messages

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

Rule Unique ID

c3f0cc82-e70a-480f-81f7-b737fc8ea4e7

Rule Number

68