Share via


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

Return Value

Type: TaxBase Extended Data Type
The tax origin for the transaction line if an origin could be determined; otherwise, ‘0’.

See Also

Reference

Tax Class