SET_REQUIRED

Resource: Property, Field : DepositPets

Description

DepositPets is required for residential lease that are active.

Error Messages

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

Fields referenced within this rule

DepositPets 

PropertyType 

StandardStatus 

Syntax with comments and error messages

//[ErrMsg1^ERROR, property type is 'residential lease' and the permission access is not of type administrator, 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 lease' and the permission access is not of type administrator and the entry is empty.
(/*[LogicBlk2]*/(PropertyType.IN.('Rlse')).AND..NOT.(.USERCLASS..IN.('BANGG','BANGP','BANGM','BANGN','BANGQ')).AND.(.ENTRY. = .EMPTY.))

Syntax only

((.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.(((LASTStandardStatus = .EMPTY.).OR.(LASTStandardStatus.IN.('I'))).AND.(StandardStatus.IN.('A')))).AND.((PropertyType.IN.('Rlse')).AND..NOT.(.USERCLASS..IN.('BANGG','BANGP','BANGM','BANGN','BANGQ')).AND.(.ENTRY. = .EMPTY.))

Rule Unique ID

017f95b0-8d15-4dae-8464-5f45270aedf0

Rule Number

60