Hi,
I have a question regarding the updating/changing of a source expression. I have a report "G/L Register" that shows the G/L dimension string together as such 000-000-000-000-000-000-000, when I go to the report (through Object Designer) and look at the field it is call <Account Dim> and if I look at the properties the SourceExpr is AccountDim. The issue that I am having is the length of the out of the box account string of 3 characters per dimension. Our chart of account is much longer than 3 and I want to extend it but cannot figure out how to do this. Any help, especially step by step instructions would be very helpful.
I was able to find this code using the C/AL Editor
AccountDim := FundManagement.DimensionAccountGenerate("G/L Account No.","Fund No.",
"Global Dimension 1 Code","Global Dimension 2 Code",
"Global Dimension 3 Code","Global Dimension 4 Code",
"Global Dimension 5 Code","Global Dimension 6 Code",
"Global Dimension 7 Code","Global Dimension 8 Code");
But I am still not sure how to extend the length of each field.
Cheers.
0
Comments
Andwian
My Blog - nav.education