InventDim Table Story

 1) This table plays very important role in D365. Any table which stores inventory dimensions in AX like salesLine, purchLine,inventTrans

all have relation to inventDim table.


2) There are already functions to create and find inventDimID.


3) Most commonly used is findOrCreate just initialize a blank instance of inventDim table object,


   assign all your inventory dimensions and then call this function to assign the inventDimID to your record.

   

   If a invnetDimID for the combination exists then system will return it else it'll create a new and return the inventDimId.


4) ***


   We are not required to store data of 10 inventory dimensions fields 100 times,


   instead we just need to store value of 1 field in 100 records pointing to same combination of these inventory dimensions.

Comments

Popular posts from this blog

How to Create a wizard in x++ d365

how to post trade agreement journals automatically using x++ code

X++ code to CREATE AND POST A TRADE AGREEMENT IN MICROSOFT DYNAMICS 365 in D365 F & O