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.
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…
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(); …
Hi Folks, The below code snippet would help you to get an active workflow configuration in Ax 2009 for a workflow template. WorkflowConfigurationTable workflowConfigurationTable; ; select firstonly workflowConfigurationTable where workflowConfigurationTable.TemplateName == && workflowConfigurationTable.Enabled == NoYes::Yes && workflowConfigurationTable.Type == WorkflowConfigurationType::Definition && workflowConfigurationTable.DefaultConfiguration == NoYes::Yes; Happy DAXing…………
Hi Folks, Today, I have observed a very strange thing in AX. I had to do a bulk insert from some other table where I also need to copy the tableId from the other table. I have found a strange issue i.e.,everything was getting copied except the tableId. You can try this in a job….
Hi Folks, This post is about my experience and steps for installing AX 2012 along with EPand SSRS. I have been planning to install AX 2012 from scratch on my laptop along with SSRS and EP because I was not feeling comfortable with the VPC. In today’s post, I would like to explain you about my…
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:…