Resource: Property, Field : EstimatedCoBuyerAgentMlsId
Description
When EstimatedCoBuyerAgent is not empty, EstimatedCoBuyerAgentMlsId is required.
Error Messages
1) ERROR, ECOSA must be a valid member.
Fields referenced within this rule
Syntax with comments and error messages
//[ErrMsg1^ERROR, ECOSA must be a valid member.|LogicBlk1^TRUE|LogicBlk2^FALSE]
// If entry is not empty or has changed...
IIF((/*[LogicBlk1]*/(.ENTRY. != .EMPTY.).AND.(.ENTRY. != .OLDVALUE.)),
// Then, if ECOSA is not empty then accept if ECOSA member status is 'Active', else reject...
(/*[LogicBlk2]*/IIF(.NOT.(ROSTER("ECOSA","MemberKeyNumeric") = .EMPTY.),ROSTER("ECOSA","MemberStatus").IN.('A'),.FALSE.)),
// Else accept the value.
.TRUE.)
Syntax only
IIF(((.ENTRY. != .EMPTY.).AND.(.ENTRY. != .OLDVALUE.)),(IIF(.NOT.(ROSTER("ECOSA","MemberKeyNumeric") = .EMPTY.),ROSTER("ECOSA","MemberStatus").IN.('A'),.FALSE.)),.TRUE.)
Rule Unique ID
a421c57b-111f-4a73-a9b7-4a56e2193a32
Rule Number
76