R28330 SalesOrder - Bonus Program Enterprise Company
Code | R28330 |
Entity | Crm.Sales.SalesOrders Entity |
Name | BonusProgramEnterpriseCompany |
Attribute | EnterpriseCompany |
Layer | Back-End |
Events | Planning + |
Modify | NO |
Action | Validate that: if SalesOrder.EnterpriseCompany has value than for all lines SalesOrderLine.BonusProgram.EnterpriseCompany == SalesOrder.EnterpriseCompany or SalesOrderLine.BonusProgram.EnterpriseCompany is null |
Description | If in the current Sales Order the field Enterprise Company has value than in the implemented Bonus program the field Enterprise Company must be the same as Enterprise Company of the Sales Order or must be empty. |
Message | "The Enterprise Company of the implemented Bonus Programs must be the same as Enterprise Company in document '{DocumentType}{DocumentNo}' or must be empty. |
Introduced In Version | 2018 |
Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.