Dimension printing in report

Hi all,

I Have four dimension Department,Cost center,Purpose,Project.In my case i need to print the only one dimension in report(Department).I am using display method.I have tried this in report but its printing both dimension.how do i achieve the same?

Thanks in advance.


try this - i haven’t tested this…

str s;

s = Dimensions::find(SysDimension::Department,Dimension[1]).Description;/////dimension is the variable for Dimension

Thank you kranthi…

Is it working? because i have not tested it…


I have not tested it.In last development only i had this problem.there I have changed the width.It was working fine.So same thing came to my mind now.so i have posted now.i have noted this .i will test it.