SalesInvoiceDPBase.goodsDiscount Method [AX 2012]

Gets the goods discount information related to the sales invoice line.

Syntax

protected boolean goodsDiscount(CustInvoiceTrans _custInvoiceTrans)

Run On

Server

Parameters

  • _custInvoiceTrans
    Type: CustInvoiceTrans Table
    A CustInvoiceTrans record that has the invoice line information.

Return Value

Type: boolean
true if there is a goods discount; otherwise, false.

Remarks

This method will only be used for Italy feature. If country context is Italy and the line amount does not include taxes, then there should not be discount percentage or amount.

See Also

Reference

SalesInvoiceDPBase Class