erp.type | erp.entity |
---|---|
business-rule |
Crm.PromotionalPackages |
+----------------------+-----------------------------------------------------------------------------------------------+ | Code | R28415 | +----------------------+-----------------------------------------------------------------------------------------------+ | Entity | @Crm.PromotionalPackages | +----------------------+-----------------------------------------------------------------------------------------------+ | Name | EnterpriseCompany | +----------------------+-----------------------------------------------------------------------------------------------+ | Attribute | EnterpriseCompany | +----------------------+-----------------------------------------------------------------------------------------------+ | Layer | Back-End | +----------------------+-----------------------------------------------------------------------------------------------+ | Events | Commit | +----------------------+-----------------------------------------------------------------------------------------------+ | Modify | NO | +----------------------+-----------------------------------------------------------------------------------------------+ | Action | Validate that: | | | if PromotionalPackage.CompanyLocation != null than PromotionalPackage.EnterpriseCompany != | | | null | | | and | | | PromotionalPackage.CompanyLocation.Company == PromotionalPackage.EnterpriseCompany.Company | +----------------------+-----------------------------------------------------------------------------------------------+ | Description | If in the Promotional Package the field Enterprise Company Location has value than the field | | | Enterprise Company must also has value. | | | As the selected Enterprise Company Location must be an Company Location of the selected | | | Enterprise Company. | +----------------------+-----------------------------------------------------------------------------------------------+ | Message | "When the field Enterprise Company Location has value than the field Enterprise Company must | | | also has value and the selected Enterprise Company Location must be Company Location of the | | | Enterprise Company." | +----------------------+-----------------------------------------------------------------------------------------------+ | Introduced In | 2018 | | Version | | +----------------------+-----------------------------------------------------------------------------------------------+ | Revocable | NO | +----------------------+-----------------------------------------------------------------------------------------------+
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.