Sharing insights and practical knowledge on Microsoft Dynamics 365 Finance & Operations, AX 2012, and X++ — blending technical depth with functional clarity to help you master ERP challenges.
This is such a great resource that you are providing and you it away for free. I love seeing blog that understand the value.Microsoft Dynamics AX consultants
Hi , Today I am going to tell you how to create record in inventdim table through code. In InventDim Table we cant use .insert() method for creating record. As it is very important table and hit many transaction so it is recommended not to play with this table unless it is not necessary. may be it cause data in consistancy. But as like me if you have to do with this table you can use below code at your own risk. Its is working code for sure. ttsBegin; item = InventTable::find(ItemId); // Item id = "Item-0001" inventdim.InventSiteId = Site; // Site = "Site1" inventdim.InventLocationId = Location; // Location = "Location1" if(item.colorActive()) ...
Hello , Here I am sharing with you the code to import the Employee Master data in ax 2012 R3. I have used this code for one of my Saudi Arabian client so some line would be new for you. Customize the code as per your requirement. Hope it will help you thanks :) ------------------------------------------------------------------------------------------------------------ static void ImportWorkerthruExcel(Args _args) { SysExcelApplication xlsApplication; SysExcelWorkBooks xlsWorkBookCollection; SysExcelWorkBook xlsWorkBook; SysExcelWorksheets xlsWorkSheetCollection; SysExcelWorksheet xlsWorkSheet; SysExcelRange xlsRange; SysExcelCells Cells; SysExcelCell RCell; CommaIO inFile; int nRow,i; DialogField dialogPath; ...
ReplyDeleteThis is such a great resource that you are providing and you it away for free. I love seeing blog that understand the value.Microsoft Dynamics AX consultants