Skip to main content

Posts

Showing posts with the label HR module

Import HRM Positions from Excel through X++

You can use different options to import data into Dynamics AX 2012 specially the subject line entity (Positions). Data import/export framework would be the best option to import it, you can also use excel addins for this purpose. However, due to large number of tables involved in few import process it might be difficult to judge right tables and their sequence. You can also use X++ code to import data into AX either from CSV file or from Excel file. The following job in X++ may help you in importing positions from excel file. static void ImportHRPosition(Args _args) {     SysExcelApplication     application;     SysExcelWorkbooks       workbooks;     SysExcelWorkbook        workbook;     SysExcelWorksheets      worksheets;     SysExcelWorksheet       worksheet;     SysExcelCells           cells;     COMVari...