Monday, November 21, 2011

Dynamics AX 2012 Cumulative Update 2 is released

Last week Microsoft announced the Cumulative update 2 for Dynamics AX 2012. Please review the Support KB Article for more details. This cumulative update include
For more details on fixes included please review the Support KB Article

Friday, November 11, 2011

Debugging in Dynamics AX 2012 as a non-admin Role

To access breakpoints as a limited user:
1. open dynamics as admin
2. add yourself to your favorite role (in addition to admin)
3. shift control w to open a workspace.
4. insert a break point into a well know x++ class that the role accesses.
5. create a new job
6. insert this:
static void NonAdmin(Args _args)
{

securityutil::sysadminmode(false);
}
7. run job
8. control w to open regular workspace (or open it from the menus, sometimes its sticky)
9. Open the form/class via navigation

observe that you can now stop in debugger as "limited" user

Wednesday, November 9, 2011

Microsoft Dynamics Sure Step 2012 Launched

Microsoft Dynamics Sure step 2012 is officially launched, please read the following article for more details:

Monday, October 17, 2011

Set focus on specific control when opening form

To set the focus on specific control when form is open, you need to override the firstField() method of the form and set your desired control after super() call.

public void firstField(int _flags=1)
{
    ;
    super(_flags);
    desiredControlName.setFocus();
}

Dynamics AX 2012 SSRS reports patterns

Here are the design pattern/changes that we need to make sure for AX 2012 SSRS report development:


Functional Area
AX2009
AX2012
Input parameters (definition)
Report
Data contract (*)
Input parameters (validation)
Report
Data contract (*)
Input dialog (simple)
Report
Data contract (*)
Input dialog (complex)
Report
UI Builder (*)
Input parameters (modification)
Report
Controller (*)
Dynamic query
Report
Query
Report data
Report
Table (temp)
Business logic
Report
RDP
Report layout
Report
SSRS Report

Dynamics AX 2009 and Dynamics AX 2012 modules comparisons

Following are the enhancements made by Microsoft on Dynamics AX 2012:
For example, GL module in AX 2009 is now break into GL and Fixed assets in AX 2012.

AX 2009 Module
AX 2012 Module
General LedgerGeneral Ledger
 Fixed Assets (New)
BankCash and bank management
Accounts PayableAccounts Payable
 Procurement and sourcing (New)
Accounts ReceivablesAccounts Receivables
 Sales and Marketing (New)
Inventory ManagementProduct information (New)
 Inventory  and warehouse management
Expense managementTravel and expense management
ProductionProduction control
ProjectProject management and accounting
 Compliance and internal control (New)