SET_REQUIRED

Resource: Property, Field : SubdivisionNameOther

Description

When SubdivisionName is set to 'other', SubdivisionNameOther is required.

Error Messages

1) ERROR, the subdivision type is 'Other (OTHR)', indicate that the field is required.

Fields referenced within this rule

StandardStatus 

SubdivisionName 

SubdivisionNameOther 

Syntax with comments and error messages

//[ErrMsg1^ERROR, the subdivision type is 'Other (OTHR)', 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 subdivision type is 'Other (OTHR)' and the entry is empty.
(/*[LogicBlk2]*/(SubdivisionName.IN.('Other (OTHR)')).AND.(.ENTRY. = .EMPTY.))

Syntax only

((.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.((LASTStandardStatus = .EMPTY..OR.LASTStandardStatus.IN.('I')).AND.(StandardStatus.IN.('A')))).AND.((SubdivisionName.IN.('Other (OTHR)')).AND.(.ENTRY. = .EMPTY.))

Rule Unique ID

86d3d3e2-588b-43a3-8d4a-759db2f283b7

Rule Number

200