R30383-14 Invoice Line - Set Line Discount (Recalc)

Code 30383-14
Entity Crm.Invoicing.InvoiceLines Entity
Name SetLineDiscount
Attribute LineDiscount
Layer Front-End
Events AttributeChanged(Quantity, Invoice, Product, SalesOrder, DeliveryDate, DocumentDate, Customer, EnterpriseCompany, EnterpriseCompanyLocation)
Priority Early
Modify YES
Applicable Legislations ALL // no condition needed
Action DetermineLineDiscount(Convert((Invoice.DeliveryDate ?? Invoice.DocumentDate), Nullable`1), Invoice.Customer, Product, Quantity, Invoice.EnterpriseCompany, Invoice. 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.