SalesCopying.calcLineDiscFromEndDisc Method [AX 2012]
Calculates order line discount per item based on the end discount on the original invoice.
Syntax
protected SalesLineDisc calcLineDiscFromEndDisc(CustInvoiceTrans _custInvoiceTrans)
Run On
Server
Parameters
- _custInvoiceTrans
Type: CustInvoiceTrans Table
The original invoice line.
Return Value
Type: SalesLineDisc Extended Data Type
Always returns 0.
Remarks
This method is intended for use on credit order lines only.