CustInterestCreate.getTaxAmountFromDistribution Method [AX 2012]

Retrieves the tax amount for a given source document line ID by using accounting distributions.

private AmountCur getTaxAmountFromDistribution(SourceDocumentLineRecId _sourceDocumentLineRecId, AmountCur _lineAmount)

Run On

Called

Parameters

_sourceDocumentLineRecId
Type: SourceDocumentLineRecId Extended Data Type
The record ID of the source document line.
_lineAmount
Type: AmountCur Extended Data Type
The line amount of the current transaction.

Return Value

Type: AmountCur Extended Data Type
This method retrieves the tax even if the tax is calculated on the header.

Community Additions

ADD
Show: