Tax.getOriginForSourceLine Method [AX 2012]
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
public TaxBase getOriginForSourceLine(
RefTableId _tableId,
RefRecId _recId,
[boolean _useDisplaySign,
AmountCur _lineAmount])
Microsoft Dynamics AX 2012 R2 (SYS)
public TaxBase getOriginForSourceLine(
RefTableId _tableId,
RefRecId _recId,
[boolean _useDisplaySign,
AmountCur _lineAmount])
Microsoft Dynamics AX 2012 Feature Pack (SYS)
public TaxBase getOriginForSourceLine(
RefTableId _tableId,
RefRecId _recId,
[boolean _useDisplaySign])
Microsoft Dynamics AX 2012 (FPK)
public TaxBase getOriginForSourceLine(
RefTableId _tableId,
RefRecId _recId,
[boolean _useDisplaySign])
Microsoft Dynamics AX 2012 (SYS)
public TaxBase getOriginForSourceLine(
RefTableId _tableId,
RefRecId _recId,
[boolean _useDisplaySign])
Run On
Server
Parameters
- _tableId
Type: RefTableId Extended Data Type
The table ID of the transaction line.
- _recId
Type: RefRecId Extended Data Type
The record ID of the transaction line.
- _useDisplaySign
Type: boolean
- _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’.