I’m writing a C# command line tool to fetch data from AX and to add data (create new tables) to AX.
Fetching data from an AX table is easy and documented here: http://msdn.microsoft.com/en-us/library/cc197126.aspx
Adding data to an existing table is also easy: http://msdn.microsoft.com/en-us/library/aa868997.aspx
But I cannot figure out how to do two things:
- Create a new AX Table
- Retrieve data from an AX Query
Can someone please share some sample code or give some pointers on where to start looking. My searches on Google and MSDN have not revealed much.
NOTE: I am not an experienced AX or ERP developer.
Here is a way to create a new AX table from C# (this is using an extension method):