Posts

Showing posts from January, 2015

South Asia MVP open day – 2015 @ Bangalore

Image
Hi Guys, So finally i was there @ Most awaited event of the year “South Asia MVP open Day” @ Bangalore. It was just AMAZING.. :)We all had a great time, meet many senior MVPs, learned many new things with their experience. Speaker Sessions were awesome. Inspired with each and every session. Also feeling some stupidity why i didn't attend last year’s event, i missed that.  But now i am not going to miss any further events. :) Thanks to Biplab Paul and Ghandharv for this whole event and great arrangement. Thanks to all MVP ….- Harry

New Certification on Dynamics AX 2012 R3 MB6-702 Microsoft Dynamics AX 2012 R3 Financials

Hi Friends

One new certification will launch soon on functional track.

Name: MB6-702 Microsoft Dynamics AX 2012 R3 Financials

Study Materials:
80651: Financials I in Microsoft Dynamics AX 2012 R3
80652: Financials II in Microsoft Dynamics AX 2012 R3
80653: Fixed Assets in Microsoft Dynamics AX 2012 R3

Wait i will share more details soon…. :)



Error:Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics

Image
Error Message: Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics.Solution: Delete AUC files and restart the services.



Run, Save and Email Purchase order report through X++ code

Hi Friends,
Sometime customer we face this requirement to send SSRS reports directly on emails of customer/vendor like Purchase order or Sales order report. In this post, I will demonstrate how to do these kinds of stuff in very easy steps, 




To understand each and every logic, we will perform this whole process in three steps. Let’s take an example of Purchase order report. 
1. Run a report and Save as PDF at local drive 2. Email this report 3. Delete from local drive after email.
It would be suggested to have all code into a single class than writing the code here and there on forms or any other standard classes. 
1.Run a report and Save as PDF at local drive:  Create a new class and add a new method for run a report and save it at your local/shared path.
public str runAndSaveSSRSReport(PurchTable _purchTable) {     SrsReportRunController          ssrsController = new SrsReportRunController();     PurchPurchaseOrderContract      Contract = new PurchPurchaseOrderContract();     SRSPrintDestination…

How to add new fields/Methods in Listpage from in AX 2012

Image
How to add new fields/Methods in Listpage from in AX 2012
Here we use Production Order list page for example
Open Production order list page from below link
Production control/Common/Production orders/All production orders

Now we need to add one new field “Serial Number” in this grid (Assuming there will be only one item in one Production order in every case).
This serial number is available in “Transaction” from of this production order.

Now to display new fields you can add a new display method in table and drag-drop this method in grid as field.
Add one new method in “ProdTable” table add copy below code
display InventSerialId inventTransInventSerialId()
{
InventTransOrigin InventTransOrigin;
InventTrans InventTrans;
;
select InventTrans join InventTransOrigin
where InventTrans.InventTransOrigin == InventTransOrigin.RecId &&
InventTrans.ItemId == InventTransOrigin.ItemId &&
InventTransOrigin.ReferenceId == this.ProdId &&
Inven…