SET_REQUIRED

Resource: Property, Field : TrashExpense

Description

When property type is residential income, TrashExpense is required.

Error Messages

1) ERROR, the  property type is 'residential income' and the permission access is not of type administrator and the transfer fee is not zero, indicate that the field is required.

Fields referenced within this rule

PropertyType 

StandardStatus 

TrashExpense 

Syntax with comments and error messages

//[ErrMsg1^ERROR, the property type is 'residential income' and the permission access is not of type administrator and the transfer fee is not zero, 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 the permission access is not of type administrator and the transfer fee is not zero 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

c218b018-a205-44f4-a3e0-13ef328f0a5c

Rule Number

209