Compare Web / EP Objects using compare tool in AX 2009
Hi folks,
Subscribe to be the first to learn about a new blog post. Sign up today!
Hi folks,
Hi Folks, It has been a long time, since I have posted any blog because of my busy project schedule…………. In this post, I am going to discuss on how to create delete actions through code in AX. Let us create a delete action in InventTable for a testTable. SysDictTable table; Treenode treeNode, datreeNode; table…
In this post, I am going to discuss about how to rename a primary key in AX. The renaming can be done for any record using the CCPrimaryKey Class. Let us suppose, if Customer Id 1000 has to be renamed as Cust_1000 then it will be renamed in all the tables(SalesTable, CustTable, SalesQuotationTable etc.,) wherever…
The simplest way to store an image for a record into AX tables is by using the CompanyImage Menu Item. I will explain you with an example below: Generally, most of the customers would request for a functionality to store an image for an item. For this, there is no need of high customization. Initially,…
Here is a code snippet to convert any file into a base64 string in x++ using some dot net inbuilt classes in AX. To convert it, initially clrinterop permission must be granted to access the dot net inbuilt classes then load the file into file info, initialize the byte array with the length of file,…
Today, I have a found a new function in QueryRun class and thought of sharing it here in this post. Its use can be found while integrating AX with some external applications. I am sure that everyone has used queryrun class in x++ code. I have found out a special function in QueryRun Class with…
Hi All, If you would like to get the previous page’s selected record (Context) in EP in AX 2009 then you can use the following method in visual studio for it. AxTableContext context = AxBaseWebPart.GetWebpart(this).ExternalContext; if (context != null && context.TableId == TableMetadata.TableNum(AxBaseWebPart.GetWebpart(this).Session, “MainTable”)) { string TestField = context.DataKey.GetRecord(this.AxSession).GetField(“TestField”).ToString(); …