ACCEPT

Resource: Office, Field : OfficeBrokerMlsId

Description

OfficeBrokerMlsId is required.

Error Messages

1) ERROR, the broker office must have a valid office key.

Fields referenced within this rule

OfficeBrokerMlsId 

Syntax with comments and error messages

// TODO - This rule does not work because OfficeKeyNumeric is a non-nullable long.
//[ErrMsg1^ERROR, the broker office must have a valid office key.|LogicBlk1^TRUE|LogicBlk2^FALSE]
// If the the entry is not empty and has changed...
IIF((/*[LogicBlk1]*/(.ENTRY. != .EMPTY.).AND.(.ENTRY. != .OLDVALUE.)),
// Then the broker office key must not be empty
(/*[LogicBlk2]*/ROSTER("BO","OfficeKeyNumeric") != .EMPTY.),
// Else the entry is empty or has not changed, so accept.
.TRUE.)

Syntax only

IIF(((.ENTRY. != .EMPTY.).AND.(.ENTRY. != .OLDVALUE.)),(ROSTER("BO","OfficeKeyNumeric") != .EMPTY.),.TRUE.)

Rule Unique ID

727d8eac-acb5-46b8-ac2b-d3709c7c054b

Rule Number

5