Resource: Property, Field : DOH3
Description
When property type is manufactured in park, DOH3 is required.
Error Messages
1) ERROR, the property type is 'manufactured in park' and the permission access is not of type administrator and the body type is 'triple', indicate that the field is required.
Fields referenced within this rule
BodyType
DOH3
PropertyType
StandardStatus
Syntax with comments and error messages
//[ErrMsg1^ERROR, the property type is 'manufactured in park' and the permission access is not of type administrator and the body type is '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 the permission access is not of type administrator and the body type is 'triple' and the entry is empty.
(/*[LogicBlk2]*/(PropertyType.IN.('Manu')).AND..NOT.(.USERCLASS..IN.('BANGG','BANGP','BANGM','BANGN','BANGQ')).AND.(COUNT(DIFFERENCE(ARRAY(BodyType),SET('TRIPLE'))) = 0).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(DIFFERENCE(ARRAY(BodyType),SET('TRIPLE'))) = 0).AND.(.ENTRY. = .EMPTY.))
Rule Unique ID
fa6f562f-c38d-48c5-8dce-e5ac4b63f84a
Rule Number
66