Tax.getCompany Method [AX 2012]

Gets the company which has the tax obligation.

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 SelectableDataArea getCompany()

  Microsoft Dynamics AX 2012 R2 (SYS)
          protected SelectableDataArea getCompany()

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          protected SelectableDataArea getCompany()

  Microsoft Dynamics AX 2012 (FPK)
          protected SelectableDataArea getCompany()

  Microsoft Dynamics AX 2012 (SYS)
          protected SelectableDataArea getCompany()

Run On

Server

Return Value

Type: SelectableDataArea Extended Data Type
The company which has the tax obligation.

Remarks

If the current source document does not support intercompany transactions then the return value will always be the current logged in company.

See Also

Reference

Tax Class