Santosh.'s profileDynamics AxPhotosBlogLists Tools Help

Blog


    July 28

    Microsoft Dynamics AX 2009 White Paper: Team Foundation Server Version Control Setup

     

    This document explains version control system for Microsoft Dynamics AX 2009  using Microsoft Visual Studio Team Foundation Server.

     

    Overview:

                             Installation and configuration of version control for Microsoft Dynamics AX 2009 using Microsoft Visual Studio Team Foundation Server.

     

    Topics Covered :

     

    • Setup Version control parameters.
    • Configuring Global Version Control system Settings (SQL/Oracle)
    • How to create a Reprository

    References:  Team Foundation Server Version Control Setup White paper for Microsoft Dynamics AX 2009

    July 26

    Dynamics AX - How to Upgrade an Item in Picking List Registration form

      

    Business Scenario: 

                                          In the “Picking List Registration” form, why the Update à Update All group is disable. I finished the picking list previously and found in the picking list registration form the handling status value is “Complete”
     
    How to let my update all item to be enabled?
    You might think why do we need to update the Item for which the picking List is already done.
    Well, the answer is to change & update the quantity of an Item in the Picking List Registration form.
     

    Solution:

                      Functionally Dynamics AX does not allow you update the quantity for an Item if the handling status value is “Complete” in “Picking List Registration” form.

     

    Setup:

    Here is the simple setup that needs to made in the AR parameters to upgrade an Item in Picking List Registration form.
    Accounts receivable à Parameters à Update (Picking route status) from “Completed” to “Activated”

    img515/791/p3ma5.jpg

    Try creating a Sales order and perform Picking List. Now check if you can change & update the quantity of an Item in “Picking List Registration” form. Once the quantity is updated reset the AR parameter to “Activated.”
    July 17

    Sending Quick Email From Dynamics Ax

    I would like to share a simple concept which most of us would have come across at least once when working on Dynamics Ax

    These days we use mail  to communicate with our business partner. To be more user friendly ERP, AX has already implemented two such classes by which Email can be sent directly without using Office Application.

     

    Classes that are used for Sending Email in AX are:

     

    v     SysInetMail

    v     ccSysInetMail

     

    Where ccSysInetMail extends the parent Class “SysInetMail”. By using the below example mail is sent via Outlook to the destination.

    Note: Outlook needs to be configured properly so as to send/receive any mails.

     

    Sending Quick Email

    static void Quick_Mail(Args _args)

    {

                ccSysInetMail  ccSysInetMail;

    ;

                ccSysInetMail = new ccSysInetMail ();         

    //Parameters 
    //public void sendMail(str name, str subject, str text, boolean dialog)

                ccSysInetMail.sendMail(‘xyz@microsoft.com', 'Hi', 'Ax Mail', true);

    }

     

    Sending Mail Attachments

    static void Quick_MailAttachements(Args _args)

    {

                ccSysInetMail  ccSysInetMail;

    ;

                ccSysInetMail = new ccSysInetMail ();    

    //Parameters
    //public void sendMailAttach (str _toName, str _ccName, str _subject, str _text, 
    boolean _dialog, str _attachPath,[str _attachName])

                ccSysInetMail.sendMailAttach (‘xyz@microsoft.com', ‘abc@hotmail.com’, ‘Test Project’, ‘Please find the attached XPO’, true, ‘C:\AIF\TstPrj’);

    }

     

    Happy Mailing E-mail from AX

    Microsoft Dynamics AX 2009 White Paper - Posting to the Ledger

    White Paper on Posting to the Ledger has been released Party.
    This white paper covers the Ledger Voucher classes and functionality and how to use them to post to the ledger.The information lists the classes that are involved in the process and examples for their use.
     
          img210/8471/62891633ll9.jpg
    July 13

    Microsoft Dynamics AX 2009 User Experience Guidelines

     
                              The new User Experience (UX) will be known as "Role-Tailored" user interfaces.   
     
    AX2009 supports:
             i.            SDI (Single Document Interface): This translates into a new page loading into the same space in which the old one was loaded, instead of opening into a new window.
        ii.           MDI (Multiple Document Interface): Enables users to work with multiple documents at the same time. Each document is in a separate space with its own controls for scrolling. The user can see and work with different documents such as a spreadsheet, a text document, or a drawing space by simply moving the cursor from one space to another.
     
    What's New:
    New page type that have been added to Microsoft Dynamics AX2009
             i.            Role Center
           ii.            List Pages
          iii.            Area Pages
         iv.            Directory Views.
      
    To know more about
    v     How User experience guidelines are designed?
    v     Guidelines to follow before designing new/existing features in AX2009.
     
           Reference:

    Microsoft Dynamics AX 2009 Press Overview

     
    Hello.
    I found a video that exclusively demonstrates the purpose of Enterprise Portal Role Centers in Dynamics AX 2009
    img237/3748/aprilhl1.jpg
    July 10

    G S in Dynamics AX

    I would like to thank my friend Bhasker Singh for his valuable inputs on Data crawler in AX.

     

    Are you wondering what does G S refer to…?

    Is it Google Search (or) Global Search in Dynamics AX?

    Well name, as you like because the first thing that comes to your mind when you read “GOOGLE” is? Everyone would have guessed it correctly. Yes it’s Searching.

    Dynamics AX has one such feature integrated onto it. Any required information can be search quickly.

     

    Introduction:

    The Dynamics AX Data Crawler indexes business data stored in the Dynamics AX database. The common name given to it is Global Search. The data crawler is a simple indexing engine completely implemented in X++ for the purpose of creating a searchable index of selected tables in the Application. Dynamics Ax Global Search is a feature added to the task pane in Dynamics Ax 4.0. It enables users to search for information without specifying the table and field as opposed to conventional search. The Global Search Task Pane could be brought up by pressing the shortcut key Ctrl + F.

     

    Configuration:

    The Data crawler is configured and executed from the Dynamics AX client by clicking

    Basic à Setup à Data Crawler

    The two components relevant to this feature are as follows:

    ü      Table Setup

    ü      Data Crawler Setup

     

    1. Table Setup

    This form is found at the main menu Basic > Setup > Data Crawler > Table Setup. This is where you specify the table, which you would like to search within Dynamics Ax.

    The following figures show the Table Setup form.
     img295/7069/dsjd0.png
     
     The Incremental checkbox you find on Overview tab indicates that indexing would be done for newly modified record only. This is only applicable for tables with modified date field. It is automatically checked if the table has the field. You are not given an option to check or uncheck this field.
     
    2. Data Crawler Setup

    The Data crawler is configured and executed from the Dynamics AX client in Basic > Setup > Data Crawler > Data Crawler. The following figure shows the Data Crawler Setup form.

    img99/6337/53193598do2.jpg

    Message ”The search indexing engine is not started” is displayed until crawler is not started. If crawler is not started then searching of records in Dynamics AX isn’t possible.

     

    Run in Background:

    If this option is not checked then it will lock the client and we must have to start another client in order to check the status or to stop the crawler. It is possible to start the crawler in a separate thread on the AOS, so the crawler will index in the background and the Axapta client will be able to continue with other tasks.

                                                    By setting the data crawler to "run in the background" it will allocate a thread to look for the table changes needed and not lock the client.

      

    Start Crawler Automatically:

    Setting the "Start Crawler Automatically" will allow the search index creation to happen on a user log in without manually clicking the "Start Search" button achieving the required business impact statement of "records inserted should be searched by other users.” It is recommended always to set the "Start Crawler Automatically" setting and monitor the system.

     

    Crawler Speed:

    By reading the name itself you can understand at what speed the crawler need to index the existing/newly created records on the server.

    Note: A higher speed means a greater load on the server, which can affect performance.

     

    Issues:

    One of the concerns in Data crawler is, if crawler tab shows “Inactive” then any newly inserted/deleted records is not indexed thereby the records are not searchable.

    Reason:

    “Inactive” state in crawler tab is because if any record inserted/deleted the DaemonClockInTime needs to be updated to timenow (). If the thread stops processing any new record then the difference b/w (timenow () - this. DaemonClockInTime > 600)). Due to which the status turns “Inactive.” Thereby it cannot search any records that are newly created/deleted in Dynamics AX.

     

    WorkAround:

    1. Check the option "Start Crawler Automatically” This will ensure that the Crawler never turns to "Inactive.”

                    

    2. However even with option (1) handled, if AOS is restarted, Data Crawler will turn “Inactive” after 600 secs.

                                        Hence whenever AOS is restarted, make sure that "Data crawler" is stopped and restarted so that any new records inserted/deleted will be indexed and would be searchable.

     

    Indexing is Dynamics AX is so faster that even 1000 records can be searched in less than 1 min. Shown below is the indexed records.

    img74/5112/53379554jg5.jpgJJJHappy Global searching in Dynamics AX JJJ