Skip to main content

Posts

Showing posts from 2017

Get account Structure ranges set in AX Ledger

How to pass Account Structure ranges set in AX Ledger to an external system. Recently I have got a requirement where I have to populate same set of main account and financial dimension values to an external system using integration off course, which I have set in AX Ledger. The difficulty in this scenario was, how to get the valid set of main account and financial dimension values from AX.  Because AX gives us 'Segmented Entry Controls' where we just have to use the field as a segmented entry control and valid values will populate according to the Account Structure set in Ledger.  I have created a service class which extends "DimensionValueService" public class CMCDimensionValueService extends DimensionValueService {     // Insert list of valid main accounts to 'DimensionValueContract'     private void insertMainAccountValueLocalList(List                       _dimensionValueList,                                                  Dime