calculate total sales order or sales quotation amount / discounts / tax etc., through code( X++ ) in AX
Now, this can be achieved through code using SalesTotals class. Check out the below code snippet.
Subscribe to be the first to learn about a new blog post. Sign up today!
Now, this can be achieved through code using SalesTotals class. Check out the below code snippet.
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…
Hi Folks, In AX 2009, We had an option of importing the new objects with ids using xpo from one layer to another. However, In AX 2012, The object ids are installation specific and we do not have an option to import them with object ids and this may affect in losing the data. The…
In AX 2009, you can merge two records by using the merge() function in a table. For Example if you have posted a project with different department dimensions and now if you would like to merge two records of department dimension then this merge function can be helpful. The sample code is here as follows:…
Here, I am telling you about how to register a COM wrapper dll and then extract & use it in AX. (i) Install the COM Wrapper DLL Files, into the bin directory of the AOS. (ii) Register it with the following Command,%WINDIR%Microsoft.NETFrameworkv2.0.50727regasm.exe Test.Wrapper.DLL /tlb:Test.Wrapper.tlb (iii) Now, After Successful Registration, Follow the below path and click…
I have already posted 6 sections on the differences between various versions of AX in my previous two posts. In this post, I am going to discuss on the last 3 sections of differences. Workflow S.No. AXAPTA 4.0 AXAPTA 5.0 AXAPTA 2012 1 •Forward only, sequential workflows •Only interactive elements (tasks and approvals) •Support for…
If you want to get all the error messages in the infolog in a desired language then just put this small code snippet and run it in a job. infolog.language(LanguageId); then whole UI of AX Client will be changed to the desired language and we will get the error messages into the infolog in that…