Create financial dimensions by X++

Hi All,

        I want to know the way to create new custom financial dimension in General Ledger > Financial Dimensions > Financial Dimensions by using X++. I have a task to create new Financial Dimensions, but when I tried to create new record in DimensionAttribute table, it isn't work. Can anyone give me an example for this. 

Related
Recommended