R30316-9 Invoice Order Line - Set Line Discount (Recalc)

Code 30316-9
Entity Crm.Invoicing.InvoiceOrderLines Entity
Name SetLineDiscount
Attribute LineDiscount
Layer Front-End
Events AttributeChanged(Quantity, InvoiceOrder, Product, SalesOrder, DeliveryDate, DocumentDate, Customer, EnterpriseCompany, EnterpriseCompanyLocation)
Priority Early
Modify YES
Applicable Legislations ALL // no condition needed
Action DetermineLineDiscount(Convert((InvoiceOrder.DeliveryDate ?? InvoiceOrder.DocumentDate), Nullable`1), InvoiceOrder.Customer, Product, Quantity, InvoiceOrder.EnterpriseCompany, InvoiceOrder.EnterpriseCompanyLocation, IIF((SalesOrder == null), null, SalesOrder. DistributionChannel), IIF((SalesOrder == null), null, SalesOrder.PriceList))
Description
Message
Version
Revocable YES

* This is auto generated code. Don't change it.