SalesCopying.handleEndDisc Method [AX 2012]
Try to allocate the total invoice amount to the sales line discount.
Syntax
protected void handleEndDisc(SalesLine _salesLine, CustInvoiceTrans _fromCustInvoiceTrans)
Run On
Server
Parameters
- _salesLine
Type: SalesLine Table
The sales line which will be created.
- _fromCustInvoiceTrans
Type: CustInvoiceTrans Table
The original invoice line.
Remarks
This method is intended for use on credit order lines only.