Skip to content

Latest commit

 

History

History
48 lines (46 loc) · 4.97 KB

R28757.md

File metadata and controls

48 lines (46 loc) · 4.97 KB

erp.type: business-rule erp.entity: General.Contacts.ContactMechanisms

R28757 ContactMechanism - Administrative Region Has Value Only For Addresses

+----------------------+-----------------------------------------------------------------------------------------------+ | Code | R28757 | +----------------------+-----------------------------------------------------------------------------------------------+ | Entity | @General.Contacts.ContactMechanisms | +----------------------+-----------------------------------------------------------------------------------------------+ | 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 | 2018.2 | | Version | | +----------------------+-----------------------------------------------------------------------------------------------+ | Revocable | YES | +----------------------+-----------------------------------------------------------------------------------------------+

* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.