R28757 ContactMechanism - Administrative Region Has Value Only For Addresses
| Code | R28757 |
| Entity | General.Contacts.ContactMechanisms Entity |
| Name | AdministrativeRegionHasValueOnlyForAddresses |
| Attribute | AdministrativeRegion |
| Layer | Back-End |
| Events | Commit |
| Priority | Normal |
| Modify | NO |
| Action | Validate that:
If (AdministrativeRegion != null) ContactMechanismType == Address |
| Description | The Administrative Region attribute would be meaningful only if the current Contact Mechanism is of type Address. It would not make sense for phones, faxes and etc. |
| Message | Administrative Region attribute has value but the contact mechanism type is
"{ContactMechanismType}".
Administrative Region may have value only when the type of the contact mechanism is Address. Please, clear the Administrative Region attribute or change the contact mechanism type to Address. |
| Introduced In Version | 2018.2 |
| Revocable | YES |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.