DAX Blogger | Santosh Ramamurthy

DAX Blogger | Santosh Ramamurthy
  • Create/Delete Customer using AIF Service Class in Dynamics AX

    The Application Integration Framework allows us to create/update/delete or read data. Now in AX2009 we have a facility of creating/deleting records using AIF Service classes. There is "NO ADDITIONAL AIF SETUP"(Like Enabling Endpoints etc.) required...
  • AIF Find/Read Service Class in Dynamics AX

    In continuance to my existing article about AIF Service classes in Dynamics AX. Here is the sample class by which we can read/find the data from a table and publish it using AIF Service. static void ExpenseReadOutbound () {     AifEntityKey...
  • 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...
  • Microsoft Dynamics AX 2009 Development Cookbook

    Hi, Dynamics AX Cook book is a AX2009 Guide. This book focuses on commonly used custom modifications in major Dynamics AX modules. This book contains commonly used bits of code which were real-world tested in at least one successful Dynamics...
  • Workflow Error “No .NET Business Connector Session could be found” in Dynamics AX2009

    Have you ever encountered such type of error in Workflow? Well I did… I tried to submit a Workflow Purchase requisition and I ended up getting the following error constantly in my event Viewer. However there was no error … Continue reading →
  • What is the “Message Limit Of INFOLOG” in Dynamics AX?

    AX Developers just play around with infolog framework provided by Microsoft. But did we ever know what the maximum limit which an infolog can hold? Well… The answer is quite simple. Quick Lab: Run the following job and it would result in the...
  • 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)   ...
  • 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...
  • Get File Encoding in Dynamics AX using X++

    Hi All, Recently there was an interesting query from one of the technical forum. Publisher: http://objectmix.com/axapta/789064-get-file-encoding.html Question: How to get encoding file format from xml in Dynamics AX? Answer: I have created...
  • Workflow Error “No .NET Business Connector Session could be found” in Dynamics AX2009

    Have you ever encountered such type of error in Workflow? Well I did… I tried to submit a Workflow Purchase requisition and I ended up getting the following error constantly in my event Viewer. However there was no error in the AX client when submitting...
  • Development Tips on Application Integration Framework

    Is there any way to turn off the mandatory fields when working on AIF? All the table fields for which the mandatory field is said to “Yes” are by default enabled in AIF data-policies form. To make this field as not mandatory on Ax Table classes. ...
  • Creating, Processing Cube in Ax2009

    Hi all,   The document explains in detail about cube processing and deployment using Ax2009 and BI .   Attached the XPO of PERSPECTIVE for creating cubes.   This document is based on the Ax2009 Help . It gives an overview of cubes...
  • Dynamics AX2012: Create Custom Service using X++

    Case Study: In this demo scenario, we create a custom service to find the inventory onhand physical item quantity from AX2012. To expose any Custom Service, method should be ‘public’ Access Specifiers & should be defined by an attribute...
  • Finding Dimension Array name in Dynamics AX using X++

    Dimension in AX/SQL are stored as arrays as shown below in SysTableBrowser window. In SysTableBrowser all the fields apart from SalesId are pointing to “Dimension”. This might be quite confusing at times to people who look AX for the first time...
  • Error occurred executing stored procedure when creating session for the AOS

    Please Note:   All this code snippets are a result of some development that came up from time to time. Please feel free to use them for your own use with discretion.   In AX2009 I tried manually creating DB and pointing Dynamics server to the created...
  • Generating XML for Excel import - via Definition Group

    As a business partner you may require different ways of sending records as xML outside AX. Here is one such customization, which was done in the Excel Definition group to outbound an xML when record is inserted into the table.   We have used the...
  • Run-Time Cache Error in AIF

    When importing xML's into Dynamics AX, I came across a strange error “Cannot create a record. The record already exists in AIF run time cache”.   When I browsed the table, I found a record with the Axd Class name as Key value and a value mapped...
  • AX Spell Checker Suggestion

    “SysSpellChecker” as the name suggest checks the spelling mistake and provides you with the list of spellings that may be useful or applicable. Sample job is illustrated using SysSpellChecker class. AX spell checker class is integrated with Word where...
  • Microsoft Dynamics AX 2009 EP Development Cookbook

    Hi All,   A consolidate EP Development Cook on EP is released. Folks the AX 2009 EP Cookbook: http://blogs.msdn.com/epblog/attachment/9944064.ashx . The cookbook talks more about EP development...   Thanks Mey  for taking the pain in...
  • TreeNode AOT Save – Did you know?

    Today I had a small requirement from one of my colleague stating he would like to update a particular table field property using X++ code for upgrade purpose. So I wrote a sample job when I actually found that, if treeNode is traversed all the way...
  • Configuration Key Status Using X++ Code

    As we are aware, Configuration key controls access to specific feature. To know about the status of a configuration key, the user has to traverse Administration->Setup->System-> Configuration. Instead with the following job, a user can know...
  • Difference b/w SELECT AND FIELDSELECT in Dynamics AX

    Hi,   X++ contains special language feature (i.e. embedded SQL).So we use select query in X++ directly to fetch/retrieve data. SELECT in Dynamics AX can be distinguished into two types. ·          normal Select ·          field Select There...
  • Microsoft Dynamics AX 2009 Enterprise Portal Deployment

    Thanks to Mey for providing an opportunity to join an administrator oriented Deployment and Setup discussion on Enterprise Portal for Microsoft Dynamics AX 2009. In his own words "This session provides deep insight into the EP deployment process...
  • Multiple XPO Import Tool for Dynamics AX

    I have developed a tool for importing multiple XPO’s using single instance as there is a limitation for now in AX since it allows only single object importing.The sneak peak of the tool which I have developed: I have attached documentation, on how...
  • System Classes in Dynamics AX

    I have provided few sample examples of System Class function which are really useful in development of X++.   RandomGenerate Class :   This class generates random numbers. static void RandomGenerateEg(Args _args) { ...