Resource: Office, Field : MainOfficeMlsId
Description
MainOfficeMlsId is required.
Error Messages
1) ERROR, the main office must have a valid office key.
Fields referenced within this rule
Syntax with comments and error messages
// TODO - This rule does not work because OfficeKeyNumeric is a non-nullable long.
//[ErrMsg1^ERROR, the main 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 main office key must not be empty
(/*[LogicBlk2]*/ROSTER("MO","OfficeKeyNumeric") != .EMPTY.),
// Else the entry is empty or has not changed, so accept.
.TRUE.)
Syntax only
IIF(((.ENTRY. != .EMPTY.).AND.(.ENTRY. != .OLDVALUE.)),(ROSTER("MO","OfficeKeyNumeric") != .EMPTY.),.TRUE.)
Rule Unique ID
84c6549c-cc32-49ae-b6ba-a6d6dcf2d7a7
Rule Number
1