Storage Dimension Error in AX 2012 R@

Hi

When I setup the General ledger and Tax ledger posting and pickup account code from drop down list , its raise the error as

Function DimensionStorage.getSegment has been incorrectly called.

kindly help me how to resolve this issue.

Regards

B.S.Fartiyal