Tuesday, September 28, 2010

Get Session Date

Question:

How to get the current session date in Dynamics AX?

Answer:

Use systemDateGet()?

Monday, September 27, 2010

Issues Associating MCP

Query: I am having an issues associating my MCP with my organization. I am getting the following error "The MCP ID you have Entered is invalid or is not available for association with this partner account. Please contact your program administrator or your Regional Service Center if you have questions Regarding the status of this MCP ID."

Answer:
This can be because of the following reason,
1- In correct First and Last Name
2- Incorrect Address
3- Incorrect email address

Make sure to enter these info directly from transcripts.

Wednesday, September 8, 2010

Don't Miss "Dynamics AX Day" on November 1, 2010

Don't Miss "Dynamics AX Day" on November 1, 2010

Dynamics AX Day at Decisions Fall 2010 is a FREE virtual event from MSDynamicsWorld.com. It follows on the heels of the highly successful Decisions Spring 2010, which ran last May and had over 3,000 attendees. Dynamics AX Day will pack in even more strategy and practical guidance on an event day dedicated specifically to Dynamics AX customers, partners, and experts.

Don't miss this unique opportunity to engage with your peers, Dynamics AX MVPs, industry experts, and leading solution providers, right from the convenience of your office or home. Here are just a few of the leading-edge sessions and speakers you will experience on Dynamics AX Day at Decisions Fall 2010...

* Microsoft Distinguished Engineer Mike Ehrenberg presents the latest on Dynamics ERP technology

* Microsoft Director Guy Weismantel makes the case for Application Overhaul, and how Dynamics ERP is poised to take advantage of new technologies to enable a new winning solutions

* Dynamics AX Solution Architect and author Dr. Scott Hamilton presents a seminar on managing process manufacturing using AX

* MVPs Arijit Basu and Dick Wenning explain AX 2011 performance monitoring best practices for developers and database administrators

* Learn from AX MVP Jojan Jovicic how Agile software development methods can be used in your AX implementation

* And many more sessions from Dynamics AX experts like Brandon George, Doug Haynie, Tim Hourigan, and many others

Please visit http://decisions.msdynamicsworld.com for more information.

Monday, August 30, 2010

Tuesday, August 10, 2010

Dynamics AX EP Development Cookbook

Following is a great EP development book that can be used to jump start EP development,

Dynamics AX Enterprise Portal Videos,

Query:

I am new too Dynamics AX EP, how to jump start to EP?

Answer:Text Color
Well you should start with videos, few of the best links are below,

Then you can look into EP part of book, "Inside Dynamics AX 2009"


Friday, July 30, 2010

Container and unbounded string (text) fields are not allowed in a WHERE expression.

Container and unbounded string (text) fields are not allowed in a WHERE expression

"Here is a really simple error / solution. I came back to writing X after a few weeks of down time and actually forgot about this as I am predominately a C# programmer.
The problem:
Axapta does not want you to use an unbounded string in a where clause.�
The solution:
You must use a ‘bounded’ string.� To do this you must declare your string with a numerical limiter e.g. str 30.
Example:
PurchTable getFirstByCustomerPOId(str 30 customerPOId)
{
PurchTable purchTable;
;
purchTable.selectForUpdate(true);
select firstonly purchTable
where purchTable.My_CustomerPurchaseOrderId == customerPOId;
return purchTable;
}"

Friday, July 16, 2010

Workflow Dynamics AX

Following are some great sites for dealing with Dynamics AX Workflows,

http://workflowax.wordpress.com/category/testing/
http://workflowax.wordpress.com/category/installation/
http://blogs.msdn.com/b/emeadaxsupport/archive/2010/06/09/workflow-error-system-componentmodel-win32exception-access-is-denied.aspx

Tuesday, December 1, 2009

Displaying the text format of an AX Query

Question: How can you print the query associated with an AX Query?

Answer:
static void printQuery(Args _args)
{
Query query = new Query(querystr(MyQuery));
;
info(query.dataSourceNo(1).toString());
}