SET_REQUIRED

Resource: Property, Field : AvailabilityDate

Description

When property Type is Residential Lease, AvailibilityDate is required.

Error Messages

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

Fields referenced within this rule

AvailabilityDate 

PropertyType 

StandardStatus 

Syntax with comments and error messages

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

Syntax only

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

Rule Unique ID

5a7a94f4-dc4c-479f-b682-2a745c14f0ad

Rule Number

12