Compartir a través de


COSLedgerAllocDim::getPostDimensions Method

Gets the dimension mask to post a transaction to, according to the rules set up in the COSLedgerAllocDim table, the specified cost category and the enabled dimensions.

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 COSAllowCostDimensionArray getPostDimensions(
            COSLedgerAccount _costCategoryID, 
            COSAllowCostDimensionArray _enabledDimensions, 
            COSAllowCostDimensionArray _postingMask, 
           [boolean _isIntegration])

  Microsoft Dynamics AX 2012 R2 (SYS)
          client server public static COSAllowCostDimensionArray getPostDimensions(
            COSLedgerAccount _costCategoryID, 
            COSAllowCostDimensionArray _enabledDimensions, 
            COSAllowCostDimensionArray _postingMask, 
           [boolean _isIntegration])

  Microsoft Dynamics AX 2012 Feature Pack (SYS)
          client server public static COSAllowCostDimensionArray getPostDimensions(
            COSLedgerAccount _costCategoryID, 
            COSAllowCostDimensionArray _enabledDimensions, 
            COSAllowCostDimensionArray _postingMask)

  Microsoft Dynamics AX 2012 (FPK)
          client server public static COSAllowCostDimensionArray getPostDimensions(
            COSLedgerAccount _costCategoryID, 
            COSAllowCostDimensionArray _enabledDimensions, 
            COSAllowCostDimensionArray _postingMask)

  Microsoft Dynamics AX 2012 (SYS)
          client server public static COSAllowCostDimensionArray getPostDimensions(
            COSLedgerAccount _costCategoryID, 
            COSAllowCostDimensionArray _enabledDimensions, 
            COSAllowCostDimensionArray _postingMask)

Run On

Called

Parameters

Return Value

Type: COSAllowCostDimensionArray Extended Data Type
The COSAllowCostDimensionArray array that represents the dimensions selected for posting.

Remarks

Use this method if you do not want to further restrict the original posting dimensions beyond the dimensions allowed on the cost category.

See Also

Reference

COSLedgerAllocDim Table