Share via


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

Return Value

Type: SalesLineDisc Extended Data Type
Always returns 0.

Remarks

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

See Also

Reference

SalesCopying Class