Santosh.'s profileDynamics AxPhotosBlogLists Tools Help

Blog


    July 15

    AIF Outbound Setup in AX2009

     

    Usage of AIF in AX is increasing day by day. I have taken the pain of explaining the outbound setup process in AIF using File System Adapter.

    Path to Download the Setup:

    http://cid-264a0056cbcbb1d3.skydrive.live.com/self.aspx/.Public/AIF%7C_Ax2009.docx

    This document explains in depth process involved for configuring AIF. AIF in comparsion to AX2009 with AX40 has improved features.

    ·         Actions which were used in AX40 is now scrapped in AX2009 and is completely dealt with web service

    ·         Create; read, update, and delete (CRUD) operations are now supported.

    ·         The programming model for AIF supports document services that encapsulate business logic and are the interface to external systems.

    ·         AIF provides functionality for consuming external Web services from within X++.

    ·         Performance improvements include the ability to scale up and handle more messages through parallel message processing and the addition of multiple AOSs.

    ·         New document services for additional commonly-used documents.

    The AIF architecture showing the transport layers above and the business logic layers below.

    AIF Architecture

    Consuming Web Services in Microsoft Dynamics AX 2009 White Paper (By Sanjay Jain)

    http://www.microsoft.com/downloads/details.aspx?FamilyID=ef3a50d2-61c8-4ffc-bce8-2caf038f98cd&displaylang=en

    Microsoft Dynamics AX 2009 Server and Database Administration Guide

    http://www.microsoft.com/downloads/details.aspx?FamilyId=E7BFB7A8-EB99-4171-B75A-D9A37067BC19&displaylang=en#filelist
    The above link explains the BATCH CONFIGURATION FOR AIF.

    In future I would also be adding the process involved for Configuring and Processing Inbound through AIF Surprised

    July 09

    Enable/Disable keys using Task Macro in Dynamics AX

     

    Hi,

     

    Back again with one more small trick J. How to restrict access for users  perform any task on AX forms? I tried implementing this using Task macro.  Here is the detailed procedure for it.

     

    In AOT Task Macro (\Macros\Task)

     

    ·         Define Task-ID values, to be used with form Control’s

    34080536.jpg

     

    Note: To know any task id in AX. Put the debugger in the \Classes\SysSetupFormRun\task and observe the watch window for the value of _p1 (task id)

    ·         Now place the following code in \Classes\SysSetupFormRun\task before super() call

     

               //Disable Hide/Setup/Go to Main Table Task

                if (_p1 == #taskFilterHide || _p1 == #taskFilterSetup || _p1 == #taskMainTable)

               {

                         Box::info ("@SYS81158", strfmt ("@SYS72189"));

              

                         if (DialogButton::Ok)

                                    return 0;

               }

              

               90724390.jpg

     

    Now if any of above action is performed then user will end up seeing no access rights Embarrassed.

     

     

    July 01

    Error: Cannot execute a data definition language command on ().

     

    Hi All,

                      I would like to share a job which i found in a technical forum. Most of us would have ran into issue "SQL database error" when data is loaded in Dynamics AX. In order to fix it please run through the job found in the attached link.

     
     

    Happy dAxInG................Smile