Share via


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

  • _useDisplaySign
    Type: boolean
    A Boolean value that indicates whether the tax amount will have the correct sign for displaying on the user interface.

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

TaxUncommitted Table