SET_REQUIRED

Resource: Property, Field : LotSizeSource

Description

When LotSizeSquareFeet is not empty, LotSizeSource is required.

Error Messages

1) ERROR, the property type is valid and the lot size in square feet is not empty, indicate that the field is required.
2) ERROR, the entry is not empty and the permission access is not of type administrator, indicate that the field is required.

Fields referenced within this rule

LotSizeSource 

LotSizeSquareFeet 

PropertyType 

StandardStatus 

Syntax with comments and error messages

//[ErrMsg1^ERROR, the property type is valid and the lot size in square feet is not empty, indicate that the field is required.|LogicBlk1^TRUE|LogicBlk3^TRUE]
//[ErrMsg2^ERROR, the entry is not empty and the permission access is not of type administrator, indicate that the field is required.|LogicBlk1^TRUE|LogicBlk4^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 valid and the lot size in square feet is not empty or...
(/*[LogicBlk2]*/(/*[LogicBlk3]*/(PropertyType.IN.('Resi','Rinc','Rlse','Manu')).AND..NOT.(LotSizeSquareFeet = .EMPTY.).AND.(.ENTRY. = .EMPTY.)).OR.
// the entry is not empty and the permission access is not of type administrator.
(/*[LogicBlk4]*/(.ENTRY. != .EMPTY.).AND..NOT.(.USERCLASS..IN.('BANGG','BANGP','BANGM','BANGN','BANGQ'))))

Syntax only

((.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.(((LASTStandardStatus = .EMPTY.).OR.(LASTStandardStatus.IN.('I'))).AND.(StandardStatus.IN.('A')))).AND.(((PropertyType.IN.('Resi','Rinc','Rlse','Manu')).AND..NOT.(LotSizeSquareFeet = .EMPTY.).AND.(.ENTRY. = .EMPTY.)).OR.((.ENTRY. != .EMPTY.).AND..NOT.(.USERCLASS..IN.('BANGG','BANGP','BANGM','BANGN','BANGQ'))))

Rule Unique ID

7acee4e1-d031-489a-acd2-f77ce95670a3

Rule Number

134