<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet type='text/xsl' href='http://casperkamal.spaces.live.com/mmm2008-07-24_12.50/rsspretty.aspx?rssquery=en-US;http%3a%2f%2fcasperkamal.spaces.live.com%2fcategory%2fAx%2bTechnical%2ffeed.rss' version='1.0'?><rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:msn="http://schemas.microsoft.com/msn/spaces/2005/rss" xmlns:live="http://schemas.microsoft.com/live/spaces/2006/rss" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:cf="http://www.microsoft.com/schemas/rss/core/2005" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Kamal's space: Ax Technical</title><description /><link>http://casperkamal.spaces.live.com/?_c11_BlogPart_BlogPart=blogview&amp;_c=BlogPart&amp;partqs=catAx%2bTechnical</link><language>en-US</language><pubDate>Wed, 20 Aug 2008 05:10:23 GMT</pubDate><lastBuildDate>Wed, 20 Aug 2008 05:10:23 GMT</lastBuildDate><generator>Microsoft Spaces v1.1</generator><docs>http://www.rssboard.org/rss-specification</docs><ttl>60</ttl><cf:parentRSS>http://casperkamal.spaces.live.com/blog/feed.rss</cf:parentRSS><live:type>blogcategory</live:type><live:identity><live:id>-7982369448932160157</live:id><live:alias>casperkamal</live:alias></live:identity><cf:listinfo><cf:group ns="http://schemas.microsoft.com/live/spaces/2006/rss" element="typelabel" label="Type" /><cf:group ns="http://schemas.microsoft.com/live/spaces/2006/rss" element="tag" label="Tag" /><cf:group element="category" label="Category" /><cf:sort element="pubDate" label="Date" data-type="date" default="true" /><cf:sort element="title" label="Title" data-type="string" /><cf:sort ns="http://purl.org/rss/1.0/modules/slash/" element="comments" label="Comments" data-type="number" /></cf:listinfo><item><title>Using record templates in code for Dynamics Ax 4.0.</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!398.entry</link><description>&lt;div&gt;&lt;br&gt;&lt;font size=2&gt;This article deals with defaulting values from record templates through code in Dynamics Ax 4.0.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;Whenever you creat a new record in the Item form, a small form opens up showing up the templates. You can choose one of the templates from which you want to the basic values like &amp;quot;Item Group&amp;quot;, &amp;quot;Dimension Group&amp;quot; to be copied.(Provided you have setup a template for that table).&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;p align=center&gt;&lt;a href="http://picasaweb.google.co.in/casperkamal.dax/SpacesBlog/photo?authkey=qd0XT4HE0j8#5198746669652312306"&gt;&lt;font size=2&gt;&lt;img src="http://lh6.ggpht.com/casperkamal.dax/SCWojUnfAPI/AAAAAAAAAB8/-i5jOpWArY0/s800/untitled.JPG"&gt;&lt;/font&gt;&lt;/a&gt;&lt;font size=2&gt; &lt;/font&gt;
&lt;p&gt;&lt;font size=2&gt;  &lt;/font&gt;
&lt;div&gt;&lt;font size=2&gt;This comes handy to create new records further as most of the value is drawn from the template record itself. You can harness this when you do it through code also :) ....  The following lines will throw light on how to do it.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;1. Assume that you have the template name, then all that you need is to create a new record based on the template.&lt;br&gt;These three lines will do the job...&lt;/font&gt;&lt;/div&gt;&lt;pre&gt;&lt;font size=2&gt;    sysRecordTemplate = SysRecordTemplate::newCommon(inventTable); 
    sysRecordTemplate.parmForceCompanyTemplate('Feed'); &lt;font color="#00b050"&gt;//Template name as string&lt;/font&gt;
    sysRecordTemplate.createRecord();&lt;/font&gt;&lt;/pre&gt;
&lt;div&gt;&lt;font size=2&gt;There are two kind of templates one common for the entire company and the other for specific user. In my example i have taken the company template, for the simple reason that it is valid across all accounts.&lt;br&gt; &lt;br&gt;2. The above code pressumes that you might know the template name in prior. Sometimes you may want to give user a option of telling what template he wants to use. In that case we may need to create a template for him.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;Here is the code that will enable the lookup and validate the selection. Bind these methods to the control where the user selects.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;&lt;pre&gt;&lt;div&gt;&lt;font size=2&gt;&lt;font color="#92d050"&gt;&lt;font color="#00b050"&gt;//Call this method in the init method of form&lt;/font&gt;&lt;br&gt;&lt;/font&gt;&lt;strong&gt;SysRecordTmpTemplate VCTInitItemTemplates&lt;/strong&gt;()&lt;br&gt;{&lt;br&gt;    Container               recordValues;&lt;br&gt;    ;&lt;br&gt;&lt;br&gt;    recordValues = SysRecordTemplateTable::find(tablenum(inventTable)).Data;&lt;br&gt;    recordValues =  condel(recordValues,1,1);&lt;br&gt;    &lt;font color="#00b050"&gt;//tmp1 - Global variable for lookup &lt;/font&gt;   &lt;br&gt;    SysRecordTmpTemplate::insertContainer(tablenum(inventTable), tmp1, recordValues, SysRecordTemplateType::Company, true);&lt;br&gt;    &lt;font color="#00b050"&gt;//tmp2 - Global variable for validation&lt;br&gt;&lt;/font&gt;    SysRecordTmpTemplate::insertContainer(tablenum(inventTable), tmp2, recordValues, SysRecordTemplateType::Company, true);&lt;br&gt;    return tmp;&lt;br&gt;}&lt;/font&gt;&lt;/div&gt;&lt;div&gt;&lt;font size=2&gt;&lt;br&gt;&lt;br&gt;&lt;font color="#00b050"&gt;//Override the lookup method&lt;br&gt;&lt;/font&gt;&lt;strong&gt;public void lookup&lt;/strong&gt;()&lt;br&gt;{&lt;br&gt;    SysTableLookup          sysTableLookup;&lt;br&gt;    SysRecordTmpTemplate    tmp;&lt;br&gt;    Container               recordValues;&lt;br&gt;    ;&lt;br&gt;&lt;br&gt;    super();&lt;br&gt;   &lt;br&gt;    sysTableLookup = SysTableLookup::newParameters(tablenum(SysRecordTmpTemplate), this);&lt;br&gt;&lt;br&gt;    &lt;font color="#00b050"&gt;//Add the fields to be shown in the lookup form&lt;/font&gt;&lt;br&gt;    sysTableLookup.addLookupfield(fieldnum(SysRecordTmpTemplate, Description), true);&lt;br&gt;&lt;br&gt;    sysTableLookup.parmUseLookupValue(false);&lt;br&gt;    sysTableLookup.parmTmpBuffer(tmp2);&lt;br&gt;    &lt;font color="#00b050"&gt;// Perform lookup&lt;/font&gt;&lt;br&gt;    sysTableLookup.performFormLookup();&lt;br&gt;}       &lt;/font&gt;&lt;/div&gt;&lt;/pre&gt;&lt;pre&gt;&lt;font size=2&gt;&lt;font color="#00b050"&gt;//Override the modified method&lt;/font&gt;
&lt;strong&gt;public boolean modified&lt;/strong&gt;()
{
    boolean                 ret;
    SysRecordTmpTemplate    tmp;
    container               recordValues;
    ;

    ret = super();

    select firstonly tmp2 where tmp2.Description == this.valueStr();

    if (!tmp2 &amp;amp;&amp;amp; this.valueStr())
    {
        this.text('');
        warning ('Invalid selection.');
        return false;
    }

    return ret;
}&lt;/font&gt;&lt;/pre&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;This also helps you learn usage of temporary tables for lookup's. The following line enables lookups through temporary table.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div align=center&gt;&lt;font face="Courier New" size=2&gt;&lt;strong&gt;sysTableLookup.parmTmpBuffer(tmp2);&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;Hope now you can implement a full fledged code that will create it's record from an pre exisiting template.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;font face="Lucida Handwriting"&gt;----------- any template for codes where i can just get all the code that i want&lt;/font&gt; &lt;img title=Wink style="vertical-align:middle" alt=Wink src="http://shared.live.com/HjKMzTS-xzcms40!CabizA/emoticons/smile_wink.gif"&gt;&lt;/font&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+Using+record+templates+in+code+for+Dynamics+Ax+4.0.&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!398.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!398.entry</guid><pubDate>Sat, 10 May 2008 14:07:23 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!398/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!398.entry#comment</wfw:comment><dcterms:modified>2008-05-10T14:13:04Z</dcterms:modified></item><item><title>Missing Dll for "Autozip for Dax" loaded</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!390.entry</link><description>&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=3&gt;   I'm extremely sorry guys..... very lately after few emails from the readers i realized that i have missed the Dll file that is required to enable the Autozip option working.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=3&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=3&gt;   My sincere apologies. I have loaded the xpo and the dll in the following location :)&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=3&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=3&gt;   &lt;/font&gt;&lt;a href="http://www.axaptapedia.com/Image:Autozip_V1.0.zip" target="_blank"&gt;&lt;font size=3&gt;Download AutoZip.zip file&lt;/font&gt;&lt;/a&gt;&lt;a href="http://www.axaptapedia.com/Image:Autozip_V1.0.zip"&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=3&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=3&gt;   Hope now you are able to use the Autozip option &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=3&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=3&gt; ...............&lt;img title=Embarrassed style="vertical-align:middle" alt=Embarrassed src="http://shared.live.com/HjKMzTS-xzcms40!CabizA/emoticons/smile_embaressed.gif"&gt; sorry :(&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;    &lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+Missing+Dll+for+%22Autozip+for+Dax%22+loaded&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!390.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!390.entry</guid><pubDate>Wed, 30 Apr 2008 06:42:08 GMT</pubDate><slash:comments>3</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!390/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!390.entry#comment</wfw:comment><dcterms:modified>2008-04-30T06:42:08Z</dcterms:modified></item><item><title>Autozip 1.0 for Dynamics Ax 4.0</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!380.entry</link><description>&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; A Promise is a promise....&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; Here guys the &lt;font size=3&gt;&lt;strong&gt;Autozip for Dynamics Ax 4.0&lt;/strong&gt; &lt;/font&gt;which i promised a long time back &lt;a href="http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!335.entry" target="_blank"&gt;(click to see my promise)&lt;/a&gt;&lt;img title=Open-mouthed style="vertical-align:middle" height=19 alt=Open-mouthed src="http://shared.live.com/HjKMzTS-xzcms40!CabizA/emoticons/smile_teeth.gif" width=19&gt;.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; It is pretty simple to use. Here is a short brief of how to install it.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;  &lt;a href="http://www.axaptapedia.com/Image:SharedProject_AutoZip.xpo" target="_blank"&gt;Download it Here: Autozip 1.0 for Dynamics Ax 4.0&lt;/a&gt;&lt;a href="http://www.axaptapedia.com/Image:SharedProject_AutoZip.xpo"&gt;&lt;font size=1&gt;(click to land in the download page)&lt;/font&gt;&lt;/a&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;br&gt; &lt;/font&gt;&lt;font size=2&gt;&lt;strong&gt;Installing Autozip&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;p&gt;&lt;font size=2&gt; 1. Dowload and Extract the zip file from the following place...&lt;br&gt; 2. Add the dll file from the extract to your bin directory and simlarly add an reference to it in your AOT&lt;br&gt; 3. Now import the XPO.&lt;br&gt; 4. Autozip is ready to use.&lt;/font&gt; 
&lt;div&gt;&lt;font size=2&gt;&lt;strong&gt;What's the use of Autozip&lt;/strong&gt;&lt;br&gt;  &lt;br&gt; Autozip let's you automatically zip the exported xpo and similary import an zip file rather a xpo.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;strong&gt;How to zip during Export&lt;/strong&gt;&lt;br&gt; &lt;br&gt; 1. Just click the zip file option while u export.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;               &lt;img src="http://aycu36.webshots.com/image/47875/2003695811437517079_rs.jpg"&gt;&lt;br&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;2. It will export one .xpo file and one .zip file&lt;/font&gt;&lt;/div&gt;
&lt;p&gt;&lt;font size=2&gt; &lt;strong&gt;How to import a zip file&lt;br&gt;&lt;/strong&gt; &lt;br&gt; 1. Just open any drive and point to a zip file that contains xpo's(doesn't matter if it contain other files inside it also)&lt;br&gt; 2. That's all ... all xpo files inside the zip will be imported.&lt;br&gt; &lt;br&gt;&lt;strong&gt;Can you use this for your own custom development?&lt;/strong&gt;&lt;/font&gt; 
&lt;div&gt;&lt;font size=2&gt;  Yes you can use it. Please refer to the Job &amp;quot;JobAutozip&amp;quot; along with this project to know about it.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;strong&gt;Missing Feature&lt;/strong&gt;&lt;br&gt; &lt;br&gt; 1. If your zip file extracts them as folders and puts the xpo inside folders, the system will not find them. (This fill&lt;br&gt;    be fixed in the next release)&lt;br&gt; &lt;br&gt; &lt;strong&gt;Enhancements&lt;/strong&gt;&lt;br&gt; &lt;br&gt; 1. An option to delete the .xpo file which get's exported.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;strong&gt;Axaptapedia Link&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;Also available at Axaptapedial here ......  &lt;a href="http://www.axaptapedia.com/Autozip_for_Dax_4.0"&gt;http://www.axaptapedia.com/Autozip_for_Dax_4.0&lt;/a&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; Do let me know your comments.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; Keep zipping :)&lt;/font&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+Autozip+1.0+for+Dynamics+Ax+4.0&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!380.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!380.entry</guid><pubDate>Sun, 30 Mar 2008 12:43:24 GMT</pubDate><slash:comments>6</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!380/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!380.entry#comment</wfw:comment><dcterms:modified>2008-03-30T12:43:24Z</dcterms:modified></item><item><title>Sending alerts through code without error in Ax</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!376.entry</link><description>&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; There was an article sometime back by &lt;a href="http://axaptafreak.blogspot.com/" target="_blank"&gt;Helmut&lt;/a&gt; on &lt;a href="http://axaptafreak.blogspot.com/2007/03/send-message-to-online-user-in-dynamics.html"&gt;&amp;quot;sending alerts through code&amp;quot;&lt;font size=1&gt;(click to read the article)&lt;/font&gt;&lt;/a&gt;&lt;font size=1&gt;, &lt;/font&gt;there was one problem with the code as helmut had quoted&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;    &lt;font color="#953734"&gt;&lt;strong&gt;&amp;quot;* you will get an error in the alert form on the second tab&amp;quot;&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;  The error will not crop up if you use the following code....&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New" size=2&gt;void sendMessageToUsers()&lt;br&gt;{&lt;br&gt;    SysMailer           mail;&lt;br&gt;    UserInfo            UserInfo;&lt;br&gt;    EventInbox          inbox;&lt;br&gt;    EventInboxId        inboxId;&lt;br&gt;    ;&lt;br&gt;    &lt;br&gt;    select UserInfo where UserInfo.id == CurUserId();&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New" size=2&gt;    inboxId = EventInbox::nextEventId();&lt;br&gt;    &lt;br&gt;    inbox.initValue();&lt;br&gt;    inbox.ShowPopup     = NoYes::Yes;&lt;br&gt;    inbox.Subject       = &amp;quot;Testing alert via code&amp;quot;;&lt;br&gt;    inbox.Message       = &amp;quot;Hello we are alerting&amp;quot;;&lt;br&gt;    inbox.AlertedFor    = &amp;quot;This alert is just information no links are available&amp;quot;;&lt;br&gt;    inbox.SendEmail     = false;&lt;br&gt;    inbox.UserId        = UserInfo.Id;&lt;br&gt;    inbox.TypeId        = classnum(EventType);&lt;br&gt;    &lt;font color="#00b050"&gt;&lt;strong&gt;//Give any table and field values&lt;/strong&gt;&lt;/font&gt;&lt;br&gt;    inbox.AlertTableId  = TableNum(Address);&lt;br&gt;    inbox.AlertFieldId  = fieldNum(Address ,Name);&lt;br&gt;    inbox.TypeTrigger   = EventTypeTrigger::FieldChanged;&lt;br&gt;    inbox.CompanyId     = CurExt();&lt;br&gt;    inbox.InboxId       = inboxId;&lt;br&gt;    inbox.AlertCreatedDate = systemdateget();&lt;br&gt;    inbox.AlertCreateTime  = timeNow();&lt;br&gt;    inbox.insert();&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New" size=2&gt;}&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New" size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New" size=2&gt; &lt;font face=Arial&gt;...... &lt;img title=Auto style="vertical-align:middle" alt=Auto src="http://shared.live.com/HjKMzTS-xzcms40!CabizA/emoticons/car.gif"&gt; Alert plz Alert &lt;img title=Smile style="vertical-align:middle" alt=Smile src="http://shared.live.com/HjKMzTS-xzcms40!CabizA/emoticons/smile_regular.gif"&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+Sending+alerts+through+code+without+error+in+Ax&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!376.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!376.entry</guid><pubDate>Mon, 24 Mar 2008 14:28:34 GMT</pubDate><slash:comments>1</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!376/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!376.entry#comment</wfw:comment><dcterms:modified>2008-03-24T14:28:34Z</dcterms:modified></item><item><title>Creating new Syscontext Menu in Dynamics Ax 4.0</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!302.entry</link><description>&lt;div&gt;&lt;font size=2&gt;                      &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; Custom menu can be added to &amp;quot;Add-ins&amp;quot; portion of the context menu, this article would explain you in creating  a menu like that...&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;          &lt;img src="http://aycu21.webshots.com/image/15260/2000046629855996403_rs.jpg"&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;1. Drag the menuItem that you wanted to be activated in to the syscontextmenu &lt;br&gt;    &lt;strong&gt;&lt;em&gt;\Menus\sysContextMenu&lt;/em&gt;&lt;/strong&gt;&lt;br&gt;   &lt;br&gt;2. Create a sub menu if you want your add ins menu to appear under one submenu like Copy\EntierPath or Copy\Name.... or a separator if you want to differentiate that particular menu item.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;em&gt;&lt;font face="Geneva, Arial, Sans-serif" size=2&gt;    &lt;/font&gt;&lt;/em&gt;&lt;/strong&gt;&lt;strong&gt;&lt;em&gt;&lt;font face="Geneva, Arial, Sans-serif" size=2&gt;            The moment you drag and drop your menuitem in to Syscontextmenu, the new context menu would start appearing in the context menu. The steps to follow would help you in finding out the objects that are selected and process it.&lt;/font&gt;&lt;/em&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;3. The next step would be to decide when the context menu should appear  when you select forms or tables,&lt;br&gt;   and can it work for multiple selection..&lt;br&gt;   To implement this you will have to go to &lt;br&gt;   &lt;strong&gt;&lt;em&gt;\Classes\SysContextMenu\VerifyItem&lt;/em&gt;&lt;/strong&gt; - Method&lt;br&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   You would find a big switch case statement like this ...&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   &lt;font face="Courier New, Courier, Monospace" color="#3366ff"&gt;switch (menuItemType)&lt;br&gt;  {&lt;br&gt;        case MenuItemType::Display:&lt;br&gt;            switch (menuItemName)&lt;br&gt;            {                &lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#3366ff" size=2&gt;                case menuitemdisplaystr(SysVisioAddIn):&lt;br&gt;                    ...&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#3366ff" size=2&gt;                case menuitemdisplaystr(XRefReferencesUsedBy):&lt;br&gt;                     &lt;br&gt;                    ...&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#3366ff" size=2&gt;                case menuitemdisplaystr(SysTableMaps):&lt;br&gt;                   &lt;br&gt;                  ...&lt;br&gt;       }&lt;br&gt;    case MenuItemType::Action:     &lt;br&gt;            switch (menuItemName)&lt;br&gt;            {&lt;br&gt;                case menuitemactionstr(SysCodeExplorer):&lt;br&gt;                    ...&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#3366ff" size=2&gt;                case menuitemactionstr(xRefUpdate) :&lt;br&gt;                  ...&lt;br&gt;            }&lt;br&gt;    } &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New" color="#3366ff" size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;    Now just write a case for your menuitem depending on the type on the appropriate section&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;4. You have few variables based on which you could make your decision&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   &lt;strong&gt;variable: &lt;br&gt;&lt;/strong&gt;   &lt;font color="#008000"&gt;_firstType&lt;/font&gt; =&amp;gt; has the UtilElementType of the first node selected&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   &lt;strong&gt;Usage:&lt;/strong&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   &lt;font face="Courier New, Courier, Monospace" color="#0000ff"&gt; if (_firstType &amp;amp;&amp;amp;&lt;br&gt;        (_firstType == UtilElementType::Table                 ||&lt;br&gt;         _firstType == UtilElementType::TableInstanceMethod   ||&lt;br&gt;         _firstType == UtilElementType::TableStaticMethod     ||&lt;br&gt;         _firstType == UtilElementType::Macro )&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;font face="Courier New, Courier, Monospace" color="#0000ff"&gt;   {&lt;br&gt;          return 1;&lt;br&gt;   }  &lt;/font&gt;  &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   The menuitem will be enabled only if the  _firstType belongs to any of these specified UtilElementType&lt;br&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   &lt;strong&gt;variable:&lt;/strong&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;br&gt;   &lt;font color="#008000"&gt;firstnode&lt;/font&gt;  =&amp;gt; has the treenode of the first node selected&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;   &lt;strong&gt;Usage:&lt;/strong&gt;   &lt;br&gt;   &lt;font face="Courier New, Courier, Monospace" color="#0000ff" size=2&gt;i&lt;/font&gt;&lt;font size=2&gt;&lt;font face="Courier New, Courier, Monospace" color="#0000ff"&gt;&lt;font face="Courier New, Courier, Monospace" color="#0000ff"&gt;f &lt;/font&gt;(firstNode.treeNodePath() == #HelpFilesPath)&lt;br&gt;  {&lt;br&gt;        return 1;&lt;br&gt;  }&lt;/font&gt; &lt;br&gt;&lt;/font&gt;                  &lt;br&gt;   &lt;font size=2&gt;&lt;strong&gt;Method:&lt;br&gt;&lt;/strong&gt;   &lt;font color="#008000"&gt;this.selectionCount()&lt;/font&gt; =&amp;gt; returns nubmer of node selected&lt;br&gt;  &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   &lt;/font&gt;&lt;font size=2&gt;&lt;strong&gt;Usage:&lt;br&gt;&lt;/strong&gt;  &lt;/font&gt;&lt;font face="Courier New, Courier, Monospace" color="#0000ff" size=2&gt; if(this.selectionCount() &amp;gt;= 1)&lt;br&gt;  return 1;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New" color="#0000ff"&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;4. &lt;/font&gt;&lt;font size=2&gt; The object that your menu item is pointing to can have the following code to find the objects that have&lt;br&gt;been selected&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#3366ff" size=2&gt; if (SysContextMenu::startedFrom(args))&lt;br&gt; {&lt;br&gt;      sysContextMenu = args.parmObject();&lt;br&gt;      treeNode = sysContextMenu.first();&lt;br&gt;      if (treeNode)&lt;br&gt;      {&lt;br&gt;          //Place your code here            &lt;br&gt;          treeNode = sysContextMenu.first();&lt;br&gt;      } &lt;br&gt; }&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;5. You can also add items of type MenuReference to your ContextMenu, say you want to have the &amp;quot;GeneralLedger&amp;quot; Module in the ContextMenu, then rightclick select new Menu Reference, you get the link to the module in syscontextmenu...something like this&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;     &lt;img height=248 src="http://aycu10.webshots.com/image/18929/2004139206569070229_rs.jpg" width=448&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;.........  mmm that's nice right ??? &lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_wink.gif"&gt;&lt;/font&gt;&lt;/div&gt;&lt;font size=2&gt;
&lt;div&gt;&lt;br&gt;&lt;/div&gt;&lt;/font&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+Creating+new+Syscontext+Menu+in+Dynamics+Ax+4.0&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!302.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!302.entry</guid><pubDate>Tue, 05 Jun 2007 15:03:37 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!302/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!302.entry#comment</wfw:comment><dcterms:modified>2007-06-05T15:03:37Z</dcterms:modified></item><item><title>Using ADO to read from Excel in Microsoft Dynamics Ax</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!288.entry</link><description>&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;        Sometime back i had a posting referring to &lt;a href="http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!222.entry"&gt;&lt;u&gt;Gloomies blog (click to see the old posting)&lt;/u&gt;&lt;/a&gt; on using ADO in Ax. Gloomie had  used COM based ADO control. Ax also has  predefined ADO Com classes which  you can use....&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;  Here's a small Job that will help you in working with the Inbuild ADO classes&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#0000ff" size=2&gt;static void JobADOtoAccessExcelInAxapta(Args _args)&lt;br&gt;{&lt;br&gt;    CCADOConnection  adoexcel     = new CCADOConnection();&lt;br&gt;    CCAdoxCatalog    adoCatalog   = new CCAdoxCatalog();&lt;br&gt;    COM              adoxCatalog  = new COM('ADOX.Catalog');&lt;br&gt;    CCADORecordSet   adoRecordSet = new CCADORecordSet();&lt;br&gt;    CCADOFields      adoFields;&lt;br&gt;    CCADOField       adoField;&lt;br&gt;    int               i;&lt;br&gt;    ;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#0000ff" size=2&gt;    adoexcel.connectionString(&amp;quot;Provider=Microsoft.Jet.OLEDB.4.0;Data Source=   &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#0000ff" size=2&gt;    C:\\TestAdo.xls  ;Extended &lt;/font&gt;&lt;font face="Courier New, Courier, Monospace" color="#0000ff" size=2&gt;Properties='Excel &lt;/font&gt;&lt;font face="Courier New, Courier, Monospace" color="#0000ff" size=2&gt;8.0;HDR=Yes;IMEX=1'&amp;quot;);&lt;br&gt;    adoexcel.open();&lt;br&gt;    adoxCatalog.activeConnection(adoexcel.connection());&lt;br&gt;    adoCatalog.adoxCatalog(adoxCatalog);&lt;br&gt;    print adoCatalog.tableName(1);&lt;br&gt;    pause;&lt;br&gt;    adoRecordSet.open(@&amp;quot;SELECT * FROM [SHEET1$]&amp;quot;, adoexcel);&lt;br&gt;    adoFields = adoRecordSet.fields();&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#0000ff" size=2&gt;    for (i = 0; i &amp;lt; adoFields.count(); i++)&lt;br&gt;    {&lt;br&gt;        adoField = adoFields.itemIdx(i);&lt;br&gt;        print adoField.name();&lt;br&gt;        pause;&lt;br&gt;    }&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#0000ff" size=2&gt;    while (! adoRecordSet.EOF())&lt;br&gt;    {&lt;br&gt;        for (i = 0; i &amp;lt; adoFields.count(); i++)&lt;br&gt;        {&lt;br&gt;            adoField = adoFields.itemIdx(i);&lt;br&gt;            print adoField.value();&lt;br&gt;            pause;&lt;br&gt;        }&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#0000ff" size=2&gt;        adoRecordSet.moveNext();&lt;br&gt;    }&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Courier New, Courier, Monospace" color="#0000ff" size=2&gt;}&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;Here is a snap shot of the excel that i used for the job....&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;img src="http://aycu04.webshots.com/image/14843/2004654057179371820_rs.jpg"&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;.................. Keep watching while I post more on this ... &lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_thinking.gif"&gt;&lt;/font&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+Using+ADO+to+read+from+Excel+in+Microsoft+Dynamics+Ax&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!288.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!288.entry</guid><pubDate>Sun, 13 May 2007 07:16:54 GMT</pubDate><slash:comments>2</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!288/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!288.entry#comment</wfw:comment><dcterms:modified>2007-05-13T07:16:54Z</dcterms:modified></item><item><title>#InventDimDevelop macro in Dynamics Ax</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!281.entry</link><description>&lt;div&gt;&lt;font size=2&gt;   &lt;strong&gt;#InventDimDevelop &lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   This is one Macro that we would come across frequently in Ax. But if we check out the Macro node all weu would find is a empty node with only a comment as shown below.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;font size=2&gt;   &lt;font color="#008000"&gt;&lt;strong&gt;/* used to locate code with direct dimension references */&lt;/strong&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;Even then it is a very significant macro, because it helps you identify all the places in Ax that directly affect Inventory dimensions. Say if we are adding a new Item dimension then we can just search for this particular macro in the AOT to find out the areas where there is a need to do some additional coding to get the new InventDimension in to effect. It is also advisable to take the help of cross referrence to complete the change to Inventory Dimension, because there are still some places where this macro has not be located.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;Make sure to use this Macro if there is any code that affects inventory dimensions, it would help a lot for your future changes and upgrades.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;font size=2&gt;........ a macro mystery solved &lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_shades.gif"&gt;  haa haa &lt;/font&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+%23InventDimDevelop+macro+in+Dynamics+Ax&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!281.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!281.entry</guid><pubDate>Wed, 02 May 2007 14:25:04 GMT</pubDate><slash:comments>1</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!281/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!281.entry#comment</wfw:comment><dcterms:modified>2007-05-02T14:25:04Z</dcterms:modified></item><item><title>creating Transparent forms in Dynamics Ax</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!271.entry</link><description>&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;You can  adjust the opacity of a form to make it partially transparent. One good example of such a form is the EventAttentionGrabber.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;Let us see how to create such forms......&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;font size=2&gt; To create such transparent forms is very simple, All you have to do is,&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;1. Change any of the specified property in the Form&lt;br&gt;(This is only applicable in the following cases 1. When the &amp;quot;Frame&amp;quot; property of the form is in &amp;quot;Border&amp;quot; or &amp;quot;None&amp;quot; 2. When the &amp;quot;Window Type&amp;quot; property of the form is &amp;quot;PopUP&amp;quot;)&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;2. Now on the init or run method of the form write the following code&lt;br&gt; &lt;br&gt;   &lt;/font&gt;&lt;em&gt;&lt;font face="Courier New, Courier, Monospace" size=2&gt;&lt;strong&gt;   WinAPI::setWindowLayered(element.hWnd());&lt;br&gt;&lt;/strong&gt;     &lt;font color="#339966"&gt;&lt;strong&gt;//opacityLevel can be an integer variable with max value of 255.&lt;/strong&gt;&lt;/font&gt;&lt;br&gt;&lt;strong&gt;      WinAPI::setLayeredWindowOpaque(element.hWnd(), opacityLevel);&lt;/strong&gt;&lt;/font&gt;&lt;/em&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;and this is how it looks ........&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;     &lt;img src="http://aycu17.webshots.com/image/14776/2000425997532444299_rs.jpg"&gt;&lt;br&gt;       &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;Here is a nice example download and check out a fading window ......&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;u&gt;&lt;font size=2&gt;  &lt;strong&gt;&lt;a href="http://www.axaptapedia.com/Image:Form_TransparentFormDemo.xpo"&gt;Transparent Form Demo&lt;/a&gt;(click to reach the download page)&lt;/strong&gt;&lt;/font&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;u&gt;&lt;font size=2&gt;&lt;/font&gt;&lt;/u&gt;&lt;/strong&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;font size=2&gt;......  that's nice &lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/rainbow.gif"&gt;&lt;/font&gt;&lt;/strong&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+creating+Transparent+forms+in+Dynamics+Ax&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!271.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!271.entry</guid><pubDate>Fri, 20 Apr 2007 13:27:30 GMT</pubDate><slash:comments>3</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!271/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!271.entry#comment</wfw:comment><dcterms:modified>2007-04-20T13:27:30Z</dcterms:modified></item><item><title>A simple utility for Dynamics Ax</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!266.entry</link><description>&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;Some days back i had to come up with a document containing the path of several forms in the navigation pane.I was bit lazy to type the path of every form, thought should have a simple utilty that can give me the path at a click. Finally i came up with one in about some half an hour :)&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;Here is the utility guys....  &lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_teeth.gif"&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;   &lt;font size=2&gt;&lt;a href="http://www.axaptapedia.com/Image:Job_JobGetCurrentPath.xpo"&gt;&lt;u&gt;Job Get Current Path (Click to download)&lt;/u&gt;&lt;/a&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;and this is how it works,&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;1. select the Node from the navigation pane&lt;/font&gt;&lt;/div&gt;&lt;font size=2&gt;
&lt;div&gt;&lt;br&gt;2. Run this Job,&lt;/div&gt;
&lt;div&gt;&lt;br&gt;3. You get a dialog box.  The dialog box asks for a value to replace with..  you can specify the symbol that you want to use in specifying path (specify &lt;strong&gt;&lt;em&gt;&amp;quot;-&amp;gt;&amp;quot; &lt;/em&gt;&lt;/strong&gt;for &amp;quot;&lt;strong&gt;&lt;em&gt;General Ledger -&amp;gt; Chart of Accounts&lt;/em&gt;&lt;/strong&gt;&amp;quot;, specify &amp;quot;&lt;strong&gt;&lt;em&gt;\&amp;quot;&lt;/em&gt;&lt;/strong&gt; for  &amp;quot;&lt;strong&gt;&lt;em&gt;General Ledger\Chart of Accounts&lt;/em&gt;&lt;/strong&gt;&amp;quot;) of your choice in the dialog box. The default value is &amp;quot; &lt;strong&gt;&lt;em&gt;-&amp;gt; &lt;/em&gt;&lt;/strong&gt;&amp;quot;.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;/font&gt;&lt;br&gt;&lt;font size=2&gt;4. You will get the path dislpayed in the infolog, copy and paste it in the document&lt;/font&gt; 
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   &lt;img src="http://aycu19.webshots.com/image/14578/2006288469101867129_rs.jpg"&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;    Though it is a simple job, it helped me a lot...... try out for yourself&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;......................mmm I made my functional gusy happy finally &lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_wink.gif"&gt;&lt;/font&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+A+simple+utility+for+Dynamics+Ax&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!266.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!266.entry</guid><pubDate>Tue, 17 Apr 2007 14:37:50 GMT</pubDate><slash:comments>1</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!266/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!266.entry#comment</wfw:comment><dcterms:modified>2007-04-17T14:37:50Z</dcterms:modified></item><item><title>Using the External Identifier with Aif in Dynamics Ax</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!265.entry</link><description>&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;An Axd document supports several actions and these actions are identified through their unique identifier names defined on the document class. &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;The External identifier helps us to define custom names to the actions and override them. &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;External identifier can be defined at two different places.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   &lt;font color="#339966"&gt;&lt;em&gt;&lt;strong&gt;Basic -&amp;gt; Setup -&amp;gt; Application Integration Framework -&amp;gt; Action&lt;/strong&gt; &lt;/em&gt;&lt;/font&gt;form  &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;        &amp;gt; when the external identifier is defined here it applies to the entire AIF setup. &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;              &lt;img src="http://aycu11.webshots.com/image/14770/2006215584715687462_rs.jpg"&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;font size=2&gt;   &lt;font color="#339966"&gt;&lt;em&gt;&lt;strong&gt;Basic -&amp;gt; Setup -&amp;gt; Application Integration Framework -&amp;gt; Endpoints -&amp;gt; EndPoint ActionPolicies&lt;/strong&gt;&lt;/em&gt; &lt;/font&gt;form&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;         &amp;gt; When the external identifier is defined in this form it applies only to the particular endpoint&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;                       &lt;img src="http://aycu20.webshots.com/image/13899/2006224246220796699_rs.jpg"&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;&lt;font size=2&gt; The name of the external Identifier has to be unique across Axd's i.e you should always specify a unique external identifier. &lt;em&gt;&lt;font color="#3366ff"&gt;(Here find the external identifier specified as  'InsertFinanceAccount')&lt;/font&gt;&lt;/em&gt;&lt;/font&gt;&lt;/ul&gt;
&lt;div&gt;&lt;font size=2&gt;Using ExternalIdentifier :&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;In the case of the Outbound, the XML generated has the value specified external actions appears in &lt;br&gt;the &amp;lt;Action&amp;gt; tag.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;In the case of Inbound the &amp;lt;Action&amp;gt; tag in XML must be as specified in external identifier field setup. when an external identifier is defined for a particular action then it is mandatory to use that in the xml and the actual action identifier turns invalid for that endpoint or the entire AIF based on the setup.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font color="#0000ff" size=2&gt;&lt;em&gt;In this example i have specified the Action to the external identifier value specified earlier  'InsertFinanceAccount'&lt;/em&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;    &lt;img src="http://aycu32.webshots.com/image/14871/2003854445986952461_rs.jpg"&gt;   &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;...................  digging deeper to throw some more light over AIF &lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_wink.gif"&gt;guys so keep watching &lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_nerd.gif"&gt;!!!!&lt;/font&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+Using+the+External+Identifier+with+Aif+in+Dynamics+Ax&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!265.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!265.entry</guid><pubDate>Fri, 13 Apr 2007 14:38:31 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!265/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!265.entry#comment</wfw:comment><dcterms:modified>2007-04-13T14:38:31Z</dcterms:modified></item><item><title>Creating graphs in Dynamics Ax</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!262.entry</link><description>&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;Creating a Graph with Dynamics Ax is quite easy. This article will deal on creating a simple graph.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;font size=2&gt;The &lt;strong&gt;&lt;em&gt;Graphics&lt;/em&gt;&lt;/strong&gt; class in Ax helps out in creating graphs. &lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;To Start with on using this class we shall creat a simple form ,&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;     1. Add a activex control of type &lt;strong&gt;&lt;em&gt;ChartObject&lt;/em&gt;&lt;/strong&gt; to the  Form &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;     2. You can either directly use the graphics class to display the data  &lt;br&gt;         when there is no user interaction. &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;     3. Now creat a method called &lt;strong&gt;&lt;em&gt;createGraph&lt;/em&gt;&lt;/strong&gt; in your form&lt;br&gt;         &amp;gt; In this method let us attempt to show all the Total accounts against their balance provided their &lt;br&gt;            balance value is greater than zero. The code would be something like this&lt;br&gt;  &lt;br&gt;          &lt;font color="#0000ff"&gt; LedgerTable ledgerTable;&lt;br&gt;           #chartFx&lt;br&gt;           ;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt;&lt;font color="#0000ff"&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font color="#0000ff" size=2&gt;           //GraphicsWindow - Activex control name &lt;br&gt;           graphics = Graphics::newGraphicsTitlesLayout(GraphicsWindow, 100, 200,&lt;br&gt;                                            'Title', 'X', 'Y', 'z',#CT_TOOL ,1,  1, 1);&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font color="#0000ff" size=2&gt;          graphics.create();&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font color="#0000ff" size=2&gt;          graphics.parmTitleXAxis('AccountNum');&lt;br&gt;          graphics.parmTitleYAxis('Balance');&lt;br&gt;          graphics.parmHeight(150);&lt;br&gt;          graphics.parmWidth(300);&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font color="#0000ff" size=2&gt;          while select AccountNum from ledgerTable where ledgerTable.AccountPlType == LedgerAccountType::sum&lt;br&gt;          {&lt;br&gt;             if (ledgerTable.balance() &amp;gt; 0)&lt;br&gt;            {&lt;br&gt;                graphics.loadData(ledgerTable.AccountNum, '', ledgerTable.balance());&lt;br&gt;            }&lt;br&gt;          }&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;font color="#0000ff"&gt;          graphics.showGraph();&lt;br&gt;&lt;/font&gt;      &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;       4. Call this method on the &lt;strong&gt;&lt;em&gt;init&lt;/em&gt;&lt;/strong&gt; method of your form&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;br&gt;       5. Now Just compile save and run, you should get a graph like the one below ..... so simple right :)&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;                               &lt;img src="http://aycu19.webshots.com/image/13218/2000086832568391858_rs.jpg"&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;           &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;font size=2&gt;         on the next post let us see about extending and using the graphics class &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;................  mmm how about making salary graphs !!!!!&lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_tongue.gif"&gt;&lt;/font&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+Creating+graphs+in+Dynamics+Ax&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!262.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!262.entry</guid><pubDate>Tue, 10 Apr 2007 14:41:39 GMT</pubDate><slash:comments>10</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!262/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!262.entry#comment</wfw:comment><dcterms:modified>2007-04-10T14:41:39Z</dcterms:modified></item><item><title>A small addition to creation of Table throug x++ code in Dynamics Ax</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!261.entry</link><description>&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   A small addition to my entry on &lt;/font&gt;&lt;a href="http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!258.entry"&gt;&lt;u&gt;&lt;font size=2&gt;Adding a Table field through X++ code in Dynamics Ax&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;      I was actually using map's and structures to set the properties for the field type. There is also an alternative way of setting it throug the Global::setproperty method....&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;a href="http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!258.entry"&gt;&lt;font color="#006629"&gt;&lt;/font&gt;&lt;/a&gt;&lt;font size=2&gt;  &lt;u&gt;&lt;em&gt;Global::setProperty(str properties, str propertyname, str value)&lt;/em&gt;&lt;/u&gt;&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; I have rewritten the job based on that.......&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font color="#3366ff" size=2&gt;&lt;strong&gt;static void JobCreateTableFields(Args _args)&lt;br&gt;{&lt;br&gt;    &lt;/strong&gt;&lt;/font&gt;&lt;font color="#333300" size=2&gt;&lt;strong&gt;#AOT&lt;br&gt;    #TreeNodeSysNodeType&lt;/strong&gt;&lt;/font&gt; 
&lt;div&gt;&lt;strong&gt;&lt;font size=2&gt;    &lt;font color="#008000"&gt;//find the Table&lt;/font&gt;&lt;br&gt;    &lt;/font&gt;&lt;/strong&gt;&lt;strong&gt;&lt;font size=2&gt;&lt;font color="#3366ff"&gt;TreeNode                   tablenode = TreeNode::findNode&lt;font color="#000000"&gt;(#TablesPath&lt;/font&gt;).AOTfindChild(&lt;font color="#ff0000"&gt;'LedgerTable'&lt;/font&gt;);&lt;br&gt;    TreeNode                   fieldNode, tn;&lt;br&gt;    Struct                         properties;&lt;br&gt;    Struct                         propertyInfo;&lt;br&gt;    Array                          propertyArray;&lt;br&gt;    str                               propertyValue;&lt;br&gt;&lt;/font&gt;    &lt;/font&gt;&lt;/strong&gt;&lt;font color="#0000ff" size=2&gt;&lt;strong&gt;AOTTableFieldList    lst;&lt;br&gt;    str                               name;&lt;br&gt;    Counter                     propertyCount;&lt;br&gt;    int                               i;&lt;br&gt;    Map                            map = new Map(Types::String, Types::String);&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font color="#0000ff" size=2&gt;&lt;strong&gt;    ;&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;font size=2&gt;    &lt;font color="#339966"&gt;//Find the tables field node&lt;/font&gt;&lt;br&gt;   &lt;/font&gt;&lt;/strong&gt;&lt;font size=2&gt;&lt;strong&gt;&lt;font color="#0000ff"&gt; lst = tablenode.AOTfindChild(&lt;font color="#ff0000"&gt;'fields'&lt;/font&gt;);&lt;br&gt;&lt;/font&gt;    &lt;font color="#339966"&gt;//add the field&lt;/font&gt;&lt;br&gt;    &lt;font color="#0000ff"&gt;lst.addString(&lt;font style="background-color:#ffffff" color="#ff0000"&gt;'Test'&lt;/font&gt;);&lt;/font&gt;&lt;br&gt;    &lt;font color="#339966"&gt;//now find the node in the tree&lt;/font&gt;&lt;br&gt;    &lt;font color="#0000ff"&gt;fieldNode  =  lst.AOTfindChild(&lt;font color="#ff0000"&gt;'Test'&lt;/font&gt;);&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;font color="#0000ff" size=2&gt;    &lt;/font&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;font color="#0000ff" size=2&gt;    //can be used when we requried to set a fewer properties&lt;/font&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;font color="#0000ff" size=2&gt;&lt;/font&gt;&lt;/strong&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;strong&gt;  &lt;/strong&gt;  &lt;font color="#0000ff"&gt;&lt;u&gt;fieldNode.AOTsetProperties(setProperty(fieldNode.AOTgetProperties(), 'Label', 'TestField'));&lt;/u&gt;&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;u&gt;&lt;font color="#0000ff" size=2&gt;&lt;/font&gt;&lt;/u&gt; &lt;/div&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;strong&gt;  &lt;/strong&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;strong&gt;&lt;font color="#339966"&gt;  &lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;strong&gt;&lt;font color="#339966"&gt;//save the treenode&lt;br&gt;&lt;/font&gt;   &lt;font color="#0000ff"&gt; tablenode.AOTsave();&lt;/font&gt;&lt;br&gt;    &lt;br&gt;   &lt;/strong&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;strong&gt;&lt;font color="#008000"&gt; //Let us open the table&lt;br&gt;    //and see if the code works :)&lt;br&gt;&lt;/font&gt;    &lt;font color="#0000ff"&gt;tablenode.AOTnewWindow();&lt;/font&gt;&lt;br&gt;&lt;font color="#0000ff"&gt;} &lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;font color="#0000ff" size=2&gt;&lt;/font&gt;&lt;/strong&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;font color="#0000ff" size=2&gt;&lt;/font&gt;&lt;/strong&gt; &lt;/div&gt;.............................&lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/lightbulb.gif"&gt;&lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/lightbulb.gif"&gt;&lt;a href="http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!258.entry"&gt;&lt;/a&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+A+small+addition+to+creation+of+Table+throug+x%2b%2b+code+in+Dynamics+Ax&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!261.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!261.entry</guid><pubDate>Tue, 03 Apr 2007 14:41:23 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!261/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!261.entry#comment</wfw:comment><dcterms:modified>2007-04-03T14:41:23Z</dcterms:modified></item><item><title>Adding a Table field through X++ code in Dynamics Ax</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!258.entry</link><description>&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   Sometime back there was a query in one of the discussion forum about inserting a table field through code. I did a small job to demonstrate that, just  &lt;/font&gt;&lt;font size=2&gt;thought would write that down in my blog too...... and here it is. &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;I have added sufficient comments to make it explanatory.   &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;font color="#3366ff" size=2&gt;&lt;strong&gt;static void JobCreateTableFields(Args _args)&lt;br&gt;{&lt;br&gt;    &lt;font color="#333300"&gt;#AOT&lt;br&gt;    #TreeNodeSysNodeType&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;strong&gt;    &lt;font color="#008000"&gt;//find the Table&lt;/font&gt;&lt;br&gt;    &lt;/strong&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;strong&gt;&lt;font color="#3366ff"&gt;TreeNode                   tablenode = TreeNode::findNode&lt;font color="#000000"&gt;(#TablesPath&lt;/font&gt;).AOTfindChild(&lt;font color="#ff0000"&gt;'LedgerTable'&lt;/font&gt;);&lt;br&gt;    TreeNode                   fieldNode, tn;&lt;br&gt;    Struct                         properties;&lt;br&gt;    Struct                         propertyInfo;&lt;br&gt;    Array                          propertyArray;&lt;br&gt;    str                               propertyValue;&lt;br&gt;&lt;/font&gt;    &lt;/strong&gt;&lt;/font&gt;&lt;font color="#0000ff" size=2&gt;&lt;strong&gt;AOTTableFieldList    lst;&lt;br&gt;    str                               name;&lt;br&gt;    Counter                     propertyCount;&lt;br&gt;    int                               i;&lt;br&gt;    Map                            map = new Map(Types::String, Types::String);&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font color="#0000ff" size=2&gt;&lt;strong&gt;    ;&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;strong&gt;    &lt;font color="#339966"&gt;//Find the tables field node&lt;/font&gt;&lt;br&gt;   &lt;/strong&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;strong&gt;&lt;font color="#0000ff"&gt; lst = tablenode.AOTfindChild(&lt;font color="#ff0000"&gt;'fields'&lt;/font&gt;);&lt;br&gt;&lt;/font&gt;    &lt;font color="#339966"&gt;//add the field&lt;/font&gt;&lt;br&gt;    &lt;font color="#0000ff"&gt;lst.addString(&lt;font style="background-color:#ffffff" color="#ff0000"&gt;'Test'&lt;/font&gt;);&lt;/font&gt;&lt;br&gt;    &lt;font color="#339966"&gt;//now find the node in the tree&lt;/font&gt;&lt;br&gt;    &lt;font color="#0000ff"&gt;fieldNode  =  lst.AOTfindChild(&lt;font color="#ff0000"&gt;'Test'&lt;/font&gt;);&lt;/font&gt;&lt;br&gt;    &lt;font color="#339966"&gt;//get the properties structure&lt;/font&gt;&lt;br&gt;    &lt;font color="#0000ff"&gt;properties = fieldNode.AOTgetPropertiesExt();&lt;/font&gt;&lt;br&gt;    &lt;font color="#339966"&gt;//Update the properties map with the required properties&lt;/font&gt;&lt;br&gt;    &lt;font color="#0000ff"&gt;map.insert(&lt;font color="#ff0000"&gt;'ExtendedDataType'&lt;/font&gt;, &lt;font color="#ff0000"&gt;'LedgerAccount'&lt;/font&gt;);&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;strong&gt;  &lt;/strong&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;strong&gt;&lt;font color="#339966"&gt;  // get the number of properties&lt;br&gt;    // and the array containing the properties structure&lt;br&gt;&lt;/font&gt;   &lt;font color="#0000ff"&gt; propertyCount = properties.value(&lt;font color="#ff0000"&gt;'Entries'&lt;/font&gt;);&lt;/font&gt;&lt;br&gt;    &lt;font color="#0000ff"&gt;propertyArray = properties.value(&lt;font color="#ff0000"&gt;'PropertyInfo'&lt;/font&gt;);&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font color="#0000ff" size=2&gt;&lt;strong&gt; &lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;strong&gt;&lt;font color="#0000ff"&gt;    for (i = 1; i &amp;lt; propertyCount; i ++)&lt;br&gt;    {&lt;br&gt;        propertyInfo  = propertyArray.value(i);&lt;br&gt;        name = propertyInfo.value(&lt;font color="#ff0000"&gt;'Name'&lt;/font&gt;);&lt;br&gt;        &lt;br&gt;&lt;/font&gt;        &lt;/strong&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;strong&gt;&lt;font color="#339966"&gt;//see if we have inserted the property name in to the map&lt;br&gt;&lt;/font&gt;        &lt;/strong&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;strong&gt;&lt;font color="#0000ff"&gt;if (map.exists(name))&lt;br&gt;        {&lt;br&gt;&lt;/font&gt;            &lt;/strong&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;strong&gt;&lt;font color="#339966"&gt;//set the property&lt;br&gt;&lt;/font&gt;          &lt;/strong&gt;&lt;/font&gt;&lt;font color="#0000ff" size=2&gt;&lt;strong&gt;  propertyInfo.value(&lt;font color="#ff0000"&gt;'Value'&lt;/font&gt;, map.lookup(name));&lt;br&gt;        }&lt;br&gt;    }&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;font size=2&gt;&lt;strong&gt;    &lt;font color="#339966"&gt;//set the properties structure&lt;/font&gt;&lt;br&gt;    &lt;font color="#0000ff"&gt;fieldNode.AOTsetPropertiesExt(properties);&lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;strong&gt;    &lt;/strong&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;strong&gt;&lt;font color="#339966"&gt;//save the treenode&lt;br&gt;&lt;/font&gt;   &lt;font color="#0000ff"&gt; tablenode.AOTsave();&lt;/font&gt;&lt;br&gt;    &lt;br&gt;   &lt;/strong&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;strong&gt;&lt;font color="#008000"&gt; //Let us open the table&lt;br&gt;    //and see if the code works :)&lt;br&gt;&lt;/font&gt;    &lt;font color="#0000ff"&gt;tablenode.AOTnewWindow();&lt;/font&gt;&lt;br&gt;&lt;font color="#0000ff"&gt;} &lt;/font&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font color="#0000ff" size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font color="#000000" size=2&gt;&lt;strong&gt;&lt;u&gt;&lt;a href="http://www.axaptapedia.com/Image:Job_JobCreateTableFields.xpo"&gt;click to download it from Axaptapedia&lt;/a&gt;&lt;/u&gt;&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;font size=2&gt;&lt;/font&gt;&lt;/strong&gt; &lt;/div&gt;
&lt;div&gt;&lt;strong&gt;&lt;font size=2&gt;&lt;/font&gt;&lt;/strong&gt; ..........................  &lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/lightbulb.gif"&gt; &lt;strong&gt;&lt;font size=2&gt;&lt;/font&gt;&lt;/strong&gt; &lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+Adding+a+Table+field+through+X%2b%2b+code+in+Dynamics+Ax&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!258.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!258.entry</guid><pubDate>Mon, 02 Apr 2007 10:37:24 GMT</pubDate><slash:comments>2</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!258/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!258.entry#comment</wfw:comment><dcterms:modified>2007-04-02T11:01:37Z</dcterms:modified></item><item><title>A simple "Toolbar"  for Dynamics Ax 4.0</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!254.entry</link><description>&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;      This time i have come up with a small development for Dyanmics Ax guys :)&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;       A simple toolbar for Dynamics Ax (not that powerful as &lt;/font&gt;&lt;a href="http://axcoder.blogspot.com/2007/03/tabax-03-beta-3.html"&gt;&lt;u&gt;&lt;font size=2&gt;Tabax&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;&lt;font size=2&gt;..... &lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_teeth.gif"&gt; ) a simple but sweet one; here down for your glimpse.....&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt;&lt;/div&gt;&lt;font size=2&gt;       &lt;img height=62 src="http://aycu10.webshots.com/image/12369/2005825287878869038_rs.jpg" width=984&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;     Do check Axaptapedia to download and get a feel of it(includes detailed description of the features in it).&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;       &lt;/font&gt;&lt;a href="http://casperkamal.spaces.live.com/Toolbar for Dax 4.0 (click to reach the download page)"&gt;&lt;font size=2&gt;Toolbar for Dax 4.0 (click to reach the download page)&lt;/font&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;     Please provide your feedbacks and input on it.. to make it better&lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/sun.gif"&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;....................... Keep watching for more updates on this &lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_wink.gif"&gt;&lt;/font&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+A+simple+%22Toolbar%22++for+Dynamics+Ax+4.0&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!254.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!254.entry</guid><pubDate>Wed, 28 Mar 2007 15:10:05 GMT</pubDate><slash:comments>2</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!254/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!254.entry#comment</wfw:comment><dcterms:modified>2007-03-28T15:22:48Z</dcterms:modified></item><item><title>Creating custom Picking list in Dynamics - Part II</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!253.entry</link><description>&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;This is in continuation to the article that i posted on &lt;/font&gt;&lt;a href="http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!191.entry"&gt;&lt;u&gt;&lt;font size=2&gt;creating custom Picking List (click to view)&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; The last aritcle was about using the Global::pickList forms and creating a simple custom Pick List form which takes map as an input &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;The custom Picklist's discussed here provide you more options like &lt;br&gt;   &amp;gt;Specifying the image to be used&lt;br&gt;   &amp;gt;Display either a Map or container in the list&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;There are two ways of creating a complete custom Pick List &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; 'SysPick' form can be used to create custom list with the choice of taking input as Map and displaying standard images like tables, class, fields, You can invoke the &amp;quot;SysPick&amp;quot; form via the classfactory.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;                      &lt;font color="#0000ff"&gt;args = new Args(formstr(SysPick));&lt;br&gt;                      args.parm(' 2');&lt;br&gt;                      map = Map::create(SysPickList::fillFieldsMap(int2str(tablenum(custTable))));&lt;br&gt;                      args.parmObject(map);&lt;br&gt;                      formRun = classfactory.formRunClass(args);&lt;br&gt;                      formRun.init();&lt;br&gt;                      formRun.run();&lt;br&gt;                      formRun.wait();&lt;br&gt; &lt;br&gt;                      if (formRun.selection())&lt;br&gt;                     {&lt;br&gt;                                 //TODO someAction&lt;br&gt;                      }&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   Here &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;        &amp;gt; The argument for the &amp;quot;args.parm(' 2')&amp;quot; method decides the image type to be displayed. &lt;br&gt;                      - The argument value is to be based on the following EnumType &amp;quot;SysPickListType&amp;quot;&lt;br&gt;                         but has to be passed as a string and a blank space before the value is mandatory&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;        &amp;gt; SysPickList class has some static function that gives you a map of several repeated lists&lt;br&gt;            like fields, table, userdomain, class etc. you can use it to get the list to be passed as shown in the code &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;            map = Map::create(SysPickList::fillFieldsMap(int2str(tablenum(TestAdo))));&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;The other form is &amp;quot;PickList&amp;quot;, this accepts any image for display and requires the list input as a container. The follwoing code demonstrates the way using it.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;  &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;                            &lt;font color="#0000ff"&gt;Object formRun;&lt;br&gt;                            #ResAppl&lt;br&gt;                            ;&lt;br&gt;        &lt;br&gt;                            formRun = classfactory.createPicklist();&lt;br&gt;                            formRun.init();&lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font color="#0000ff" size=2&gt;                            formRun.choices(['option1', 'option2', 'option3'], #ImageArrowUp);&lt;br&gt;                            formRun.caption(&amp;quot;Testing Picklist&amp;quot;);&lt;br&gt;                            formRun.run();&lt;br&gt;                            formRun.wait();&lt;br&gt;                           if (formRun.choice())&lt;br&gt;                           {&lt;br&gt;                                  //TODO someAction&lt;br&gt;                            }&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;would result in  some thing like this&lt;/font&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;                               &lt;img src="http://aycu35.webshots.com/image/14394/2001620988922738483_rs.jpg"&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; ........................... happy picking !!!!!&lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_wink.gif"&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   &lt;/font&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+Creating+custom+Picking+list+in+Dynamics+-+Part+II&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!253.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!253.entry</guid><pubDate>Thu, 22 Mar 2007 14:00:25 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!253/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!253.entry#comment</wfw:comment><dcterms:modified>2007-03-22T14:33:31Z</dcterms:modified></item><item><title>Running multiple Dynamics Ax clients with differnt permissions</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!249.entry</link><description>&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; Since Dynamics Ax 4.0 uses Active Directory based logon Authentication, checking your security or code permissions setup requires you to logon with different credentials. &amp;quot;runas&amp;quot; command &lt;/font&gt;&lt;font size=2&gt; available with Window Xp and other higher version would be very helpful to run only Ax application with different credentials..............(:) hope &amp;quot;dot net&amp;quot; techies are well aware of this funda)&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;font size=2&gt;There are two ways to use runas command, either through command line or a GUI.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;strong&gt;1. Executing through command line&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   Type the following line : &lt;br&gt;  runas /username ax32.exe&lt;br&gt;                eg: runas /kamalakannann.e ax32.exe&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   next the command line will prompt you for your password once you enter it, your new Dynamics Ax session for the   &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   corresponding user will be ready&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;    &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;em&gt;  sometimes Dynamics Ax will not open up( &lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_sniff.gif"&gt;) in such situation &lt;/em&gt;&lt;/font&gt;&lt;font size=2&gt;&lt;br&gt;&lt;em&gt;   try this trouble shooting tip&lt;/em&gt;&lt;br&gt;   &amp;gt; RightClick My Computer and go to properties&lt;/font&gt;&lt;/div&gt;&lt;font size=2&gt;
&lt;div&gt;&lt;br&gt;   &amp;gt; On the Advanced tabl click Environment Variables button, this will open a new form&lt;/div&gt;
&lt;div&gt;&lt;br&gt;   &amp;gt; Go to the System Variable Field, and select SystemVariable named &amp;quot;Path&amp;quot;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;   &amp;gt; Now click edit and add the following line&lt;br&gt;   &amp;quot;C:\Program Files\Microsoft Dynamics AX\40\Client\bin&amp;quot;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;   &amp;gt; Save it and try again, you will find it working&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;  &lt;a href="http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/runas.mspx?mfr=true"&gt; Check out this msdn link to read more about &amp;quot;runas&amp;quot;(click here)&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;/font&gt;  
&lt;div&gt;&lt;font size=2&gt;&lt;strong&gt;2. Executing through GUI&lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   &amp;gt;Go to program Files and select Microsoft Dynamics Ax 4.1 or any where where you have your shortcut to open&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   &amp;gt; Right Click and Select Runas &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;       &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;       &lt;img src="http://aycu01.webshots.com/image/13640/2001114397701432507_rs.jpg"&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   &amp;gt; You will get a login window, Just type in your userid and password Dynamics Ax opens up the session for the corresponding user.(if you type the right password &lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_wink.gif"&gt;)&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;      &lt;img src="http://aycu13.webshots.com/image/13172/2001180190493471032_rs.jpg"&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;............................ hurray easy security check &lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_teeth.gif"&gt;&lt;/font&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+Running+multiple+Dynamics+Ax+clients+with+differnt+permissions&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!249.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!249.entry</guid><pubDate>Wed, 14 Mar 2007 05:15:19 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!249/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!249.entry#comment</wfw:comment><dcterms:modified>2007-03-16T05:12:02Z</dcterms:modified></item><item><title>Data XML Generation Wizard - Version 2.0 For Dynamics Ax</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!247.entry</link><description>&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;Data XMLGeneration Wizard Release 2.0&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;font size=2&gt;Newer version of &lt;strong&gt;&amp;quot;Data XML Generation wizard&amp;quot;&lt;/strong&gt; is now available from Axaptapedia.com&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;br&gt;&lt;font size=2&gt;New Features :&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; 1. Table fields to be exported can now be mapped to a different name &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;     For E.x: Custable.name -&amp;gt; custable.customername &lt;br&gt;     so the XML tag would be &amp;lt;customername&amp;gt;&amp;lt;/customername&amp;gt;&lt;br&gt;     instead of the actual &amp;lt;name&amp;gt;&amp;lt;/name&amp;gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; 2. You can specify the location where the XML's generated is to be stored&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; 3. The XML Generated is displayed inside Ax immediately after closing the wizard, &lt;br&gt;     through XML Viewer&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; 4. There is a small addon called the XML Viewer which is being used to display the XML's &lt;br&gt;     you can use that for displaying your html files or xml files just by passing the path &lt;br&gt;     as argument to it.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;Click here to download the file from Axaptapedia.com&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;a href="http://www.axaptapedia.com/Data_XML_Generation_wizard"&gt;http://www.axaptapedia.com/Data_XML_Generation_wizard&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;Click here to view older versions blog entry&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;a href="http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!200.entry"&gt;http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!200.entry&lt;/a&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;Your suggestions, feedback anything over this is most welcome ....&lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_teeth.gif"&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;.................Keep watching more tools to come up&lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/lightbulb.gif"&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+Data+XML+Generation+Wizard+-+Version+2.0+For+Dynamics+Ax&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!247.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!247.entry</guid><pubDate>Sun, 04 Mar 2007 15:11:48 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!247/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!247.entry#comment</wfw:comment><dcterms:modified>2007-03-04T15:11:48Z</dcterms:modified></item><item><title>InventDim id blank from "Axapta" to "AllBlank" in Dynamics Ax</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!233.entry</link><description>&lt;div&gt; &lt;font size=2&gt;Hey,&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;         Just found out something interesting, the blank inventDimid(With all Inventory Dimesions blank) &lt;font color="#ff6600"&gt;&lt;strong&gt;&amp;quot;Axapta&amp;quot;&lt;/strong&gt;&lt;/font&gt; is no more the same, now it is refferred to &lt;strong&gt;&lt;font color="#008000"&gt;&amp;quot;AllBlank&amp;quot;&lt;/font&gt;&lt;/strong&gt;. I found it as i was digging to find the reason behind no records getting displayed in the &lt;strong&gt;&amp;quot;Item&amp;quot;&lt;/strong&gt; form when I had records in the table.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;The problem was the blank record in InventItemLocation, just a wrote a little job to get the things right.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;Just copy and run it, if you find a bit lazy &lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_wink.gif"&gt;to write ....&lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/clock.gif"&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font color="#0000ff" size=2&gt;static void JobChangeAxaptatoBlankInventDim(Args _args)&lt;br&gt;{&lt;br&gt;    InventItemLocation inventItemLocation;&lt;br&gt;    ;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font color="#0000ff" size=2&gt;    while select forupdate inventDimId from inventItemLocation&lt;br&gt;    where inventItemLocation.inventDimId == 'Axapta'&lt;br&gt;    {&lt;br&gt;        ttsbegin;&lt;br&gt;        inventItemLocation.inventDimId = 'AllBlank';&lt;br&gt;        inventItemLocation.update();&lt;br&gt;        ttscommit;&lt;br&gt;    }&lt;br&gt;}&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font color="#3366ff" size=2&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; ..................what else ???????&lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_eyeroll.gif"&gt; will see....&lt;/font&gt;&lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+InventDim+id+blank+from+%22Axapta%22+to+%22AllBlank%22+in+Dynamics+Ax&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!233.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!233.entry</guid><pubDate>Mon, 26 Feb 2007 13:39:14 GMT</pubDate><slash:comments>3</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!233/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!233.entry#comment</wfw:comment><dcterms:modified>2007-02-27T04:47:45Z</dcterms:modified></item><item><title>HTML based Report in Dynamics Ax</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!227.entry</link><description>&lt;div&gt;&lt;br&gt;          &lt;font size=2&gt;Though Ax reports offer lot of inbuilt functionality, it happens so that we need some features like tables with different alignment styles. Dynamics Ax has the solution for cases of that kind  too... &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;The solutions is very simple and easier, it is using HTML pages for reporting.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;check out the step by step methods to create a HTML based report.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;1. Decide the type of report you want, now try to simulate the report layout using some HTML editor&lt;br&gt;   or using someonline editors too.&lt;br&gt;   I used an online editor from w3schools(Check out here &lt;/font&gt;&lt;a href="http://www.w3schools.com/html/tryit.asp?filename=tryhtml_table_span"&gt;&lt;font size=2&gt;http://www.w3schools.com/html/tryit.asp?filename=tryhtml_table_span&lt;/font&gt;&lt;/a&gt;&lt;font size=2&gt;)&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   Just let the layout be as it is, now let us turn our attention to Ax and later use the HTML code generated for the layout.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;2. Create a query in the AOT if you want to use it in your report&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;3. Create a simple class that extends runbase and add all necessary runbase methods &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;4. Add any dialog fields which you require for your report&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;5. Now add a method called GenerateHTML to your runbase class, you can refer to the following class for example   &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;    Classes -&amp;gt;HRMSkillGapEmployeeHTMLGenerate&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   with a signature of this sort&lt;/font&gt;&lt;/div&gt;&lt;font size=2&gt;
&lt;div&gt;&lt;br&gt;   &lt;em&gt;&lt;font color="#0000ff"&gt;CCHTMLString generateHTML()&lt;br&gt;   {&lt;br&gt;   }&lt;/font&gt;&lt;/em&gt;&lt;br&gt;6. Inside this method use the queryrun class to fetch the records in loop&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;&lt;/font&gt; 
&lt;div&gt;&lt;font size=2&gt;7. Now move the HTML code that was generated earlier to this method and convert all static content to dynamic(i.e)by&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;    placing the value fetched through the query   &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;    eg: generated code : &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;                                        &lt;font color="#800000" size=2&gt;&amp;lt;tr&amp;gt; &amp;lt;th bgcolor=&amp;quot;lightblue&amp;quot;&amp;gt;CustomerName&amp;lt;/th&amp;gt;' &lt;br&gt;                                 &amp;lt;td&amp;gt;&amp;lt;b&amp;gt;The Light Company &amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;' &lt;br&gt;                                 &amp;lt;/tr&amp;gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font color="#800000" size=2&gt;          &lt;font color="#333333"&gt;Dynamic code  : &lt;/font&gt;
&lt;div&gt;                                 &lt;font color="#800000" size=2&gt;&amp;lt;tr&amp;gt; &amp;lt;th bgcolor=&amp;quot;lightblue&amp;quot;&amp;gt;CustomerName&amp;lt;/th&amp;gt;' &lt;br&gt;                                 &amp;lt;td&amp;gt;&amp;lt;b&amp;gt;&lt;font color="#3366ff"&gt;CustTable.Name &lt;/font&gt;&amp;lt;/b&amp;gt;&amp;lt;/td&amp;gt;' &lt;br&gt;                                 &amp;lt;/tr&amp;gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;8. Now create a method with anyname that you want say runreport(), Place the follwoing code &lt;br&gt;    in to it.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;    &lt;em&gt;&lt;font color="#0000ff"&gt;Args    args;&lt;br&gt;    Object  object;&lt;br&gt;    FormRun formRun;&lt;br&gt;    ;&lt;/font&gt;&lt;/em&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font color="#0000ff" size=2&gt;&lt;em&gt;    args = new Args();&lt;br&gt;    args.name(formstr(CCHTMLPrintPreview));&lt;br&gt;    args.caller(this);&lt;br&gt;    args.record();&lt;/em&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font color="#0000ff" size=2&gt;&lt;em&gt;    formRun = classfactory.formRunClass(args);&lt;/em&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font color="#0000ff" size=2&gt;&lt;em&gt;    object = formRun;&lt;br&gt;    object.parmObject(this);&lt;br&gt;    object.parmHTMLObject(this);&lt;/em&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font color="#0000ff" size=2&gt;&lt;em&gt;    object.init();&lt;br&gt;    object.run();&lt;br&gt;    object.wait();&lt;/em&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;em&gt;&lt;font color="#0000ff" size=2&gt;&lt;/font&gt;&lt;/em&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;  The form CCHTMLPrintPreview is responsible for displaying your HTMLcode in the form of Axreport. We invoke this form   through the following code.This form uses GenerateHTML method that we created earlier to get the data to be displayed&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;9. Create a run method and call the above created method(&lt;em&gt;runreport()&lt;/em&gt;) to activate the form&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;10.Create a main method for it, calling the prompt and run method of our class.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;11.Drag the class to Output MenuItem and Place the menuItem in to any module that you want, execute it to see the  &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;    report.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;   You can also further refer to the follwoing report for further information and other ways of fetching and feeding data for report rendering.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;I have created a simple class that will help you in understanding this, download and check out.&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;a href="http://www.axaptapedia.com/Image:Class_CustomerDetailHTMLReport.xpo"&gt;&lt;font size=2&gt;http://www.axaptapedia.com/Image:Class_CustomerDetailHTMLReport.xpo&lt;/font&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;Snap Shot of my output&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;       &lt;img src="http://aycu07.webshots.com/image/10846/2002910363218987523_rs.jpg"&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;&lt;br&gt;....................&lt;font size=2&gt;The &amp;quot;WoW&amp;quot; effect &lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_teeth.gif"&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+HTML+based+Report+in+Dynamics+Ax&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!227.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!227.entry</guid><pubDate>Tue, 20 Feb 2007 04:12:15 GMT</pubDate><slash:comments>0</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!227/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!227.entry#comment</wfw:comment><dcterms:modified>2007-02-20T04:34:38Z</dcterms:modified></item><item><title>MFP's Cross word Puzzle - Answers !!!!</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!219.entry</link><description>&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;       &lt;font face="Tahoma,Helvetica,Sans-Serif" size=2&gt;  I guess most of you might be aware about the &lt;/font&gt;&lt;a href="http://blogs.msdn.com/mfp/archive/2006/12/01/holiday-season-x-crossword.aspx"&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif" color="#0000ff" size=2&gt;&lt;u&gt;crossword puzzle &lt;/u&gt;&lt;/font&gt;&lt;/a&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif" size=2&gt;that &lt;/font&gt;&lt;a href="http://blogs.msdn.com/mfp/"&gt;&lt;u&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif" color="#0000ff" size=2&gt;MFP&lt;/font&gt;&lt;/u&gt;&lt;/a&gt;&lt;font face="Tahoma,Helvetica,Sans-Serif" size=2&gt; had posted in his blog, but i happened to see it very late. It was wonderful and a different kind off...........such that can't keep myself from solving it and so here it is.....&lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;                &lt;img height=270 src="http://aycu38.webshots.com/image/9397/2000493205630165818_rs.jpg" width=463&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt;              &lt;font size=2&gt;And the Magical Word got by collecting the coloured cells is &lt;strong&gt;&amp;quot;Damgaard&amp;quot;&lt;/strong&gt;&lt;/font&gt;
&lt;p&gt;&lt;span lang=EN style="color:black"&gt;&lt;font face="Times New Roman" size=3&gt;1.Which function deletes all non-alphanumeric characters from the text string specified by text. – &lt;b&gt;str2Alph&lt;/b&gt;&lt;br&gt;&lt;/font&gt;&lt;/span&gt;&lt;span lang=EN&gt;&lt;font size=3&gt;&lt;font face="Times New Roman"&gt;&lt;font color="#000000"&gt;2: &lt;/font&gt;&lt;span style="color:black"&gt;Which function converts the time text string specified by text into an integer value. -&lt;b&gt;Str2time&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;3: &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=3&gt;&lt;font face="Times New Roman"&gt;&lt;span style="color:black"&gt;Which function converts the date specified by date to a text string. – &lt;b&gt;date2str&lt;/b&gt;&lt;br&gt;&lt;/span&gt;&lt;font color="#000000"&gt;4: &lt;/font&gt;&lt;span style="color:black"&gt;Which function calculates the length of the text string specified by text. - &lt;b&gt;strlen&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;5: &lt;/font&gt;&lt;span style="color:black"&gt;Which function returns the User ID for the current user. - &lt;b&gt;CurUserId&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;6: &lt;/font&gt;&lt;span style="color:black"&gt;Which function returns the printable name (the label) of the specified field. &lt;span&gt; &lt;/span&gt;– &lt;b&gt;FieldPname, Fieldid2Pname&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;7: &lt;/font&gt;&lt;span style="color:black"&gt;Which function returns 1 if arg specifies an ultimo date, 0 otherwise. &lt;span&gt; &lt;/span&gt;- &lt;b&gt;ultimoyr&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;8: &lt;/font&gt;&lt;span style="color:black"&gt;Which function converts to a string representing the field name of the field specified. &lt;span&gt; &lt;/span&gt;- &lt;b&gt;fieldStr&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;9: &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=3&gt;&lt;font face="Times New Roman"&gt;&lt;span style="color:black"&gt;Which function returns the current value of an annuity.- &lt;b&gt;pv&lt;/b&gt;&lt;br&gt;&lt;/span&gt;&lt;font color="#000000"&gt;10: &lt;/font&gt;&lt;span style="color:black"&gt;Which function returns the date in the previous year which corresponds most closely to the date specified by date. - &lt;b&gt;prevyr&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;11: &lt;/font&gt;&lt;span style="color:black"&gt;Which function removes the characters specified in text2 from the text string specified by text1. - &lt;b&gt;strrem&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;12: &lt;/font&gt;&lt;span style="color:black"&gt;Which function returns the number of intervals for the given period. - &lt;b&gt;intvmax&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;13: &lt;/font&gt;&lt;span style="color:black"&gt;Which function returns the fractional part of the argument decimal. - &lt;b&gt;frac&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;14: &lt;/font&gt;&lt;span style="color:black"&gt;Which function returns the real starting date (the normalized date) for the period. - &lt;b&gt;intvnorm&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;15: &lt;/font&gt;&lt;span style="color:black"&gt;Which function returns the date in the following quarter which corresponds most closely to the date specified by date. &lt;span&gt; &lt;/span&gt;- &lt;b&gt;nextqtr&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;16: &lt;/font&gt;&lt;span style="color:black"&gt;Which function returns the date which corresponds to the specified number of days since 01\01\1901. – &lt;b&gt;num2date&lt;/b&gt; &lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;17: &lt;/font&gt;&lt;span style="color:black"&gt;Which function returns a null container. &lt;span&gt; &lt;/span&gt;- &lt;b&gt;connull&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;18: &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=3&gt;&lt;font face="Times New Roman"&gt;&lt;span style="color:black"&gt;Which function converts the decimal number specified by number to a text string. – &lt;b&gt;num2str&lt;/b&gt;&lt;br&gt;&lt;/span&gt;&lt;font color="#000000"&gt;19: &lt;/font&gt;&lt;span style="color:black"&gt;Which function calculates the contribution ratio, based on the sales price specified by sale and the purchase price specified by purchase. - &lt;b&gt;dg&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;20: &lt;/font&gt;&lt;span style="color:black"&gt;Which function returns the current time on the computer system - &lt;b&gt;timenow&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;21: &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=3&gt;&lt;font face="Times New Roman"&gt;&lt;span style="color:black"&gt;Which function converts to a string representing form if it is an existing form. - &lt;b&gt;formstr&lt;/b&gt;&lt;br&gt;&lt;/span&gt;&lt;font color="#000000"&gt;22: &lt;/font&gt;&lt;span style="color:black"&gt;Which function returns the constant depreciation amount for the specified asset for each period of the asset's life. &lt;span&gt; &lt;/span&gt;- &lt;b&gt;sln&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;23: &lt;/font&gt;&lt;span style="color:black"&gt;Which function returns the lesser of the two figures specified by figure1 and figure2. - &lt;b&gt;Max&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;24: &lt;/font&gt;&lt;span style="color:black"&gt;Which function returns the absolute value of figure. - &lt;b&gt;abs&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;25: &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=3&gt;&lt;font face="Times New Roman"&gt;&lt;span style="color:black"&gt;Which function returns the hyperbolic cosine of argument arg. - &lt;b&gt;cosh&lt;/b&gt;&lt;br&gt;&lt;/span&gt;&lt;font color="#000000"&gt;26: &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=3&gt;&lt;font face="Times New Roman"&gt;&lt;span style="color:black"&gt;Which function calculates the future value of an investment. - &lt;b&gt;fv&lt;/b&gt;&lt;br&gt;&lt;/span&gt;&lt;font color="#000000"&gt;27: &lt;span style="color:black"&gt;Which function expresses the natural logarithm of the decimal figure specified by figure. - logn&lt;/span&gt;&lt;/font&gt;&lt;br&gt;&lt;font color="#000000"&gt;28: &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=3&gt;&lt;font face="Times New Roman"&gt;&lt;span style="color:black"&gt;Which function returns the percentual increase of the amount specified by amount. &lt;span&gt; &lt;/span&gt;- &lt;b&gt;pt&lt;/b&gt;&lt;br&gt;&lt;/span&gt;&lt;font color="#000000"&gt;29: &lt;/font&gt;&lt;span style="color:black"&gt;Which function returns the arc cosine of the argument arg. - &lt;b&gt;acos&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;30: &lt;/font&gt;&lt;span style="color:black"&gt;Which function returns the sine of the argument x. - &lt;b&gt;sin&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;31: &lt;/font&gt;&lt;span style="color:black"&gt;Which function converts all letters to lower case in the text string specified by text. &lt;span&gt; &lt;/span&gt;- &lt;b&gt;strlwr&lt;/b&gt;&lt;/span&gt;&lt;br&gt;&lt;font color="#000000"&gt;32: &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;&lt;font size=3&gt;&lt;font face="Times New Roman"&gt;&lt;span style="color:black"&gt;Which function returns the cosine of argument arg. &lt;span&gt; &lt;/span&gt;- &lt;b&gt;cos&lt;/b&gt;&lt;br&gt;&lt;/span&gt;&lt;font color="#000000"&gt;33: &lt;/font&gt;&lt;span style="color:black"&gt;Which function calculates the year which contains the date specified by date - &lt;b&gt;year&lt;/b&gt;&lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;&lt;/font&gt; &lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;The answers are my findings so if you find any change in the answer please inform me..................&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;         &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt;.............wonderful idea&lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/lightbulb.gif"&gt; MFP, Expecting more.....&lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/film.gif"&gt;  but will not miss this time&lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_teeth.gif"&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font size=2&gt; &lt;/font&gt;&lt;/div&gt;
&lt;div&gt; &lt;/div&gt;
&lt;div&gt; &lt;/div&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+MFP's+Cross+word+Puzzle+-+Answers+!!!!&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!219.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!219.entry</guid><pubDate>Mon, 05 Feb 2007 11:34:58 GMT</pubDate><slash:comments>1</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!219/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!219.entry#comment</wfw:comment><dcterms:modified>2007-02-05T11:39:19Z</dcterms:modified></item><item><title>Customizing Infolog through SysInfoAction</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!207.entry</link><description>&lt;p&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt;This section will explore about customizing the Infolog in Ax through SysInfoAction, &lt;/font&gt;
&lt;p&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt; &lt;/font&gt; &lt;font face="Times New Roman" color="#000000" size=3&gt;We generally use the infolog to display various type of messages , occasionally we also carry out some action through the Infolog, say for example opening a new form or the code from which the info originated these can be done with the help of SysInfoAction. &lt;/font&gt;
&lt;p&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt; &lt;/font&gt; &lt;font face="Times New Roman" color="#000000" size=3&gt;The Info has the following signature,&lt;/font&gt; 
&lt;p&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt; &lt;/font&gt; &lt;font face="Times New Roman" color="#0000ff" size=3&gt;&lt;em&gt;     Info(SysInfoLogStr txt, URL helpUrl = '', SysInfoAction _sysInfoAction = null)&lt;/em&gt;&lt;/font&gt; 
&lt;p&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt; &lt;/font&gt; &lt;font face="Times New Roman" color="#000000" size=3&gt;     _sysInfoAction is the parameter that helps us to customize Infolog,&lt;/font&gt; 
&lt;p&gt; &lt;font face="Times New Roman" color="#000000" size=3&gt;To customize the infolog, in such a way that Infolog appears with a button&amp;quot;OpenCustTable&amp;quot; and when the button is clicked a “CustTable” Form is opened, The code would look like this&lt;/font&gt; 
&lt;p&gt;&lt;em&gt;&lt;font face="Geneva, Arial, Sans-serif" color="#0000ff" size=2&gt;         SysInfoAction_FormRun   SysInfoAction =  SysInfoAction_FormRun::newFormnameDesc(Formstr(custtable), 'OpenCustTable');&lt;br&gt;         ;&lt;br&gt; &lt;br&gt;         Info('Trying to customize Infolog', '', SysInfoAction);&lt;/font&gt;&lt;/em&gt; 
&lt;p&gt;&lt;font face="Times New Roman" color="#0000ff" size=3&gt; &lt;/font&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt;The second parameter in the static method of sysInfoAction specifies the name of the button that appears in the infolog &lt;/font&gt;
&lt;p&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt;                              &lt;/font&gt;&lt;img src="http://aycu19.webshots.com/image/8338/2001243267175824479_rs.jpg"&gt; 
&lt;p&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt;Similarly Ax comes with a set of classes that will help us to perform different actions&lt;/font&gt; t&lt;font face="Times New Roman" color="#000000" size=3&gt;hrough the infolog namely,&lt;/font&gt; 
&lt;p&gt;&lt;strong&gt;&lt;font size=2&gt;  &lt;/font&gt;&lt;/strong&gt;&lt;strong&gt;&lt;font size=2&gt;  SysInfoAction_Editor         &lt;br&gt;    SysInfoAction_Formrun&lt;br&gt;    SysInfoAction_FormrunQuery&lt;br&gt;    SysInfoAction_MenuFunction&lt;br&gt;    SysInfoAction_newWindow&lt;br&gt;    SysInfoAction_Properties&lt;br&gt;    SysInfoAction_Showplan &lt;/font&gt;&lt;/strong&gt;&lt;font size=3&gt;&lt;font color="#000000"&gt;&lt;font face="Times New Roman"&gt;(Seems to be used for SQL Trace display, exploring it will soon post it’s use &lt;/font&gt;&lt;span style="font-family:Wingdings"&gt;&lt;span&gt;J&lt;/span&gt;&lt;/span&gt;&lt;font face="Times New Roman"&gt; !!!)&lt;/font&gt;&lt;/font&gt;&lt;/font&gt; 
&lt;div&gt;    &lt;font size=2&gt;&lt;strong&gt;SysInfoAction_TableField &lt;/strong&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;    &lt;font face="Times New Roman"&gt;&lt;span&gt;&lt;font color="#000000"&gt;&lt;span style="font:7pt 'Times New Roman'"&gt;         &lt;/span&gt;&lt;/font&gt;&lt;/span&gt;&lt;font color="#000000" size=3&gt;This class takes a any table record as parameter and displays the selected record in the associated form &lt;/font&gt;&lt;/font&gt;&lt;/div&gt;
&lt;div&gt;&lt;font face="Times New Roman"&gt;&lt;font color="#000000" size=3&gt;(Using dictable.formRef ()).&lt;/font&gt;&lt;/font&gt; &lt;/div&gt;
&lt;p&gt;  t&lt;font face="Times New Roman" color="#000000" size=3&gt;ry out the same with these classes too and have fun…….... &lt;img src="http://shared.live.com/VIf!VWmJbs6tK-ObyYk28Q/emoticons/smile_teeth.gif"&gt;&lt;/font&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+Customizing+Infolog+through+SysInfoAction&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!207.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!207.entry</guid><pubDate>Tue, 30 Jan 2007 13:15:19 GMT</pubDate><slash:comments>9</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!207/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!207.entry#comment</wfw:comment><dcterms:modified>2007-02-28T13:20:38Z</dcterms:modified></item><item><title>Data XML Generation Wizard</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!200.entry</link><description>&lt;div&gt; &lt;/div&gt;
&lt;p&gt;&lt;font color="#000000"&gt;&lt;font face="Times New Roman"&gt;&lt;font size=3&gt;&lt;span&gt;         &lt;/span&gt;I have developed a small wizard for the first time. As the name describes u can use this Wizard to generate XML for any table. &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;
&lt;p&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt; &lt;/font&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt;This wizard comes with the following features………&lt;/font&gt; 
&lt;ol&gt;
&lt;li&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt;You can customize and choose the fields that you want in the xml&lt;/font&gt; 
&lt;li&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt;You can specify a query which will govern the data to be sent in the xml.&lt;/font&gt; 
&lt;li&gt;&lt;font color="#000000"&gt;&lt;font face="Times New Roman"&gt;&lt;font size=3&gt;&lt;span&gt; &lt;/span&gt;A schema file is generated that displays the data generated in the form of tables and not as normal XMLs. &lt;/font&gt;&lt;/font&gt;&lt;/font&gt;
&lt;li&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt;Fields that are at system level or visible property is set to “No” are not allowed &lt;/font&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt;in the xml.&lt;/font&gt; 
&lt;li&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt;All mandatory fields are always included in the xml.&lt;/font&gt; 
&lt;li&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt; The XML and style sheet gets saved in “C:\”&lt;/font&gt;&lt;/ol&gt;
&lt;p&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt;Complete detail of the wizard, screen shots and XPO are available in Axaptapedia under the following link&lt;/font&gt; 
&lt;p&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt;&lt;/font&gt; &lt;a href="http://www.axaptapedia.com/Data_XML_Generation_wizard"&gt;http://www.axaptapedia.com/Data_XML_Generation_wizard&lt;/a&gt; 
&lt;p&gt; ..............................more features to come &lt;img src="http://casperkamal.spaces.live.com/mmm2006-11-30_19.10/rte/emoticons/smile_wink.gif"&gt;&lt;img src="http://c.services.spaces.live.com/CollectionWebService/c.gif?cid=-7982369448932160157&amp;page=RSS%3a+Data+XML+Generation+Wizard&amp;referrer=" width="1px" height="1px" border="0" alt=""&gt;&lt;img style="position:absolute" alt="" width="0px" height="0px" src="http://c.live.com/c.gif?NC=31263&amp;amp;NA=1149&amp;amp;PI=73329&amp;amp;RF=&amp;amp;DI=3919&amp;amp;PS=85545&amp;amp;TP=casperkamal.spaces.live.com&amp;amp;GT1=casperkamal"&gt;</description><comments>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!200.entry#comment</comments><guid isPermaLink="true">http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!200.entry</guid><pubDate>Wed, 10 Jan 2007 10:28:59 GMT</pubDate><slash:comments>2</slash:comments><msn:type>blogentry</msn:type><live:type>blogentry</live:type><live:typelabel>Blog entry</live:typelabel><wfw:commentRss>http://casperkamal.spaces.live.com/blog/cns!9138ED475277CD63!200/comments/feed.rss</wfw:commentRss><wfw:comment>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!200.entry#comment</wfw:comment><dcterms:modified>2007-02-28T13:22:20Z</dcterms:modified></item><item><title>Creating a Custom Display List -</title><link>http://casperkamal.spaces.live.com/Blog/cns!9138ED475277CD63!191.entry</link><description>&lt;div&gt; &lt;/div&gt;
&lt;div&gt;
&lt;p&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt;      When you open SysTableForm directly  you would get to see a Small List form getting displayed which will populate all the available table names in Axapta (see Fig one below), once you select your choice the flow further continues, this article would delve in detail about using those inbuilt list or creating such a custom list in Ax applications.&lt;/font&gt; 
&lt;p&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt; &lt;/font&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt; &lt;/font&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt;Ax Provides the following inbuilt list &lt;/font&gt;
&lt;ul&gt;
&lt;li&gt;&lt;font face="Times New Roman" color="#000000" size=3&gt; &lt;/font&gt;&lt;font size=3&gt;&lt;font color="#000000"&gt;&lt;font face="Times New Roman"&gt;Class&lt;/font&gt;&lt;/font&gt;&lt;/font&gt; 
&lt;li&gt;&lt;font size=3&gt;&lt;font color="#000000"&gt;&lt;font face="Times New Roman"&gt;DataArea&lt;/font&gt;&lt;/font&gt;&lt;/font&gt; 
&lt;li&gt;&lt;font size=3&gt;&lt;font color="#000000"&gt;&lt;font face="Times New Roman"&gt;Domain&lt;/font&gt;&lt;/font&gt;&lt;/font&gt; 
&lt;li&gt;&lt;font size=3&gt;&lt;font color="#000000"&gt;&lt;font face="Times New Roman"&gt;EnumValue&lt;/font&gt;&lt;/font&gt;