Total Pageviews

Search This Blog

Friday, October 31, 2008

Active Directory Import Wizard in Dynamics AX 2009

This is a good improvement in DAX 2009 compared to previous versions of AX. Now, if you want to add an Active Directory User, there's a filter criteria where you can either filter by FirstName or Last Name or alias etc. See this screenshot below. So if you have a AD where you have 1000's of users, this search criteria becomes really handy.


Patterns and Practices - New release

Key Links
· App Arch Guide 2.0 – The Book - Beta 1 - http://www.codeplex.com/AppArchGuide
· App Arch Guide 2.0 – Knowledge Base – http://www.codeplex.com/AppArch
· Blog post announcement – http://blogs.msdn.com/jmeier/archive/2008/10/27/new-release-patterns-practices-app-arch-guide-2-0-beta-1.aspx

Thursday, October 30, 2008

Visual Studio 2010 Editor/IDE

Hi, Some cool pics from the recently conducted PDC'08 . This one shows about xml comment in VS 2010. The editor is cool and built on WPF.

http://flickr.com/photos/longzheng/2982612672/in/photostream/

Tuesday, October 28, 2008

Crosscompany support in Dynamics AX 2009

This job shows how to retreive data from multiple companies using the crossCompany keyword in the select statement.

Here, we are specifying the container to restrict the number of companies to retreive the record from.

static void JobCrossCompany(Args _args)
{
container conCompanies = [ 'mpr', 'mop' ];
CustTable custTable;
;
while select crossCompany : conCompanies custTable
{
print custTable.name;
}
pause;
}

Thursday, October 16, 2008

Troubleshooting WCF WebService

Recently while developing a WCF Service for AX Employee Data, came across this particular
Error:
Type 'System.Xml.XmlDocument' cannot be serialized. Consider marking it with the DataContractAttribute attribute, and marking all of its members you want serialized with the DataMemberAttribute attribute.

Resolution:
Put xmlserializerformat just above your datamethod in your interface class.
[OperationContract]
[XmlSerializerFormat]
XmlDocument GetEmployees();

Dynamics AX 2009 Snap

Availability of DAX 2009 Snap to Download from the following link:

http://www.codeplex.com/axsnap/Release/ProjectReleases.aspx?ReleaseId=18334

Offline Expense - This snap-in enables expenses to be entered in Excel while disconnected from the corporate network, and then posted to Dynamics AX at a later time. This snap-in uses WCF-based services and LINQ to retrieve data from Dynamics AX, and uses the Application Integration Framework, or AIF to send business documents to Dynamics AX.

Business Data Lookup (BDL) - This snap-in enables information workers to access data from Dynamics AX from within Excel, Word and Outlook. This snap-in is an upgrade of the BDL snap-in that was distributed with Microsoft Dynamics AX 4.0. These applications require .Net 3.5, Microsoft Office 2007, Microsoft Visual Studio 2008 and Microsoft Dynamics AX 2009. Each snap-in contains a document describing the basic architecture, functional footprint, and deployment steps for exploring the sample code.