Dream come true
Microsft Rocksssssssssss.
Subscribe to be the first to learn about a new blog post. Sign up today!
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());…
To display/upload the documents for a record in a newTable through EP in AX 2009, we can use the existing Web menu items like EPDocuList, EPDocuListPopUp, EPDocuListFromInfo etc., But if these menu items are directly used on our new EP pages then it doesn’t work properly. The solution would be to add a relation with…
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,…
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:…
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…