From MSDN:
...One type of temporary table is a TempDB table. They are called TempDB tables since the TableType property value is TempDB (TableType::TempDB). The TableType property value can be set from AOT > Data Dictionary > Tables > MyTempDBTable > Properties > TableType.
All types of temporary tables are automatically dropped by the system when the table variable in X++ goes out of scope. A TempDB table is not dropped when you set its record buffer variable to null.
TempDB tables are a different type of temporary table than InMemory tables. For more information, see Temporary InMemory Tables.
For more info:
MyAxaptaStuff
Tuesday, August 21, 2012
AX 2012 AIF
Some quotes from technet:
"The AIF framework has been updated to enable developers to expose X++ business logic as WCF services. ASMX Web services have been replaced with WCF services enabling new functionality such as message encryption."
"The AIF framework has been updated to enable developers to expose X++ business logic as WCF services. ASMX Web services have been replaced with WCF services enabling new functionality such as message encryption."
AX2012 Startup options
The startup options are described here:
http://technet.microsoft.com/en-us/library/aa569653.aspx
Example: If you want to make a shortcut that reads a configuration file (AX2012_VAR.axc) and starts the development environment:
D:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin\Ax32.exe -development "D:\Program Files (x86)\Microsoft Dynamics AX\60\config\AX2012_VAR.axc"
http://technet.microsoft.com/en-us/library/aa569653.aspx
Example: If you want to make a shortcut that reads a configuration file (AX2012_VAR.axc) and starts the development environment:
D:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin\Ax32.exe -development "D:\Program Files (x86)\Microsoft Dynamics AX\60\config\AX2012_VAR.axc"
Friday, August 17, 2012
FTP and AX
Just some links I found regarding FTP from Dynamics AX:
http://axapta.blogcu.com/ftp-from-axapta/892548
http://erpcoder.wordpress.com/2012/07/08/dynamics-ax-2009-ftp-adapter-for-aif/
http://erpcoder.wordpress.com/
http://amberax.blogspot.no/2011/10/ftp-in-and-out-of-dynamics-ax.html
http://www.source-center.de/forum/entry.php?77-FTP-Upload-in-Dynamics-AX-2009-ohne-Proxy
http://stackoverflow.com/questions/7810978/dynamics-ax-2009-how-to-ftp-from-a-batch-job-on-an-aos
http://axapta.blogcu.com/ftp-from-axapta/892548
http://erpcoder.wordpress.com/2012/07/08/dynamics-ax-2009-ftp-adapter-for-aif/
http://erpcoder.wordpress.com/
http://amberax.blogspot.no/2011/10/ftp-in-and-out-of-dynamics-ax.html
http://www.source-center.de/forum/entry.php?77-FTP-Upload-in-Dynamics-AX-2009-ohne-Proxy
http://stackoverflow.com/questions/7810978/dynamics-ax-2009-how-to-ftp-from-a-batch-job-on-an-aos
Thursday, May 10, 2012
XPO Editor update
Hi,
I've done alot of work lately on this project. Here's a quick update so far:
I've done alot of work lately on this project. Here's a quick update so far:
- Added application scripting (ECMA standard). Need more of the application available, but works great. Need to make a application startup and close script in case I need it later.
- Docking windows
- Added a syntax highlighting code editor
- Imports most of the Table elements and all Classes.
- Can edit Table and Class methods
- Many improvements on the SQL layer
Wednesday, May 2, 2012
XPO viewer and editor
Earlier I wrote about a XPO viewer which I used for a quick view of the content in a XPO file.
Often I use a lot of time to searching through XPO files to reuse code that is verified/tested - instead of writing the same code again with a probability for errors. The mentioned XPO viewer don't do much beside showing most of the AOT for the file imported. If you have a large XPO file/project and want to reuse it in another Ax environment, the only way so far is to have a clean Dynamics AX installation and import the XPO file and edit the elements there, then export to an new XPO and import it in the customers test-environment. You could import it directly to the test-environment, but then you will have to deal with elements that most likely should not be there, e.g new security keys, labels, fields in standard tables, menu items etc..
So, I have now started on a XPO application for organizing,viewing and editing XPO files. The reason for this application is to have the XPO files organized in a database and a better way to reuse code and projects. It will be easy to import, edit and export XPO projects in addition to search for AOT elements in many XPO files in one search. I have completed about 10% of this application.
If you have any suggestions about functionalities, please add a comment.
BTW: I'm using a multi-platform code library called Qt, so if needed - this application can be easily transferred to Linux, Mac etc.... but I don't see the reason for doing that :-)
Often I use a lot of time to searching through XPO files to reuse code that is verified/tested - instead of writing the same code again with a probability for errors. The mentioned XPO viewer don't do much beside showing most of the AOT for the file imported. If you have a large XPO file/project and want to reuse it in another Ax environment, the only way so far is to have a clean Dynamics AX installation and import the XPO file and edit the elements there, then export to an new XPO and import it in the customers test-environment. You could import it directly to the test-environment, but then you will have to deal with elements that most likely should not be there, e.g new security keys, labels, fields in standard tables, menu items etc..
So, I have now started on a XPO application for organizing,viewing and editing XPO files. The reason for this application is to have the XPO files organized in a database and a better way to reuse code and projects. It will be easy to import, edit and export XPO projects in addition to search for AOT elements in many XPO files in one search. I have completed about 10% of this application.
If you have any suggestions about functionalities, please add a comment.
Screenshot of the development so far.. need to work with design, icons, and lots of other stuff. Next in my todo list is to add a syntax highlighting editor and a scripting engine.
BTW: I'm using a multi-platform code library called Qt, so if needed - this application can be easily transferred to Linux, Mac etc.... but I don't see the reason for doing that :-)
Thursday, March 29, 2012
Microsoft Dynamics AX 2012: Programming Model Improvements - Part 1
Here are a some info from a lecture on improvements in Ax2012 programming part 1. You will find the complete and free video (1 hr 15 min) presentation at Microsoft Partner Training web (BTW: You will need an account there):
Course description: The investment in tooling and framework improvements for the developer is vast. In this session see a snapshot of the investments in three key areas: Data access, the X++ language, and in the Services programming model. Data access abstractions like Relationship Modeling, Table Inheritance, Date Effectivity, Unit of Work and improved Caching will be covered. Also covered will be the X++ features of Eventing based customization and strongly typed interop from .NET to X++ that help you develop robust customizations for Microsoft Dynamics AX 2012. Finally we will provide an overview of Servic It's about writing less code and writing better code!es programming model that is geared towards opening up development for Dynamics AX to a whole variety of application platforms, including mobile platforms via standards compliant web services.
Course description: The investment in tooling and framework improvements for the developer is vast. In this session see a snapshot of the investments in three key areas: Data access, the X++ language, and in the Services programming model. Data access abstractions like Relationship Modeling, Table Inheritance, Date Effectivity, Unit of Work and improved Caching will be covered. Also covered will be the X++ features of Eventing based customization and strongly typed interop from .NET to X++ that help you develop robust customizations for Microsoft Dynamics AX 2012. Finally we will provide an overview of Servic It's about writing less code and writing better code!es programming model that is geared towards opening up development for Dynamics AX to a whole variety of application platforms, including mobile platforms via standards compliant web services.
Screenshots from the videopresentation (c) 2011 Microsoft
Subscribe to:
Posts (Atom)