SET_REQUIRED

Resource: Property, Field : LockBoxVersion

Description

When LockBoxType is set to SI, LockBoxVersion is required.

Error Messages

1) ERROR, the  lock box type is SI????, indicate that the field is required.

Fields referenced within this rule

LockBoxType 

LockBoxVersion 

StandardStatus 

Syntax with comments and error messages

//[ErrMsg1^ERROR, the lock box type is SI????, 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 lock box type is SI???? and the entry is empty.
(/*[LogicBlk2]*/(COUNT(DIFFERENCE(ARRAY(LockBoxType),SET('SI'))) = 0).AND.(.ENTRY. = .EMPTY.))

Syntax only

((.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.(((LASTStandardStatus = .EMPTY.).OR.(LASTStandardStatus.IN.('I'))).AND.(StandardStatus.IN.('A')))).AND.((COUNT(DIFFERENCE(ARRAY(LockBoxType),SET('SI'))) = 0).AND.(.ENTRY. = .EMPTY.))

Rule Unique ID

7f289535-8bf7-4154-9493-a6e1e50d6544

Rule Number

128