R28919 SalesOrder - Promotional Package Products And Quantities Are Up To Date
Code | R28919 |
Entity | Crm.Sales.SalesOrders Entity |
Name | PromotionalPackageProductsAndQuantitiesAreUpToDate |
Attribute | - |
Layer | Back-End |
Events | Releasing + |
Priority | Normal |
Modify | NO |
Action | Validate that:
For each SalesOrderPromotionalPackage.PromotionalPackage.PromotionalPackageLine: SalesOrderPromotionalPackage.PromotionalPackage.PromotionalPackageLine.Quantity * SalesOrderPromotionalPackage.NumberOfPackges == SalesOrderLines[SalesOrder; Product == SalesOrderPromotionalPackage.PromotionalPackage.PromotionalPackageLine.Product].QuantityBase |
Description | The current validation prevents the user to sell promotional package which definition is
changed while he operates with the SalesOrder. For example - the user adds 2 packages of
promotional package X to the sales order. The promotional package X has the following lines:
|
Message | "In Sales Order '{DocumentText}' {SalesOrderPromotionalPackage.NumberOfPackages} packages
are sold from '{PromotionalPackage.Name}' promotional package, but the lines of the sales
order do not contain the products and their quantities from the promotional package
definition.
The promotional package is probably changed. Please, add the promotional package again so the latest information of it is added to the sales order." Sort Messages By Attribute:** SalesOrderPromotionalPackage.PromotionalPackage** |
Introduced In Version | 2018.2 |
Revocable | NO |
* For more information about the Business Rules Documentation Template and a short explanation of each column, see topic System Business Rules.