R34524 Sales Order Line - Set Level1 Discount (Recalc)

Code 34524
Entity Crm.Sales.SalesOrderLines Entity
Name SetLevel1Discount
Attribute Level1Discount
Layer Front-End
Events AttributeChanged(RequiredDeliveryDate, Quantity, SalesOrder, Product, QuantityUnit, ReturnForSalesOrderLine, PromotionalPackage, Level1Discount, 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, Level1Discount, 0)
Description The rule sets a value in "Level 1 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.