SET_REQUIRED

Resource: Property, Field : WaterSource

Description

WaterSource is required, except for business opportunity and when property sub-type is not deeded parking.

Error Messages

1) ERROR, the property type is 'business opportunity' and the permission access is not of type administrator and property sub-type is not 'deeded parking', indicate that the field is required.

Fields referenced within this rule

PropertySubType 

PropertyType 

StandardStatus 

WaterSource 

Syntax with comments and error messages

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

Syntax only

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

Rule Unique ID

3731c6e5-9d95-45db-ba24-2c866697316f

Rule Number

215