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
- _costCategoryID
Type: COSLedgerAccount Extended Data Type
The ID of the cost category.
- _enabledDimensions
Type: COSAllowCostDimensionArray Extended Data Type
A COSAllowCostDimensionArray array that represents the dimensions that are enabled on the cost category.
- _postingMask
Type: COSAllowCostDimensionArray Extended Data Type
A COSAllowCostDimensionArray array that represents the dimension codes on which there is posting.
- _isIntegration
Type: boolean
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.