Resource: Property, Field : ProbateAuthority
Description
When Special Listing Conditions is set to 'probate listing', ProbateAuthority is required.
Error Messages
1) ERROR, 'Special Listing Conditions' is of type 'probate', indicate that the field is required.
Fields referenced within this rule
ProbateAuthority
SpecialListingConditions
StandardStatus
Syntax with comments and error messages
//[ErrMsg1^ERROR, 'Special Listing Conditions' is of type 'probate', indicate that the field is required.|LogicBlk1^TRUE|LogicBlk2^TRUE|LogicBlk3^TRUE]
// Grandfather rule... line below and...
(/*[LogicBlk1]*/(.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.((LASTStandardStatus = .EMPTY..OR.LASTStandardStatus.IN.('I')).AND.(StandardStatus.IN.('A')))).AND.
// administrator bypass and...
(/*[LogicBlk2]*/.NOT.(.USERCLASS..IN.('BANGG','BANGP','BANGM','BANGN','BANGQ'))).AND.
// 'Special Listing Conditions' field value must be of type 'Probate Listing'.
(/*[LogicBlk3]*/(SpecialListingConditions != .EMPTY.).AND.(COUNT(INTERSECTION(ARRAY(SpecialListingConditions),SET('PBL'))) = 1).AND.(.ENTRY. = .EMPTY.))
Syntax only
((.ENTRY. != .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.((LASTStandardStatus = .EMPTY..OR.LASTStandardStatus.IN.('I')).AND.(StandardStatus.IN.('A')))).AND.(.NOT.(.USERCLASS..IN.('BANGG','BANGP','BANGM','BANGN','BANGQ'))).AND.((SpecialListingConditions != .EMPTY.).AND.(COUNT(INTERSECTION(ARRAY(SpecialListingConditions),SET('PBL'))) = 1).AND.(.ENTRY. = .EMPTY.))
Rule Unique ID
4735acb5-e7ec-481e-97ca-302442ced6fb
Rule Number
175