Resource: Property, Field : EstimatedBuyerAgentMlsId
Description
When status is pending, EstimatedBuyerAgentMlsId is required.
Error Messages
1) ERROR, property type is valid status has changed to 'pending' and required fields are not empty, indicate that the field is required.
2) ERROR, property type is valid status has changed to 'under contract' and required fields are not empty, indicate that the field is required.
Fields referenced within this rule
EstimatedBuyerAgentMlsId
EstimatedBuyerFinancing
EstimatedCloseDate
EstimatedClosePrice
PropertyType
StandardStatus
Syntax with comments and error messages
//[ErrMsg1^ERROR, property type is valid status has changed to 'pending' and required fields are not empty, indicate that the field is required.|LogicBlk1^TRUE|LogicBlk2^TRUE|LogicBlk3^TRUE]
//[ErrMsg2^ERROR, property type is valid status has changed to 'under contract' and required fields are not empty, indicate that the field is required.|LogicBlk1^TRUE|LogicBlk2^TRUE|LogicBlk4^TRUE]
// Check that not administrator bypass and...
(/*[LogicBlk1]*/.NOT.(.USERCLASS..IN.('BANGG','BANGP','BANGM','BANGN','BANGQ'))).AND.
// also for valid property type and...
(/*[LogicBlk2]*/PropertyType.IN.('Resi','Rinc','Land','Manu')).AND.
// status has changed to 'pending' and EstimatedBuyerAgentMlsId, EstimatedBuyerAgentMlsId, EstimatedBuyerFinancing, EstimatedCloseDate, and EstimatedClosePrice fields are not empty or...
(/*[LogicBlk3]*/(StandardStatus.IN.('P')).AND..NOT.((LASTStandardStatus.IN.('P')).AND.(.ENTRY. = .EMPTY.).AND.(.ENTRY. = .EMPTY.).AND.(EstimatedBuyerFinancing = .EMPTY.).AND.(EstimatedCloseDate = .EMPTY.).AND.(EstimatedClosePrice = .EMPTY.))).OR.
// status has changed to 'under contract' and EstimatedBuyerAgentMlsId, EstimatedBuyerAgentMlsId, EstimatedBuyerFinancing, EstimatedCloseDate, and EstimatedClosePrice fields are not emtry or...
(/*[LogicBlk4]*/(StandardStatus.IN.('U')).AND..NOT.((LASTStandardStatus.IN.('U')).AND.(.ENTRY. = .EMPTY.).AND.(.ENTRY. = .EMPTY.).AND.(EstimatedBuyerFinancing = .EMPTY.).AND.(EstimatedCloseDate = .EMPTY.).AND.(EstimatedClosePrice = .EMPTY.)))
Syntax only
(.NOT.(.USERCLASS..IN.('BANGG','BANGP','BANGM','BANGN','BANGQ'))).AND.(PropertyType.IN.('Resi','Rinc','Land','Manu')).AND.((StandardStatus.IN.('P')).AND..NOT.((LASTStandardStatus.IN.('P')).AND.(.ENTRY. = .EMPTY.).AND.(.ENTRY. = .EMPTY.).AND.(EstimatedBuyerFinancing = .EMPTY.).AND.(EstimatedCloseDate = .EMPTY.).AND.(EstimatedClosePrice = .EMPTY.))).OR.((StandardStatus.IN.('U')).AND..NOT.((LASTStandardStatus.IN.('U')).AND.(.ENTRY. = .EMPTY.).AND.(.ENTRY. = .EMPTY.).AND.(EstimatedBuyerFinancing = .EMPTY.).AND.(EstimatedCloseDate = .EMPTY.).AND.(EstimatedClosePrice = .EMPTY.)))
Rule Unique ID
50a0cd49-3130-488f-96f9-63e90d6269ee
Rule Number
70