R17784 PartyContactMechanism - Unique Contact Mechanism By Type Party And Line Ord
| Code | R17784 |
| Entity | General.Contacts.PartyContactMechanisms Entity |
| Name | UniqueContactMechanismByTypePartyAndLineOrd |
| Attribute | LineOrd |
| Layer | Back-End |
| Events | Commit |
| Priority | Normal |
| Modify | NO |
| Applicable Legislations | ALL // no condition needed |
| Action | Validate that:
PartyContactMechanisms [Party = PartyContactMechanism.Party && ContactMechanism.ContactMechanismType = PartyContactMechanism.ContactMechanism.ContactMechanismType && LineOrd = PartyContactMechanism.LineOrd]. Count() >1 |
| Description | The rule prevents duplication of numbering of the party contact mechanisms with the same type. For this reason the rule validates that for a single Party there could be only one party contact mechanisms with same type and 'LineOrd'. |
| Message | There are more than one Party Contact Mechanisms with Line Order '{LineOrd}', Party '{Party.PartyName}' and Contact Mechanism Type '{ContactMechanism.ContactMechanismType}'. They should be unique. |
| Version | Introduced: 2015
Updated: - |
| Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.