Share via


AssetTable.assetOffsetLedgerDimension Method

Retrieves the ledger dimension to which to post a transaction that has a fixed assets offset account.

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 LedgerDimensionDefaultAccount assetOffsetLedgerDimension(
           [AssetPostingProfile _assetPostingProfile, 
            AssetTransType _assetTransType, 
            AssetBookId _bookId, 
            boolean _throwError, 
            AssetDocumentType_JP _assetDocumentType_JP])

  Microsoft Dynamics AX 2012 R2 (SYS)
          public LedgerDimensionDefaultAccount assetOffsetLedgerDimension(
           [AssetPostingProfile _assetPostingProfile, 
            AssetTransType _assetTransType, 
            AssetBookId _bookId, 
            boolean _throwError])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          public LedgerDimensionDefaultAccount assetOffsetLedgerDimension(
           [AssetPostingProfile _assetPostingProfile, 
            AssetTransType _assetTransType, 
            AssetBookId _bookId, 
            boolean _throwError])

  Microsoft Dynamics AX 2012 (FPK)
          public LedgerDimensionDefaultAccount assetOffsetLedgerDimension(
           [AssetPostingProfile _assetPostingProfile, 
            AssetTransType _assetTransType, 
            AssetBookId _bookId, 
            boolean _throwError])

  Microsoft Dynamics AX 2012 (SYS)
          public LedgerDimensionDefaultAccount assetOffsetLedgerDimension(
           [AssetPostingProfile _assetPostingProfile, 
            AssetTransType _assetTransType, 
            AssetBookId _bookId, 
            boolean _throwError])

Run On

Called

Parameters

  • _throwError
    Type: boolean
    A value that indicates whether to throw an error.

Return Value

Type: LedgerDimensionDefaultAccount Extended Data Type
The ledger dimension to which to post a transaction that has a fixed assets offset account.

See Also

Reference

AssetTable Table