ACCEPT

Resource: Property, Field : EstimatedBuyerAgentMlsId

Description

EstimatedBuyerAgentMlsId must be a valid ESA member.

Error Messages

1) ERROR, the property type is invalid.
2) ERROR,the ESA member is not valid.

Fields referenced within this rule

EstimatedBuyerAgentMlsId 

PropertyType 

Syntax with comments and error messages

//[ErrMsg1^ERROR, the property type is invalid.|LogicBlk1^TRUE|LogicBlk2^FALSE]
//[ErrMsg2^ERROR,the ESA member is not valid.|LogicBlk1^TRUE|LogicBlk3^FALSE]
// If entry is not empty or has changed...
IIF((/*[LogicBlk1]*/(.ENTRY. != .EMPTY.).AND.(.ENTRY. != .OLDVALUE.)),
// then check whether the property type is valid and a valid ESA member...
(/*[LogicBlk2]*/PropertyType.IN.('Resi','Comm','Clse','Busop')).AND.(/*[LogicBlk3]*/IIF(.NOT.(ROSTER("ESA","MemberKeyNumeric") = .EMPTY.),ROSTER("ESA","MemberStatus").IN.('A'),.FALSE.)),
// Else ACCEPT only if entry is empty.
.TRUE.)

Syntax only

IIF(((.ENTRY. != .EMPTY.).AND.(.ENTRY. != .OLDVALUE.)),(PropertyType.IN.('Resi','Comm','Clse','Busop')).AND.(IIF(.NOT.(ROSTER("ESA","MemberKeyNumeric") = .EMPTY.),ROSTER("ESA","MemberStatus").IN.('A'),.FALSE.)),.TRUE.)

Rule Unique ID

b063c5c6-1da7-4291-872e-7ca917b72757

Rule Number

71