Resource: Office, Field : SyndicateTo
Description
A warning will appear when syndicate agent option field is empty.
Error Messages
1) WARNING, 'Syndicate Agent Option' field should not be empty.
2) WARNING, update action is 'Update/Change' but the 'Syndicate Agent Option' field has not changed.
3) WARNING, update action is 'Insert/Add' but the 'Syndicate Agent Option' field is not 'AASA'.
Fields referenced within this rule
Syntax with comments and error messages
// TODO - WARNING message 1 cannot occur as SyndicateAgentOption is non-nullable enum.
//[ErrMsg1^WARNING, 'Syndicate Agent Option' field should not be empty.|LogicBlk1^TRUE]
//[ErrMsg2^WARNING, update action is 'Update/Change' but the 'Syndicate Agent Option' field has not changed.|LogicBlk2^TRUE]
//[ErrMsg3^WARNING, update action is 'Insert/Add' but the 'Syndicate Agent Option' field is not 'AASA'.|LogicBlk3^TRUE](/*[LogicBlk1]*/SyndicateAgentOption = .EMPTY.).OR.(/*[LogicBlk2]*/(LASTSyndicateAgentOption = SyndicateAgentOption).AND.(.UPDATEACTION..IN.('Change'))).OR.(/*[LogicBlk3]*/.NOT.((.UPDATEACTION..IN.('Add')).AND.(SyndicateAgentOption.IN.('AASA'))))
Syntax only
(SyndicateAgentOption = .EMPTY.).OR.((LASTSyndicateAgentOption = SyndicateAgentOption).AND.(.UPDATEACTION..IN.('Change'))).OR.(.NOT.((.UPDATEACTION..IN.('Add')).AND.(SyndicateAgentOption.IN.('AASA'))))
Rule Unique ID
76eb17a9-ffc6-4da1-ab1e-61e52afab0eb
Rule Number
14