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.
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…
Hi Folks, In AX, using SysMailer class we can compose a mail and send it through code in AX but if we would like to populate the outlook client by creating a mail item then attaching a report and also attaching the sender’s email address as well as subject to it then here is the…
I have observed that lot of developers face difficulty in printing the Sales Invoice report into file system through code. Here is the code snippet for it. SalesFormLetter salesFormLetter; PrintJobSettings printJobSettings; CustInvoiceJour custInvoiceJour; SalesId salesId; #File salesid = “SO-100010”; salesFormLetter = SalesFormLetter::construct(DocumentStatus::Invoice,false); printJobSettings = new PrintJobSettings(); printJobSettings.setTarget(PrintMedium::File); printJobSettings.format(PrintFormat); printJobSettings.fileName( ‘//10.0.57.22/AOSPrintShare//’ + salesId+#pdf ); printJobSettings.warnIfFileExists(false); SalesFormLetter.updatePrinterSettingsFormLetter(printJobSettings.packPrintJobSettings());…
Hi Folks, I think its been a long time that I have posted some post on my blog. 2-3 weeks back, One of my customer has been facing a continous AOS crash issue then when I have googled it using the event log messages, I have come across a resolution for a support issue from Microsoft,…
I have discussed the first 3 sections on the differences between various versions of AX in my previous post. In this post I am going to discuss the differences on the next 3 sections. Services & Application Integration S.No. AXAPTA 4.0 AXAPTA 5.0 AXAPTA 2012 Implementation Process in AX 2012 1 Services are Windows Communication…
Recently, For one of our customers we have developed an SSRS report and published it on Enterprise portal using Internet Explorer 8. When trying to print the report we were getting an error message box “An error occurred during this operation” When I tried to google it, I found a support link from Microsoft. The workaround…