Hi experts,
I use NAV 2016 and create some records in the General Journal Line table.
I need to add values in "Shortcut Dimension 3 Code" and "Shortcut Dimension 4 Code", but I don't know how to do that.
Can someone please show me a few lines of code with this? I think, I should use DimMgt.GetDefaultDim() somehow and add the two values, I want. How do I do that?
0
Answers
You use Dimension Set ID (Field 480) to handle this and save the values.
Check page 39's handling of shortcut dimensions, they use the function "ValidateShortcutDimCode" on table 81.