Can anybody help me to update the item journal lines dimensions from dimension set entries? I have inserted them on dimensions set entries but in order to see them on item journal lines , I have to press dimensions on each line and then it shows.
How can I make this in order to show them without pressing the button dimension each time? I have tried to validate the value from dimension set entry but didn't work.
0
Answers
You should never insert record directly in Dimension set entries.
The Correct way of doing is (Via code) -
1. create a temporary Dimension set entry record variable. [Make sure it's temporay]
2. assign values as you require.
3. Once you are done pass temporary recordset to Function GetDimensionSetID using code unit 408.
4. This function will return an integer which then needs to be assigned to Item Journal Lines.
5. The integer returned is the dimension set id for the dimension value combination.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page
http://www.archerpoint.com/blog/Posts/easily-finding-dimension-set-id-microsoft-dynamics-nav