Skip to content

Latest commit

 

History

History
44 lines (42 loc) · 4.46 KB

R28415.md

File metadata and controls

44 lines (42 loc) · 4.46 KB
erp.type erp.entity
business-rule
Crm.PromotionalPackages

R28415 PromotionalPackage - Enterprise Company

+----------------------+-----------------------------------------------------------------------------------------------+ | 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.