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
CalledParameters
- _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 TypeThis method retrieves the tax even if the tax is calculated on the header.
Community Additions
ADD
Show: