Thursday 27 June 2013

AX Report 2009 displaying only on the last page

Hi, 
Normally developers need the term and condition or other stuff to be displayed only on the last page .To insert the footer only on the last page of Axapta report do the following stes.
1. Declare a boolean variable (pageFooter) in report class declaration method .

             public class ReportRun extends ObjectRun
            {
                 boolean pageFooter;
            }
2. Override the report fetch method with query 
          public boolean fetch()
          {
               boolean ret;
               ret = super();
               printPageFooter=false;
                while(queryrun.next())
                {


                }
               printPageFooter=true;
               return true;
          }


3. Override the executeSection method of footer 
      
          public void executeSection()
          {
                if(printPageFooter==true)


                super();
           }

Wednesday 26 June 2013

Project Invoice Proposal Approvals in Microsoft Dynamics AX 2012 R2

Hello Everyone,
Here is a quick post on an update on the approval process of project invoice proposals in Microsoft Dynamics AX 2012 R2 release.
In the AX 2012 feature pack release(Until Cumulative Update 4), the project invoice proposals were always forced or required to go through the workflow for approval.
I came across many situations where customers did not want their invoice proposals to go through the workflow approval process as it is not required as per their business policies and rather have them posted directly. But in AX 2012 feature pack release, there was no way to have the invoice proposals not go through workflow approval.
Microsoft has introduced a design change in AX 2012 R2 release, by which we can now have project invoice proposals not routed through the review and approval process in workflow.
If you unmark the “Enable processing invoice proposals in workflow checkbox”, then you can directly post the invoice proposals without having it to go through the workflow process.

image