SalesCopying.calcLineDiscFromEndDisc Method [AX 2012]

Calculates order line discount per item based on the end discount on the original invoice.

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.

This method is intended for use on credit order lines only.

Show: