Tuesday, March 4, 2014

Dimensions

Dimensions:

Dimension are 2 types:
1.default dimension
2.ledger dimension

We will create dimension by 2 types
1.       Through form
2.       Through X++ coding by using classes
Difference between default dimension and ledger dimension:
Default dimension
Ledger dimension
1.       Dimension set storage class
2.       AXDimensionUtilClass::
(getdimension() method)
3.       Ex:   Formate
3008-CostCentre-100
         -Department-Physics
         -Purpose-Others
Here 3008 is vendor or customer

Here we store the dimension in to a unique int64 field i.e DefaultDimension Field.
Ex:62556020(dim value)


We are using the struct class for upadating the dimension combinations
We will take dimensions in to container and run the loop


1.LedgerContract(MainAccount)Class
2.DimensionAttributeContract Class
3.Ex:  Formate
   MainAccount-costCentre-Department-Purpose
         600100-100-physics-others

Here there we create relaton main account with ledger contract

No comments:

Post a Comment