This site contains some Microsoft Dynamics AX X++ Codes for use in your day to day use. However please use them with caution in production environment. I will not be responsible for any Goof ups. These Codes were created during my free time and may have bugs. Use them at your own discretion. Arijit Basu | India
Saturday, August 11, 2007
Mobile solutions for Microsoft Dynamics™ AX: Announcing the release
Download Microsoft Dynamics™ AX Mobile Sales and Microsoft Dynamics™ Mobile Development Tools:
The release contains
· Microsoft Dynamics Mobile Development Tools.zip, which contains the Server and the Framework Components for Microsoft Dynamics™ Mobile Development Tools Installers and Release notes.
· Microsoft Dynamics Mobile Sales.zip, which contains the installer for Microsoft Dynamics™ Mobile Sales and Release Notes.
· Documentation Installer for Microsoft Dynamics™ Mobile Development Tools and Mobile Sales.zip, which contains all documentation.
· Hands-on Lab Installer for Microsoft Dynamics™ Mobile Development Tools and Mobile Sales.zip, which contains hands-on labs for all products that can help in the learning of the products.
Click here to download {Requires Partnersource Logon}
Monday, August 6, 2007
Microsoft Dynamics AX 4.0 Documentation Updates
Click to download {Requires Partnersource Logon}
Saturday, August 4, 2007
Creating Sales Orders via X++
Some important Objects which are to be referred and understood are:
-Tables\SalesTable
-Tables\SalesLine
-Tables\InventDim
-Tables\CustTable
-Tables\InventTable
-Classes\SalesTableType {The InventType Hierarchy}
Sample Code [Very basic]
static void SalesOrderCreation(Args _args)
{
SalesTable salesTable;
NumberSeq NumberSeq;
SalesLine salesLine;
InventDim IDim;
;
ttsbegin;
NumberSeq = NumberSeq::newGetNumFromCode(SalesParameters::numRefSalesId).numberSequence);
//=======Table=======
salesTable.SalesId = NumberSeq.num();
salesTable.initValue();
salesTable.CustAccount = "4000"; //Enter Customer Acount
salesTable.initFromCustTable();
salesTable.InventLocationId = "GW";
salesTable.insert();
//========Line=======
salesLine.clear();
salesLine.SalesId = salesTable.SalesId;
salesLine.ItemId = "IS2082SAIL"; //Enter Item ID
IDim.InventColorId ="CU"; //Enter Item Dimensions
IDim.InventLocationId = "GW";
IDim = InventDim::findOrCreate(IDim);
salesLine.InventDimId = IDim.inventDimId;
salesLine.createLine(NoYes::Yes,
NoYes::Yes,
NoYes::Yes,
NoYes::Yes,
NoYes::Yes,
NoYes::Yes);
//===================
ttscommit;
Info(salesTable.SalesId);
}
The above code is very basic but will help you with the concepts and the same can be extended to create PO
Happy DAX-ing :)
Thursday, August 2, 2007
Microsoft Dynamics™ AX Mobile
Some nice resources (Presentations, whitepapers & current information surrounding Technical Launch Readiness for Microsoft Dynamics™ AX Mobile Sales and Microsoft Dynamics™ Mobile Development Tools) are available for download.
Click here to download {Requires Partnersource Logon}
Trace Parser (beta) tool for Microsoft Dynamics™ AX 4.0
The Microsoft Dynamics™ AX Trace Parser is a user interface and data analyzer built on top of the Event Tracing for Windows (ETW) framework added to Microsoft Dynamics™ AX 4.0. The ETW framework allows an administrator to conduct tracing with an overhead of approximately 4%. This low overhead allows administrators to diagnose performance problems in live environments as opposed to development environments.
The Trace Parser is built on top of Microsoft SQL Server 2005. It enables rapid analysis of traces to find the longest running code, longest running SQL query, highest call count and other metrics useful in debugging a performance problem. In addition, it provides a call tree of the code that was executed, giving the developer insight into the code, and the power to quickly become familiar with the flow of an unfamiliar piece of code. It also provides the ability to jump from the searching feature to the call tree, so that the person analyzing the trace can determine how the problematic code was called.
Click here to download the tool {Requires Partnersource Login}