Today i was assigned to do this task, that is creating an Enum Elements during runtime dynamically.
you can try this in your Job ..

static void CreateEnumDynamically(Args _args)
{
    TreeNode node;
    ;
   
    node = TreeNode::findNode("\\Data Dictionary\\Base Enums\\SaadEnum");
   
    node.AOTadd("Test2");
    node.AOTsave();
    node.AOTcompile();
   
    info("Enum Element Created sucessfully");


}

Enjoy... :)

 
The Microsoft Dynamics product line includes several diverse ERP solutions.  Each is designed for specific industries and purposes, but the two that people often have the most trouble distinguishing between are  Dynamics NAV and Dynamics AX.  So what’s the difference?

Dynamics NAV and Dynamics AX are both highly customizable ERP solutions available in many languages and currencies and have an impressive international install base.  Both solutions are agile enough to operate in one centralized location or across multiple decentralized locations, and can scale along with your business.  Both offer industry-specific functionality to meet local and regional needs.  NAV and AX are described equally by Microsoft as end to end comprehensive ERP solutions with the ability to manage complex supply chains and inventory.

You won’t uncover the differences by comparing them feature to feature, and you can’t realistically define them by the number of users they can handle, though many have tried. The real determining factors are at a

 
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;