SET_REQUIRED

Resource: Property, Field : InsuranceExpense

Description

When property type is residential income, InsuranceExpense is required.

Error Messages

1) ERROR, the property type is 'residential income', indicate that the field is required.

Fields referenced within this rule

InsuranceExpense 

PropertyType 

StandardStatus 

Syntax with comments and error messages

//[ErrMsg1^ERROR, the property type is 'residential income', 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 entry is empty.
(/*[LogicBlk2]*/(PropertyType.IN.('Rinc')).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.(.ENTRY. = .EMPTY.))

Rule Unique ID

aa90bb38-c4fc-4f04-8fea-a25c97ef1f5d

Rule Number

92