Resource: Property, Field : SerialXX
Description
SerialXX is required for manufactured in park wherethe body type is 'triple'.
Error Messages
1) ERROR, the property type is 'manufactured in park' and the body type is 'triple' and the permission access is not of type administrator, indicate that the field is required.
Fields referenced within this rule
BodyType
PropertyType
SerialXX
StandardStatus
Syntax with comments and error messages
//[ErrMsg1^ERROR, the property type is 'manufactured in park' and the body type is 'triple' and the permission access is not of type administrator, 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 'manufactured in park' and the body type is 'triple' and the permission access is not of type administrator and the entry is empty.
(/*[LogicBlk2]*/(PropertyType.IN.('Manu')).AND.(COUNT(INTERSECTION(ARRAY(BodyType),SET('TRIPLE'))) = 1).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.('Manu')).AND.(COUNT(INTERSECTION(ARRAY(BodyType),SET('TRIPLE'))) = 1).AND..NOT.(.USERCLASS..IN.('BANGG','BANGP','BANGM','BANGN','BANGQ')).AND.(.ENTRY. = .EMPTY.))
Rule Unique ID
f48dd623-a8d1-4765-9f33-49bd2e98f5af
Rule Number
190