SET_REQUIRED

Resource: Property, Field : License2

Description

License2 is required for manufactured in park where BodyType is set to either 'Double' or 'Triple'.

Error Messages

1) ERROR, the property type is 'manufactured in park' and permission access is not of type administrator and body type is 'double' or 'triple', indicate that the field is required.

Fields referenced within this rule

BodyType 

License2 

PropertyType 

StandardStatus 

Syntax with comments and error messages

//[ErrMsg1^ERROR, the property type is 'manufactured in park' and permission access is not of type administrator and body type is 'double' or 'triple', 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 'manufactured in park' and permission access is not of type administrator and body type is 'double' or 'triple' and the entry is empty.
(/*[LogicBlk2]*/(PropertyType.IN.('Manu')).AND..NOT.(.USERCLASS..IN.('BANGG','BANGP','BANGM','BANGN','BANGQ')).AND.(COUNT(INTERSECTION(ARRAY(BodyType),SET('DOUBLE','TRIPLE'))) = 1).AND.(.ENTRY. = .EMPTY.))

Syntax only

((.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.(((LASTStandardStatus = .EMPTY.).OR.(LASTStandardStatus.IN.('I'))).AND.(StandardStatus.IN.('A')))).AND.((PropertyType.IN.('Manu')).AND..NOT.(.USERCLASS..IN.('BANGG','BANGP','BANGM','BANGN','BANGQ')).AND.(COUNT(INTERSECTION(ARRAY(BodyType),SET('DOUBLE','TRIPLE'))) = 1).AND.(.ENTRY. = .EMPTY.))

Rule Unique ID

cf1fd1c5-1924-467a-b6f2-0b51c2c241b9

Rule Number

108