TaxUncommitted::getOriginForSourceLine Method
Determines the origin for the transaction line.
Syntax
Note
The syntax of this method varies based on the version of Microsoft Dynamics AX that you are using.
Microsoft Dynamics AX 2012 R3
client server public static TaxBase getOriginForSourceLine(
RefTableId _sourceTableId,
RefRecId _sourceRecId,
[boolean _useDisplaySign,
AmountCur _lineAmount])
Microsoft Dynamics AX 2012 R2 (SYS)
client server public static TaxBase getOriginForSourceLine(
RefTableId _sourceTableId,
RefRecId _sourceRecId,
[boolean _useDisplaySign,
AmountCur _lineAmount])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
client server public static TaxBase getOriginForSourceLine(
RefTableId _sourceTableId,
RefRecId _sourceRecId,
[boolean _useDisplaySign])
Microsoft Dynamics AX 2012 (FPK)
client server public static TaxBase getOriginForSourceLine(
RefTableId _sourceTableId,
RefRecId _sourceRecId,
[boolean _useDisplaySign])
Microsoft Dynamics AX 2012 (SYS)
client server public static TaxBase getOriginForSourceLine(
RefTableId _sourceTableId,
RefRecId _sourceRecId,
[boolean _useDisplaySign])
Run On
Called
Parameters
- _sourceTableId
Type: RefTableId Extended Data Type
The table ID of the transaction line.
- _sourceRecId
Type: RefRecId Extended Data Type
The record ID of the transaction line.
- _useDisplaySign
Type: boolean
A Boolean value that indicates whether the tax amount will have the correct sign for displaying on the user interface.
- _lineAmount
Type: AmountCur Extended Data Type
Return Value
Type: TaxBase Extended Data Type
The tax origin for the transaction line if an origin could be determined; otherwise 0.