The Microsoft Dynamics AX development environment enables you to integrate a .NET-connected application with Microsoft Dynamics AX. This feature gives developers a simplified way to develop integrations with Microsoft Dynamics AX using standard Microsoft developer tools such as Visual Studio .NET and the .NET Framework.

This walkthrough illustrates the following tasks:

・ Create a C# Windows project

・ Add a reference to .NET Business Connector

・ Create the layout of a form

・ Add code behind the form

・ Retrieve a record using a where clause


 
/// Try this in your AOT Jobs
///
///
///
static void timeConversion(Args _arg)
{
    int s;
    str t, convertedTime;
    ;

    // t is a String and we assigned Some Time Value as 11 hr 50 mins and Zero seconds
    t = "11:50:00";

 
//Apply this method in any Button Override Method.
// This method is used to Import the Excel Data to AX Table
//
//

// Excel File Contains 3 Columns which is EquipmentId, Cost, EffectiveDate
// Same way here we have created Code For the particular Three field....

public void ImportData()
{
    SysExcelApplication             application;
    SysExcelWorkbooks               workbooks;
    SysExcelWorkbook                workbook;
    SysExcelWorksheets              worksheets;
    SysExcelWorksheet               worksheet;
    SysExcelCells                   cells;
    COMVariantType                  type;
    System.DateTime                 ShlefDate;
    FilenameOpen                    filename;
    dialogField                     dialogFilename;
    Dialog                          dialog;