ACCEPT

Resource: Property, Field : BuyerAgencyCompensation

Description

BuyerAgencyCompensation is required in either percentage or dollars.

Error Messages

1) ERROR,  a BuyerAgencyCompensationType of percentage must have a value between 0 and 100.
2) ERROR,  a BuyerAgencyCompensationType of dollar must have a value in whole numbers.

Fields referenced within this rule

BuyerAgencyCompensation 

BuyerAgencyCompensationType 

ListingAgreement 

StandardStatus 

Syntax with comments and error messages

//[ErrMsg1^ERROR, a BuyerAgencyCompensationType of percentage must have a value between 0 and 100.|LogicBlk1^FALSE|LogicBlk2^FALSE|LogicBlk3^FALSE|LogicBlk4^FALSE|LogicBlk5^FALSE|LogicBlk6^TRUE|LogicBlk7^FALSE]
//[ErrMsg2^ERROR, a BuyerAgencyCompensationType of dollar must have a value in whole numbers.|LogicBlk1^FALSE|LogicBlk2^FALSE|LogicBlk3^FALSE|LogicBlk4^FALSE|LogicBlk8^TRUE|LogicBlk9^FALSE|LogicBlk7^FALSE]
// Grandfather clause and...
(/*[LogicBlk1]*/(.ENTRY. = .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.(((LASTStandardStatus = .EMPTY.).OR.(LASTStandardStatus.IN.('I'))).AND.((StandardStatus.IN.('A'))))).AND.
// entry is empty or 'Listing Agreement' is open or 'Buyer Agency Compensation Type' is see remarks or...
(/*[LogicBlk2]*/.ENTRY. = .EMPTY.).OR.(/*[LogicBlk3]*/ListingAgreement.IN.('OP')).OR.(/*[LogicBlk4]*/BuyerAgencyCompensationType.IN.('REM')).OR.
// entry is between 0 and 100 and 'Buyer Agency Compensation Type' is a percentage or...
((/*[LogicBlk5]*/(.ENTRY. > 0).AND.(.ENTRY. < 100)).AND.(/*[LogicBlk6]*/BuyerAgencyCompensationType.IN.('PER'))).OR.
// 'Buyer Agency Compensation Type' and entry are empty or...
(/*[LogicBlk7]*/(BuyerAgencyCompensationType = .EMPTY.).AND.(.ENTRY. = .EMPTY.)).OR.
// 'Buyer Agency Compensation Type' is in dollars and entry is a whole number.
((/*[LogicBlk8]*/BuyerAgencyCompensationType.IN.('DOL')).AND.(/*[LogicBlk9]*/(.ENTRY..MOD.1.00) = 0.00))

Syntax only

((.ENTRY. = .EMPTY.).OR.(.OLDVALUE. != .EMPTY.).OR.(((LASTStandardStatus = .EMPTY.).OR.(LASTStandardStatus.IN.('I'))).AND.((StandardStatus.IN.('A'))))).AND.(.ENTRY. = .EMPTY.).OR.(ListingAgreement.IN.('OP')).OR.(BuyerAgencyCompensationType.IN.('REM')).OR.(((.ENTRY. > 0).AND.(.ENTRY. < 100)).AND.(BuyerAgencyCompensationType.IN.('PER'))).OR.((BuyerAgencyCompensationType = .EMPTY.).AND.(.ENTRY. = .EMPTY.)).OR.((BuyerAgencyCompensationType.IN.('DOL')).AND.((.ENTRY..MOD.1.00) = 0.00))

Rule Unique ID

e12661ce-04d5-4ff9-a667-423d575defcb

Rule Number

26