SET_REQUIRED

Resource: Property, Field : Assessments

Description

When Property Type is Residential, Assessments is required.

Error Messages

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

Fields referenced within this rule

Assessments 

PropertyType 

StandardStatus 

Syntax with comments and error messages

//[ErrMsg1^ERROR, the property type is 'residential' and the access permissions are not of type administrator, indicate that the field is required.|LogicBlk1^TRUE|LogicBlk2^TRUE]
// Grandfather clause - Entry or old entry value is not empty or the last standand status was empty or has transitioned from 'incomplete' to 'active' and...
(/*[LogicBlk1]*/(.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.(((LASTStandardStatus = .EMPTY.).OR.(LASTStandardStatus.IN.('I'))).AND.(StandardStatus.IN.('A')))).AND.
// the property type is 'residential' and the access permissions are not of type administrator and the entry is empty.
(/*[LogicBlk2]*/(PropertyType.IN.('Resi')).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.('Resi')).AND..NOT.(.USERCLASS..IN.('BANGG','BANGP','BANGM','BANGN','BANGQ')).AND.(.ENTRY. = .EMPTY.))

Rule Unique ID

acf7e861-8447-4018-a370-bcab517d810a

Rule Number

3