R34176 Sales Order Line - Set Level2 Discount (Recalc)
Code | 34176 |
Entity | Crm.Sales.SalesOrderLines Entity |
Name | SetLevel2Discount |
Attribute | Level2Discount |
Layer | Front-End |
Events | AttributeChanged(RequiredDeliveryDate, Quantity, SalesOrder, Product, QuantityUnit, ReturnForSalesOrderLine, PromotionalPackage, Level2Discount, EnterpriseCompany, EnterpriseCompanyLocation, Customer, ShipToCustomer, DistributionChannel, PriceList) |
Priority | Early |
Modify | YES |
Applicable Legislations | ALL // no condition needed |
Action | DetermineLineDiscount(SalesOrder.EnterpriseCompany, SalesOrder.EnterpriseCompanyLocation, RequiredDeliveryDate, SalesOrder.Customer, SalesOrder.ShipToCustomer, SalesOrder. DistributionChannel, SalesOrder.PriceList, Product, Quantity, QuantityUnit, ReturnForSalesOrderLine, null, PromotionalPackage, Level2Discount, 1) |
Description | The rule sets a value in "Level 2 Discount" field by calling the DetermineLineDiscount method. The rule is triggered, when some of the values of the fields on which the discount determination depends, are changed (e.g. Customer, Price List, Quantity, etc.) Version = Introduced: 2023 |
Message | |
Version | |
Revocable | YES |
* This is auto generated code. Don't change it.