<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Dynamics Ax workshop</title>
	<atom:link href="http://dynamicsaxposed.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://dynamicsaxposed.wordpress.com</link>
	<description>This blog is about the development of dynamics Ax.I will be posting tips and tricks that i learned from my day to day experience here.</description>
	<lastBuildDate>Tue, 31 Jan 2012 21:00:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dynamicsaxposed.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Dynamics Ax workshop</title>
		<link>http://dynamicsaxposed.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://dynamicsaxposed.wordpress.com/osd.xml" title="Dynamics Ax workshop" />
	<atom:link rel='hub' href='http://dynamicsaxposed.wordpress.com/?pushpress=hub'/>
		<item>
		<title>AIF setup and installation in Dynamics Ax 2012</title>
		<link>http://dynamicsaxposed.wordpress.com/2012/01/31/aif-setup-and-installation-in-dynamics-ax-2012/</link>
		<comments>http://dynamicsaxposed.wordpress.com/2012/01/31/aif-setup-and-installation-in-dynamics-ax-2012/#comments</comments>
		<pubDate>Tue, 31 Jan 2012 20:57:05 +0000</pubDate>
		<dc:creator>Faddy</dc:creator>
				<category><![CDATA[Application Integration framework]]></category>
		<category><![CDATA[AIF]]></category>
		<category><![CDATA[application integration framework]]></category>
		<category><![CDATA[configure windows server]]></category>
		<category><![CDATA[dynamics Ax 2012]]></category>
		<category><![CDATA[inbound]]></category>
		<category><![CDATA[installation web services]]></category>
		<category><![CDATA[integration]]></category>
		<category><![CDATA[ManagedPipeLineHandler]]></category>
		<category><![CDATA[outbound]]></category>
		<category><![CDATA[web services]]></category>

		<guid isPermaLink="false">http://dynamicsaxposed.wordpress.com/?p=309</guid>
		<description><![CDATA[Hi &#8211; Today the post is about the AIF installation and setup . I found it really hard to configure when I tried to search the articles about it so Here you go. I think the whole configuration can be divided in two parts 1)Install the AIF component. Go to the installation setup of AX [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=309&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi &#8211; Today the post is about the AIF installation and setup . I found it really hard to configure when I tried to search the articles about it so Here you go. I think the whole configuration can be divided in two parts</p>
<p><a href="http://dynamicsaxposed.files.wordpress.com/2012/01/image0011.png"><img class="alignnone size-full wp-image-310" title="image0011" src="http://dynamicsaxposed.files.wordpress.com/2012/01/image0011.png?w=604&#038;h=321" alt="" width="604" height="321" /></a></p>
<p>1)Install the AIF component. Go to the installation setup of AX 2012 and run the setup.exe . From the Form select the option highlighted in the snap shot below</p>
<p><a href="http://dynamicsaxposed.files.wordpress.com/2012/01/image002.png"><img class="alignnone size-full wp-image-311" title="image002" src="http://dynamicsaxposed.files.wordpress.com/2012/01/image002.png?w=604&#038;h=479" alt="" width="604" height="479" /></a></p>
<p>2)If the perquisite failed in the running the installation wizard above for the IIS web services and WCF, go the server manager and click Add Role for web server</p>
<p>3)Add role services by right clicking the webserver role and Check mark all the components except the FTP one. Make sure you got ASP.net checked.</p>
<p><a href="http://dynamicsaxposed.files.wordpress.com/2012/01/image003.png"><img class="alignnone size-full wp-image-312" title="image003" src="http://dynamicsaxposed.files.wordpress.com/2012/01/image003.png?w=604&#038;h=443" alt="" width="604" height="443" /></a></p>
<p>4)For WCF installation, you need add feature for the web server . Click Add feature by right clicking the web server role and check WCF Activation in the .NET framework 3.5.1 features</p>
<p><a href="http://dynamicsaxposed.files.wordpress.com/2012/01/image004.png"><img class="alignnone size-full wp-image-313" title="image004" src="http://dynamicsaxposed.files.wordpress.com/2012/01/image004.png?w=604&#038;h=410" alt="" width="604" height="410" /></a></p>
<p>You are good to go now from the installation of point of view, Now go back to the setup utility and complete the setup. The installation wizard will be fairly simple.</p>
<p><strong>Now the Ax configuration:-</strong></p>
<p>To view the web services in the explorer, you need to do some configuration in Ax. Dynamics Ax 2012 now gives this capability to administrator that he can restrict access to the web services and expose web services for their customized needs</p>
<p>Depends on the type of your web service you need to create inbound or out bound port. In this post , I will be just talking about the inbound port</p>
<p>1. Go to System Administration &#8211;&gt; Setup -&gt; Services and Application integration framework</p>
<p><a href="http://dynamicsaxposed.files.wordpress.com/2012/01/image005.png"><img class="alignnone size-full wp-image-314" title="image005" src="http://dynamicsaxposed.files.wordpress.com/2012/01/image005.png?w=604" alt=""   /></a></p>
<p>2. Create the inbound port from here and click service operations to select the web services that you want to expose. And click Activate for your web service. If you are not able to find the service operations that you are looking for, move the Step below.</p>
<p><a href="http://dynamicsaxposed.files.wordpress.com/2012/01/image006.png"><img class="alignnone size-full wp-image-315" title="image006" src="http://dynamicsaxposed.files.wordpress.com/2012/01/image006.png?w=604&#038;h=302" alt="" width="604" height="302" /></a></p>
<p>3. If you are not able to see your web services in the service Operations then you need to go to AOT and use AIF services Form from there and click refresh, This would bring your web services on the original Form of service operations.</p>
<p><a href="http://dynamicsaxposed.files.wordpress.com/2012/01/image007.png"><img class="alignnone size-full wp-image-316" title="image007" src="http://dynamicsaxposed.files.wordpress.com/2012/01/image007.png?w=604&#038;h=297" alt="" width="604" height="297" /></a></p>
<p>4. Use the URI that you created in the step 3 to view in internet explorer. If you are not able to view it and gets the following error, Go to step 5. otherwise you are good to go now</p>
<p><a href="http://dynamicsaxposed.files.wordpress.com/2012/01/image008.png"><img class="alignnone size-full wp-image-317" title="image008" src="http://dynamicsaxposed.files.wordpress.com/2012/01/image008.png?w=604&#038;h=103" alt="" width="604" height="103" /></a></p>
<p>5. Run this command c:WindowsMicrosoft.NETFrameworkv4.0.30319aspnet_regiis.exe -i</p>
<h3><span style="font-family:&quot;color:#1F497D;font-weight:normal;"><br />
</span></h3>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dynamicsaxposed.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dynamicsaxposed.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dynamicsaxposed.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dynamicsaxposed.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dynamicsaxposed.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dynamicsaxposed.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dynamicsaxposed.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dynamicsaxposed.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dynamicsaxposed.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dynamicsaxposed.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dynamicsaxposed.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dynamicsaxposed.wordpress.com/309/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dynamicsaxposed.wordpress.com/309/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dynamicsaxposed.wordpress.com/309/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=309&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dynamicsaxposed.wordpress.com/2012/01/31/aif-setup-and-installation-in-dynamics-ax-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0599f71b0bf3aee6040761bc9c120d7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fawad85</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2012/01/image0011.png" medium="image">
			<media:title type="html">image0011</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2012/01/image002.png" medium="image">
			<media:title type="html">image002</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2012/01/image003.png" medium="image">
			<media:title type="html">image003</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2012/01/image004.png" medium="image">
			<media:title type="html">image004</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2012/01/image005.png" medium="image">
			<media:title type="html">image005</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2012/01/image006.png" medium="image">
			<media:title type="html">image006</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2012/01/image007.png" medium="image">
			<media:title type="html">image007</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2012/01/image008.png" medium="image">
			<media:title type="html">image008</media:title>
		</media:content>
	</item>
		<item>
		<title>Setting focus when going to main table</title>
		<link>http://dynamicsaxposed.wordpress.com/2012/01/27/setting-focus-when-going-to-main-table/</link>
		<comments>http://dynamicsaxposed.wordpress.com/2012/01/27/setting-focus-when-going-to-main-table/#comments</comments>
		<pubDate>Fri, 27 Jan 2012 15:59:27 +0000</pubDate>
		<dc:creator>Faddy</dc:creator>
				<category><![CDATA[Dynamics Ax Troubleshooting]]></category>
		<category><![CDATA[args]]></category>
		<category><![CDATA[args.lookupRecord]]></category>
		<category><![CDATA[focus]]></category>
		<category><![CDATA[focus on particular record]]></category>
		<category><![CDATA[go to main table]]></category>
		<category><![CDATA[jumpref]]></category>

		<guid isPermaLink="false">http://dynamicsaxposed.wordpress.com/2012/01/27/setting-focus-when-going-to-main-table/</guid>
		<description><![CDATA[Problem: I have written a custom jumpRef, now I want to focus on particular row when the Form opens Solution: There is an interesting method in the Args class that is used to achieve the above scenario. There are methods with prefix lookup in the args class args = new Args(); args.caller(_caller); args.record(TestTableBuffer); args.lookupRecord(testTablebuffer); menuFunction [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=303&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Problem: I have written a custom jumpRef, now I want to focus on particular row when the Form opens</p>
<p>Solution: There is an interesting method in the Args class that is used to achieve the above scenario. There are methods with prefix lookup in the args class</p>
<p>args = <strong>new</strong> Args();</p>
<p>args.caller(_caller);</p>
<p>args.record(TestTableBuffer);</p>
<p>args.lookupRecord(testTablebuffer);</p>
<p>menuFunction = <strong>new</strong> MenuFunction(<strong>menuitemdisplaystr</strong>(TestMenuITem), MenuItemType::Display);</p>
<p>menuFunction.run(args);</p>
<h3></h3>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dynamicsaxposed.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dynamicsaxposed.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dynamicsaxposed.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dynamicsaxposed.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dynamicsaxposed.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dynamicsaxposed.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dynamicsaxposed.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dynamicsaxposed.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dynamicsaxposed.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dynamicsaxposed.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dynamicsaxposed.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dynamicsaxposed.wordpress.com/303/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dynamicsaxposed.wordpress.com/303/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dynamicsaxposed.wordpress.com/303/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=303&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dynamicsaxposed.wordpress.com/2012/01/27/setting-focus-when-going-to-main-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0599f71b0bf3aee6040761bc9c120d7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fawad85</media:title>
		</media:content>
	</item>
		<item>
		<title>Refresh cache</title>
		<link>http://dynamicsaxposed.wordpress.com/2012/01/17/refresh-cache/</link>
		<comments>http://dynamicsaxposed.wordpress.com/2012/01/17/refresh-cache/#comments</comments>
		<pubDate>Tue, 17 Jan 2012 23:31:15 +0000</pubDate>
		<dc:creator>Faddy</dc:creator>
				<category><![CDATA[Dynamics Ax Troubleshooting]]></category>
		<category><![CDATA[AOS]]></category>
		<category><![CDATA[cache]]></category>
		<category><![CDATA[cache refresh]]></category>
		<category><![CDATA[changes in framework not reflecting]]></category>

		<guid isPermaLink="false">http://dynamicsaxposed.wordpress.com/2012/01/17/refresh-cache/</guid>
		<description><![CDATA[Problem: I have modified the framework classes but changes are not reflecting. The code is retrieving values from the cache Answer: You might need to refresh your cache. There are two ways of doing that 1)Tools &#8211;&#62; cache in the development work space for Ax 2012 2) Restart the AOS<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=299&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Problem: I have modified the framework classes but changes are not reflecting. The code is retrieving values from the cache</p>
<p>Answer: You might need to refresh your cache. There are two ways of doing that</p>
<p>1)Tools &#8211;&gt; cache in the development work space for Ax 2012</p>
<p>2) Restart the AOS</p>
<h3></h3>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dynamicsaxposed.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dynamicsaxposed.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dynamicsaxposed.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dynamicsaxposed.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dynamicsaxposed.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dynamicsaxposed.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dynamicsaxposed.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dynamicsaxposed.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dynamicsaxposed.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dynamicsaxposed.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dynamicsaxposed.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dynamicsaxposed.wordpress.com/299/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dynamicsaxposed.wordpress.com/299/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dynamicsaxposed.wordpress.com/299/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=299&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dynamicsaxposed.wordpress.com/2012/01/17/refresh-cache/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0599f71b0bf3aee6040761bc9c120d7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fawad85</media:title>
		</media:content>
	</item>
		<item>
		<title>List all mandatory fields in the AOT Job</title>
		<link>http://dynamicsaxposed.wordpress.com/2012/01/09/list-all-mandatory-fields-in-the-aot-job/</link>
		<comments>http://dynamicsaxposed.wordpress.com/2012/01/09/list-all-mandatory-fields-in-the-aot-job/#comments</comments>
		<pubDate>Mon, 09 Jan 2012 23:05:25 +0000</pubDate>
		<dc:creator>Faddy</dc:creator>
				<category><![CDATA[My Utilites]]></category>
		<category><![CDATA[Aot job]]></category>
		<category><![CDATA[aot mandatory fields]]></category>
		<category><![CDATA[DictField]]></category>
		<category><![CDATA[dictfield.fieldCnt2Id]]></category>
		<category><![CDATA[dicttable]]></category>
		<category><![CDATA[mandatory fields]]></category>
		<category><![CDATA[textbuffer]]></category>

		<guid isPermaLink="false">http://dynamicsaxposed.wordpress.com/2012/01/09/list-all-mandatory-fields-in-the-aot-job/</guid>
		<description><![CDATA[Hi- I wrote a job today that can list all the fields that are mandatory and belongs to particular tables that have particular configuration key. I thought I should share the code here, it might be helpful. #static void findMandFIelds(Args _args) #{ # Dictionary dictionary; # TableId tableId; # Dicttable dictTable; # DictField dictField; # [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=294&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi-</p>
<p>I wrote a job today that can list all the fields that are mandatory and belongs to particular tables that have particular configuration key. I thought I should share the code here, it might be helpful.</p>
<p>#static void findMandFIelds(Args _args)</p>
<p>#{</p>
<p># Dictionary dictionary;</p>
<p># TableId tableId;</p>
<p># Dicttable dictTable;</p>
<p># DictField dictField;</p>
<p># int fieldCounter;</p>
<p># TextBuffer textbuffer = new TextBuffer();</p>
<p># str fieldpath, previousText;</p>
<p>#</p>
<p>#</p>
<p># dictionary = new Dictionary();</p>
<p>#</p>
<p># tableId = dictionary.tableNext(0);</p>
<p>#</p>
<p># while (tableId)</p>
<p># {</p>
<p># info(int2str(tableId));</p>
<p>#</p>
<p># tableId = dictionary.tableNext(tableId);</p>
<p># dictTable = new DictTable(tableId);</p>
<p>#</p>
<p># if (dicttable &amp;&amp; dictTable.configurationKeyId() == configurationKeyNum(&#8216;Bank&#8217;))</p>
<p># {</p>
<p># fieldpath = &#8220;&#8221;;</p>
<p># for (fieldcounter = 1; fieldcounter &lt;= dictTable.fieldCnt(); fieldCounter++)</p>
<p># {</p>
<p># dictField = new dictField(tableId, dictfield.fieldCnt2Id(fieldCounter));</p>
<p># if (dictField &amp;&amp; dictField.mandatory() == true)</p>
<p># {</p>
<p># fieldpath += dicttable.name() + &#8220;:&#8221;+ dictField.name() + &#8220;\n&#8221;;</p>
<p># }</p>
<p># }</p>
<p># previousText = textbuffer.getText();</p>
<p># textbuffer.setText(previousText + fieldpath);</p>
<p># }</p>
<p># }</p>
<p>&nbsp;</p>
<p># textbuffer.toFile(&#8220;c:\\Test.txt&#8221;);</p>
<p>#}</p>
<h3></h3>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dynamicsaxposed.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dynamicsaxposed.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dynamicsaxposed.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dynamicsaxposed.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dynamicsaxposed.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dynamicsaxposed.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dynamicsaxposed.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dynamicsaxposed.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dynamicsaxposed.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dynamicsaxposed.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dynamicsaxposed.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dynamicsaxposed.wordpress.com/294/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dynamicsaxposed.wordpress.com/294/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dynamicsaxposed.wordpress.com/294/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=294&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dynamicsaxposed.wordpress.com/2012/01/09/list-all-mandatory-fields-in-the-aot-job/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0599f71b0bf3aee6040761bc9c120d7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fawad85</media:title>
		</media:content>
	</item>
		<item>
		<title>DEL_ mark field utility</title>
		<link>http://dynamicsaxposed.wordpress.com/2012/01/01/del_-mark-field-utility/</link>
		<comments>http://dynamicsaxposed.wordpress.com/2012/01/01/del_-mark-field-utility/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 04:08:50 +0000</pubDate>
		<dc:creator>Faddy</dc:creator>
				<category><![CDATA[My Utilites]]></category>
		<category><![CDATA[Axapta]]></category>
		<category><![CDATA[DEL mark fields]]></category>
		<category><![CDATA[Dynamics Ax]]></category>
		<category><![CDATA[rename fields in Ax]]></category>
		<category><![CDATA[tree node]]></category>
		<category><![CDATA[treenode]]></category>
		<category><![CDATA[utility]]></category>

		<guid isPermaLink="false">http://dynamicsaxposed.wordpress.com/?p=288</guid>
		<description><![CDATA[I have just created Del mark field utility for tables. In Axapta, if you want to delete some field from table in some newer version, you can’t simple delete the field, You have to rename the field to DEL_perfix and set configuration key to “SysDeletedObjectsVersionNumber” and it can be hectic, if you want to do [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=288&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I have just created Del mark field utility for tables. In Axapta, if you want to delete some field from table in some newer version, you can’t simple delete the field, You have to rename the field to DEL_perfix and set configuration key to “SysDeletedObjectsVersionNumber” and it can be hectic, if you want to do that to multiple tables. By using this utility you can Del_Mark the multiple objects in No time. You can provide the list of tables to it and it will Del_Mark the field for it.</p>
<p>I made this utility long time back, I thought I should share this. This is not a big utility, it just minimizes the repeating task time.</p>
<p><a href="http://dynamicsaxposed.files.wordpress.com/2012/01/image001.png"><img src="http://dynamicsaxposed.files.wordpress.com/2012/01/image001.png?w=604" alt="" title="image001"   class="alignnone size-full wp-image-289" /></a></p>
<p>You can find the utility <a href="http://www.box.com/s/hgf7p8eh4ci2krfnv12t"> here</a></p>
<h3> </h3>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dynamicsaxposed.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dynamicsaxposed.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dynamicsaxposed.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dynamicsaxposed.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dynamicsaxposed.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dynamicsaxposed.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dynamicsaxposed.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dynamicsaxposed.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dynamicsaxposed.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dynamicsaxposed.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dynamicsaxposed.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dynamicsaxposed.wordpress.com/288/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dynamicsaxposed.wordpress.com/288/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dynamicsaxposed.wordpress.com/288/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=288&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dynamicsaxposed.wordpress.com/2012/01/01/del_-mark-field-utility/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0599f71b0bf3aee6040761bc9c120d7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fawad85</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2012/01/image001.png" medium="image">
			<media:title type="html">image001</media:title>
		</media:content>
	</item>
		<item>
		<title>Number sequence framework in Ax 2012 (Part 2: Consumption))</title>
		<link>http://dynamicsaxposed.wordpress.com/2011/12/31/number-sequence-framework-in-ax-2012-part-2-consumption/</link>
		<comments>http://dynamicsaxposed.wordpress.com/2011/12/31/number-sequence-framework-in-ax-2012-part-2-consumption/#comments</comments>
		<pubDate>Sat, 31 Dec 2011 23:13:41 +0000</pubDate>
		<dc:creator>Faddy</dc:creator>
				<category><![CDATA[Dynamics Ax 2012]]></category>
		<category><![CDATA[Ax 2012]]></category>
		<category><![CDATA[Axapta]]></category>
		<category><![CDATA[error number sequence]]></category>
		<category><![CDATA[number sequence]]></category>
		<category><![CDATA[number sequence consumption]]></category>
		<category><![CDATA[number sequence module]]></category>
		<category><![CDATA[numberSeqFormHandler]]></category>
		<category><![CDATA[numberSequenceReference]]></category>
		<category><![CDATA[numberSequenceTable]]></category>
		<category><![CDATA[x ++]]></category>

		<guid isPermaLink="false">http://dynamicsaxposed.wordpress.com/?p=286</guid>
		<description><![CDATA[Consumption Part Hi Readers, I implemented the number sequence consumption part today on the Form. So here are the steps that are needed to implement the number sequence. I would be more helpful, if we divide the number sequence Consumption in following two ways For Generation A method is needed to be made on the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=286&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<h2><strong>Consumption Part</strong></h2>
<p>Hi Readers,</p>
<p>I implemented the number sequence consumption part today on the Form. So here are the steps that are needed to implement the number sequence. I would be more helpful, if we divide the number sequence Consumption in following two ways</p>
<p><a href="http://dynamicsaxposed.files.wordpress.com/2011/12/image003.png"><img class="alignnone size-full wp-image-287" title="image003" src="http://dynamicsaxposed.files.wordpress.com/2011/12/image003.png?w=604&#038;h=404" alt="" width="604" height="404" /></a></p>
<h2><strong>For Generation</strong></h2>
<p>A method is needed to be made on the Form level with name “numberSequenceHandler” as below</p>
<p>NumberSeqFormHandler numberSeqFormHandler()</p>
<p>{</p>
<p><strong>if</strong> (!numberSeqFormHandler)</p>
<p>{</p>
<p>numberSeqFormHandler = NumberSeqFormHandler::newForm(NumberSeqReference::findReference(<strong>extendedTypeNum</strong>(TestNumberSeqIdOfTheTable)).NumberSequenceId,</p>
<p>element,</p>
<p>TestTable_ds,</p>
<p><strong>fieldNum</strong>(TestTable, DocumentNumber)</p>
<p>);</p>
<p>}</p>
<p>element.isValid();</p>
<p><strong>return</strong> numberSeqFormHandler;</p>
<p>}</p>
<p><strong>Note: You don’t have to write any statement like testTable.TestNumberGenerated = API.NumberSequence, the API will assign the number automatically to your table. </strong></p>
<p><strong>For Consumption</strong></p>
<p>The written, validateWrite, create, closeCancel on the data source that has the number sequence edt that was created as mentioned in the last blog.</p>
<p style="text-align:left;"><strong>public</strong> <strong>void</strong> written()</p>
<p style="text-align:left;">{</p>
<p style="text-align:left;"><em>//</em></p>
<p style="text-align:left;"><em>// have to wrap NumberSeqFormHandler method with ttsbegin and ttscommit</em></p>
<p style="text-align:left;"><em>// in case number sequence&#8217;s continuous is set</em></p>
<p style="text-align:left;"><em>//</em></p>
<p style="text-align:left;"><strong>ttsbegin</strong>;</p>
<p style="text-align:left;">element.numberSeqFormHandler().formMethodDataSourceWrite();</p>
<p style="text-align:left;"><strong>ttscommit</strong>;</p>
<p style="text-align:left;"><strong>super</strong>();</p>
<p style="text-align:left;">}</p>
<p style="text-align:left;"><strong>public</strong> <strong>boolean</strong> validateWrite()</p>
<p style="text-align:left;">{</p>
<p style="text-align:left;"><strong>boolean</strong> ret;</p>
<p style="text-align:left;">ret = <strong>super</strong>();</p>
<p style="text-align:left;">ret = ret &amp; element.numberSeqFormHandler().formMethodDataSourceValidateWrite();</p>
<p style="text-align:left;"><strong>return</strong> ret;</p>
<p style="text-align:left;">}</p>
<p style="text-align:left;"><strong>public</strong> <strong>void</strong> create(<strong>boolean</strong> _append = <strong>false</strong>)</p>
<p style="text-align:left;">{</p>
<p style="text-align:left;">element.numberSeqFormHandler().formMethodDataSourceCreatePre();</p>
<p style="text-align:left;"><strong>super</strong>(_append);</p>
<p style="text-align:left;">element.numberSeqFormHandler().formMethodDataSourceCreate();</p>
<p style="text-align:left;">}</p>
<p style="text-align:left;"><strong>public</strong> <strong>void</strong> closeCancel()</p>
<p style="text-align:left;">{</p>
<p style="text-align:left;"><em>//</em></p>
<p style="text-align:left;"><em>// have to wrap NumberSeqFormHandler method with ttsbegin and ttscommit</em></p>
<p style="text-align:left;"><em>// in case number sequence&#8217;s continuous is set</em></p>
<p style="text-align:left;"><em>//</em></p>
<p style="text-align:left;"><strong>ttsbegin</strong>;</p>
<p style="text-align:left;">element.numberSeqFormHandler().formMethodDataSourceDelete();</p>
<p style="text-align:left;"><strong>ttscommit</strong>;</p>
<p style="text-align:left;"><strong>super</strong>();</p>
<p style="text-align:left;">}</p>
<h1><strong>Trouble Shooting:</strong></h1>
<p>1)Check number sequence generated or not</p>
<p>2)If you have updated the code, make sure you delete the row for it from the numberSequenceDataType table before you are going regenerate.</p>
<h3></h3>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dynamicsaxposed.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dynamicsaxposed.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dynamicsaxposed.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dynamicsaxposed.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dynamicsaxposed.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dynamicsaxposed.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dynamicsaxposed.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dynamicsaxposed.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dynamicsaxposed.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dynamicsaxposed.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dynamicsaxposed.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dynamicsaxposed.wordpress.com/286/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dynamicsaxposed.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dynamicsaxposed.wordpress.com/286/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=286&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dynamicsaxposed.wordpress.com/2011/12/31/number-sequence-framework-in-ax-2012-part-2-consumption/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0599f71b0bf3aee6040761bc9c120d7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fawad85</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2011/12/image003.png" medium="image">
			<media:title type="html">image003</media:title>
		</media:content>
	</item>
		<item>
		<title>Number sequence framework in Ax 2012 (simplified implementation)</title>
		<link>http://dynamicsaxposed.wordpress.com/2011/12/07/number-sequence-framework-in-ax-2012-simplified-implementation/</link>
		<comments>http://dynamicsaxposed.wordpress.com/2011/12/07/number-sequence-framework-in-ax-2012-simplified-implementation/#comments</comments>
		<pubDate>Wed, 07 Dec 2011 21:55:15 +0000</pubDate>
		<dc:creator>Faddy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Ax 2012]]></category>
		<category><![CDATA[Axapta]]></category>
		<category><![CDATA[error number sequence]]></category>
		<category><![CDATA[getting error at generation wizard]]></category>
		<category><![CDATA[loadModule]]></category>
		<category><![CDATA[number sequence]]></category>
		<category><![CDATA[number sequence module]]></category>
		<category><![CDATA[numberSequenceReference]]></category>
		<category><![CDATA[numberSequenceTable]]></category>
		<category><![CDATA[x ++]]></category>

		<guid isPermaLink="false">http://dynamicsaxposed.wordpress.com/?p=278</guid>
		<description><![CDATA[Hi Readers, Today. this post is about the “Number sequence framework in Ax 2012”. I did get a chance to work on it yesterday and I implemented the number sequence using the white paper available at msdn. I won’t be discussing the core concepts here, as they are already discussed comprehensively in the white paper, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=278&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi Readers,</p>
<p>Today. this post is about the “Number sequence framework in Ax 2012”. I did get a chance to work on it yesterday and I implemented the number sequence using the white paper available at <a href="http://msdn.microsoft.com/en-us/library/aa608474.aspx">msdn</a>. I won’t be discussing the core concepts here, as they are already discussed comprehensively in the white paper, however I will be focusing on the implementation details. I found couple of problems during the implementation and I thought I should discuss those issues and solutions for those. Also I tried simplifying the steps for the uptake of the number sequence, by classifying the steps in categories and providing “a, b, c, d” steps to uptake it.</p>
<p>So firstly the broader picture</p>
<p>To simplify, There are three areas that are controlled by number sequence API as shown in the picture and for each area you need to do code specifically to that particular area to achieve the functionality.</p>
<p>&nbsp;</p>
<p>The first two areas(A and B) are related to the Setup and ( C ) part is related to the consumption.</p>
<p><a href="http://dynamicsaxposed.files.wordpress.com/2011/12/image006.png"><img class="alignnone size-full wp-image-282" title="image006" src="http://dynamicsaxposed.files.wordpress.com/2011/12/image006.png?w=604&#038;h=403" alt="" width="604" height="403" /></a></p>
<p>A. <strong>Number Sequence Module Setup</strong></p>
<p>i. Create an extended data type that will be storing the Number sequence generated number for your table. We mostly make it string type since we may want to store the company Id with generated number.</p>
<p>ii. Append the module name in the NumberSeqModule</p>
<p><a href="http://dynamicsaxposed.files.wordpress.com/2011/12/image004.png"><img class="alignnone size-full wp-image-279" title="image004" src="http://dynamicsaxposed.files.wordpress.com/2011/12/image004.png?w=604" alt=""   /></a></p>
<p>iii. Make a new class with your module name prefix so if you are making Module Abc, you class name would be named NumberSeqModuleABC. This class will add the area in the number sequence administration page.</p>
<p>iv. You need to extend this class with NumberSeqApplicationModule class.</p>
<p>v. Override the loadModule method and add your extended data type reference here. The dataArea line is only needed if you want to provide the user an option in the Module parameters Form, this is my understanding, please correct me on this if I am wrong. This method will create the data types in the NumberSeqDataType data table</p>
<p>protected void loadModule()</p>
<p>{</p>
<p>NumberSeqDatatype datatype = NumberSeqDatatype::construct();</p>
<p>/* Setup application numbers */</p>
<p>datatype.parmDatatypeId(extendedtypenum(TestEdt));</p>
<p>datatype.parmReferenceHelp(literalstr(&#8220;@testHelp&#8221;));</p>
<p>datatype.parmReferenceLabel(literalstr(&#8220;@testLabel&#8221;));</p>
<p>datatype.parmWizardIsContinuous(true);</p>
<p>datatype.parmWizardIsManual(NoYes::No);</p>
<p>datatype.parmWizardIsChangeDownAllowed(NoYes::No);</p>
<p>datatype.parmWizardIsChangeUpAllowed(NoYes::No);</p>
<p>datatype.parmWizardHighest(999999);</p>
<p>datatype.parmSortField(1);</p>
<p>datatype.addParameterType(NumberSeqParameterType::DataArea, true, false);</p>
<p>this.create(datatype);</p>
<p>}</p>
<p>vi. Override numberSeqModule method and return your module just like below</p>
<p>public NumberSeqModule numberSeqModule()</p>
<p>{</p>
<p>return NumberSeqModule::TestModule;</p>
<p>}</p>
<p>vii. Run the job to load your module since the module loading code in Ax 2012 has moved to the check list part, in Ax 2009 the service restart used to perform this action. This is the tricky part because the code written in the whitepaper didn’t work for me and I ran the following job.</p>
<p>static void Job1(Args _args)</p>
<p>{</p>
<p>NumberSeqModuleTestModule obj = new NumberSeqModuleTestModule();</p>
<p>obj.createReferencesForScope();</p>
<p>obj.load();</p>
<p>}</p>
<p>viii. After running job, go to Organization Adminsitration à Number sequences à Number sequences à generate wizard button. Note, whitepaper for Ax 2012 states that there is no need to restart Aos service after that, however you will encounter error here that the module you made does not exist, so you need to restart AO and you are done.</p>
<p><strong>B. Number sequence for the parameter Form</strong></p>
<p><strong> i. </strong>If you want to just add your edt to an existing module, just create the edt data type in Module specific number sequence module as mentioned above and include the DataArea there in the parameter type to show here.</p>
<p><strong> ii. One useful tip is, if you are doing try and run on load module code, the changes won’t reflect as each time load module code run, it creates a row for the Number sequence data type in the data type table so you need to remove the row and make sure there is one row for your data type so that API doesn’t get confused when you update the code for your data type.</strong></p>
<p>&nbsp;</p>
<p>iii. Go to parameters Form now, add the numberSequencePreInit() method in the Form, just like below</p>
<p>void numberSeqPreInit()</p>
<p>{</p>
<p>runExecuteDirect = false;<br />
numberSequenceModules = [NumberSeqModule::Payroll]; numberSeqApplicationModule = new NumberSeqModulePayroll();<br />
scope = NumberSeqScopeFactory::createDataAreaScope();<br />
NumberSeqApplicationModule::createReferencesMulti(numberSequenceModules, scope);</p>
<p>tmpIdRef.setTmpData(NumberSequenceReference::configurationKeyTableMulti(numberSequenceModules));</p>
<p>}</p>
<p>iv. Add numberSequenceReference data source in the Parameter form and add numberSequence table as reference in the data source</p>
<p><a href="http://dynamicsaxposed.files.wordpress.com/2011/12/image005.png"><img class="alignnone size-full wp-image-280" title="image005" src="http://dynamicsaxposed.files.wordpress.com/2011/12/image005.png?w=604" alt=""   /></a></p>
<p>v. Make three methods on the data source as above, you can copy it from other Forms like CustParameters and VendParameters Form and you are good to go</p>
<p><strong>C. The consumption part</strong></p>
<table cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td><a href="http://dynamicsaxposed.files.wordpress.com/2011/12/image008.png"><img class="alignnone size-full wp-image-283" title="image008" src="http://dynamicsaxposed.files.wordpress.com/2011/12/image008.png?w=604" alt=""   /></a></td>
</tr>
</tbody>
</table>
<h3></h3>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dynamicsaxposed.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dynamicsaxposed.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dynamicsaxposed.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dynamicsaxposed.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dynamicsaxposed.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dynamicsaxposed.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dynamicsaxposed.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dynamicsaxposed.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dynamicsaxposed.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dynamicsaxposed.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dynamicsaxposed.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dynamicsaxposed.wordpress.com/278/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dynamicsaxposed.wordpress.com/278/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dynamicsaxposed.wordpress.com/278/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=278&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dynamicsaxposed.wordpress.com/2011/12/07/number-sequence-framework-in-ax-2012-simplified-implementation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0599f71b0bf3aee6040761bc9c120d7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fawad85</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2011/12/image006.png" medium="image">
			<media:title type="html">image006</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2011/12/image004.png" medium="image">
			<media:title type="html">image004</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2011/12/image005.png" medium="image">
			<media:title type="html">image005</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2011/12/image008.png" medium="image">
			<media:title type="html">image008</media:title>
		</media:content>
	</item>
		<item>
		<title>Financial dimension uptake utility</title>
		<link>http://dynamicsaxposed.wordpress.com/2011/11/29/financial-dimension-uptake-utility/</link>
		<comments>http://dynamicsaxposed.wordpress.com/2011/11/29/financial-dimension-uptake-utility/#comments</comments>
		<pubDate>Tue, 29 Nov 2011 18:41:05 +0000</pubDate>
		<dc:creator>Faddy</dc:creator>
				<category><![CDATA[Dynamics Ax]]></category>
		<category><![CDATA[add financial dimension]]></category>
		<category><![CDATA[Ax 2012]]></category>
		<category><![CDATA[Ax 6 financial dimension]]></category>
		<category><![CDATA[Ax utilites]]></category>
		<category><![CDATA[Ax6 utility]]></category>
		<category><![CDATA[Axapta]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[default dimension]]></category>
		<category><![CDATA[tab financial dimension]]></category>
		<category><![CDATA[utility]]></category>

		<guid isPermaLink="false">http://dynamicsaxposed.wordpress.com/?p=270</guid>
		<description><![CDATA[Hi- I have just compiled a utility that can implement the new financial dimension control on the Form. This control is generated dynamically through classes in Ax 6 and it needs code at various location to function properly. I feel, with new frameworks coming, it is hard to remember them so it is better we [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=270&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi-</p>
<p>I have just compiled a utility that can implement the new financial dimension control on the Form. This control is generated dynamically through classes in Ax 6 and it needs code at various location to function properly. I feel, with new frameworks coming, it is hard to remember them so it is better we make utilities that can provide a developer appropriate options and can do work for them, it would not only save their time but also let them learn the other important stuff about Ax then just UI.</p>
<p>You can find the reference about it on msdn. <a href="http://ax2009developer.blogspot.com/2011/11/how-add-financial-dimension-on-forms.html">http://ax2009developer.blogspot.com/2011/11/how-add-financial-dimension-on-forms.html</a>. This utility is currently specific to default dimension tab. Please provide me your feedback, if you want more options. I have a plan to automate the segment entry control also if I find positive feedback from this post. I feel, with new frameworks coming, it is hard to remember them so it is better we make utilities that can provide a developer appropriate options and can do work for them, it would not only save their time but also let them learn the other important stuff about Ax then just UI.</p>
<p><a href="http://dynamicsaxposed.files.wordpress.com/2011/11/image001.png"><img class="alignnone size-full wp-image-271" title="image001" src="http://dynamicsaxposed.files.wordpress.com/2011/11/image001.png?w=604&#038;h=147" alt="" width="604" height="147" /></a></p>
<p><strong>So what does my utility do?</strong></p>
<p>This utility automates the steps for up taking the financial dimension control on the Forms and it allows to uptake on multiple Forms at a time. It also csv file support so you can specify the form name in the csv file and the utility will creates control on multiple form and speeds up the development time.</p>
<p><strong>How does it work?</strong></p>
<p>Just right click on any Form and you would have the option there to open a Form just like below</p>
<p><a href="http://dynamicsaxposed.files.wordpress.com/2011/11/image002.png"><img class="alignnone size-full wp-image-272" title="image002" src="http://dynamicsaxposed.files.wordpress.com/2011/11/image002.png?w=604&#038;h=329" alt="" width="604" height="329" /></a></p>
<p>You would find the Form just like below, click ok for the uptake</p>
<p><a href="http://dynamicsaxposed.files.wordpress.com/2011/11/image003.png"><img class="alignnone size-full wp-image-273" title="image003" src="http://dynamicsaxposed.files.wordpress.com/2011/11/image003.png?w=604&#038;h=445" alt="" width="604" height="445" /></a></p>
<p>After uptake you would find code with Todos, so it is easy to track the code</p>
<p><a href="http://dynamicsaxposed.files.wordpress.com/2011/11/image006.png"><img class="alignnone size-full wp-image-274" title="image006" src="http://dynamicsaxposed.files.wordpress.com/2011/11/image006.png?w=604" alt=""   /></a></p>
<p>You can download the utility from the link below</p>
<p><a title="Download xpo" href="http://www.box.com/s/lms8y4a8nkr21f2sle1s" target="_blank"><img class="alignnone size-full wp-image-275" title="image005" src="http://dynamicsaxposed.files.wordpress.com/2011/11/image005.jpg?w=604" alt=""   /></a></p>
<p>&nbsp;</p>
<h3></h3>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dynamicsaxposed.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dynamicsaxposed.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dynamicsaxposed.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dynamicsaxposed.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dynamicsaxposed.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dynamicsaxposed.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dynamicsaxposed.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dynamicsaxposed.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dynamicsaxposed.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dynamicsaxposed.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dynamicsaxposed.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dynamicsaxposed.wordpress.com/270/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dynamicsaxposed.wordpress.com/270/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dynamicsaxposed.wordpress.com/270/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=270&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dynamicsaxposed.wordpress.com/2011/11/29/financial-dimension-uptake-utility/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0599f71b0bf3aee6040761bc9c120d7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fawad85</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2011/11/image001.png" medium="image">
			<media:title type="html">image001</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2011/11/image002.png" medium="image">
			<media:title type="html">image002</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2011/11/image003.png" medium="image">
			<media:title type="html">image003</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2011/11/image006.png" medium="image">
			<media:title type="html">image006</media:title>
		</media:content>

		<media:content url="http://dynamicsaxposed.files.wordpress.com/2011/11/image005.jpg" medium="image">
			<media:title type="html">image005</media:title>
		</media:content>
	</item>
		<item>
		<title>Tyler Technologies Completes First-ever Deployment of Microsoft&#8230;</title>
		<link>http://dynamicsaxposed.wordpress.com/2011/11/11/tyler-technologies-completes-first-ever-deployment-of-microsoft/</link>
		<comments>http://dynamicsaxposed.wordpress.com/2011/11/11/tyler-technologies-completes-first-ever-deployment-of-microsoft/#comments</comments>
		<pubDate>Fri, 11 Nov 2011 09:51:53 +0000</pubDate>
		<dc:creator>Faddy</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Ax deployment]]></category>
		<category><![CDATA[Completes]]></category>
		<category><![CDATA[First-ever Deployment of Microsoft]]></category>
		<category><![CDATA[tyler technologies]]></category>

		<guid isPermaLink="false">http://dynamicsaxposed.wordpress.com/?p=267</guid>
		<description><![CDATA[http://www.benzinga.com/pressreleases/11/10/b2053921/tyler-technologies-completes-first-ever-deployment-of-microsoft-dynamic &#160;<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=267&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.benzinga.com/pressreleases/11/10/b2053921/tyler-technologies-completes-first-ever-deployment-of-microsoft-dynamic">http://www.benzinga.com/pressreleases/11/10/b2053921/tyler-technologies-completes-first-ever-deployment-of-microsoft-dynamic</a></p>
<p>&nbsp;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dynamicsaxposed.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dynamicsaxposed.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dynamicsaxposed.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dynamicsaxposed.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dynamicsaxposed.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dynamicsaxposed.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dynamicsaxposed.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dynamicsaxposed.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dynamicsaxposed.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dynamicsaxposed.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dynamicsaxposed.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dynamicsaxposed.wordpress.com/267/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dynamicsaxposed.wordpress.com/267/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dynamicsaxposed.wordpress.com/267/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=267&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dynamicsaxposed.wordpress.com/2011/11/11/tyler-technologies-completes-first-ever-deployment-of-microsoft/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0599f71b0bf3aee6040761bc9c120d7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fawad85</media:title>
		</media:content>
	</item>
		<item>
		<title>SysReferenceTableLookUp class for reference group</title>
		<link>http://dynamicsaxposed.wordpress.com/2011/11/04/sysreferencetablelookup-class-for-reference-group/</link>
		<comments>http://dynamicsaxposed.wordpress.com/2011/11/04/sysreferencetablelookup-class-for-reference-group/#comments</comments>
		<pubDate>Fri, 04 Nov 2011 15:14:32 +0000</pubDate>
		<dc:creator>Faddy</dc:creator>
				<category><![CDATA[Controls]]></category>
		<category><![CDATA[Dynamics Ax 2012]]></category>
		<category><![CDATA[customize]]></category>
		<category><![CDATA[customize lookup]]></category>
		<category><![CDATA[customize reference group]]></category>
		<category><![CDATA[Dynamics Ax]]></category>
		<category><![CDATA[lookup reference]]></category>
		<category><![CDATA[lookupReference]]></category>
		<category><![CDATA[reference control]]></category>
		<category><![CDATA[reference group]]></category>
		<category><![CDATA[SysReferenceTableLookUp]]></category>

		<guid isPermaLink="false">http://dynamicsaxposed.wordpress.com/2011/11/04/sysreferencetablelookup-class-for-reference-group/</guid>
		<description><![CDATA[There is a nice class with name “SysReferenceTableLookUp “ that I found during the analysis of reference control that has just been introduced in Ax 2012. The class is helpful for customizing lookup of a reference control. Why a different class for reference control? That’s a good question. The simple answer of this question is [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=252&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>There is a nice class with name “<strong>SysReferenceTableLookUp</strong> “ that I found during the analysis of reference control that has just been introduced in Ax 2012. The class is helpful for customizing lookup of a reference control.</p>
<p><strong>Why a different class for reference control?</strong></p>
<p>That’s a good question. The simple answer of this question is reference control behaves in a different way than normal control. It shows a different value on the UI to the user but it saves different value at the back-end. If you google it for analyzing the msdn view about this class, you would find definition something like “A sibling of <strong><em>SysTableLookup</em></strong> that is used <strong>to generate Grid-style custom lookups for <em>Reference Controls</em></strong>. According to my point of view, if you don’t use this class in case of Reference control and drag the RecId foreign key directly on the Form and override the lookup in the normal way, then on selecting the value from lookup, it would show the RecId to the user on UI.</p>
<p><strong>Ok, how can I implement this?</strong></p>
<p>You need to override the lookup reference method of the control or the foreign key field on the data source level. This method returns a table record and it is not void as SysTableLookup class.</p>
<table border="1" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td valign="top"><strong>public</strong>Common lookupReference(FormReferenceControl _formReferenceControl){SysReferenceTableLookup sysTableLookup = SysReferenceTableLookup::newParameters(<strong>tableNum</strong>(testTable), _formReferenceControl);Query testQuery;</p>
<p>QueryBuildDataSource qbds;</p>
<p>QueryBuildRange qbr;</p>
<p>TestTable selectedRecord;</p>
<p><em>// Display the coulmns fields in the lookup form.</em></p>
<p>sysTableLookup.addLookupfield(<strong>fieldNum</strong>(TestTable, TestColumn1));</p>
<p>sysTableLookup.addLookupfield(<strong>fieldNum</strong>(TestTable, TestColumn2));</p>
<p><em>// Create a custom Query </em></p>
<p>testQuery= <strong>new</strong> Query();</p>
<p>qbds = lookupQuery.addDataSource(<strong>tableNum</strong>(TestTable));</p>
<p>qbr = qbds.addRange(<strong>fieldNum</strong>(TestTable, TestColumn1));</p>
<p>qbr.value(SysQuery::valueNot(1));</p>
<p>qbds.addSortField(<strong>fieldNum</strong>(TestTable,EarningCode));</p>
<p>sysTableLookup.parmQuery(testQuery);</p>
<p>selectedRecord = sysTableLookup.performFormLookup();</p>
<p><strong>return</strong> selectedRecord;</p>
<p>}</td>
</tr>
</tbody>
</table>
<h3></h3>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dynamicsaxposed.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dynamicsaxposed.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/dynamicsaxposed.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/dynamicsaxposed.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/dynamicsaxposed.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/dynamicsaxposed.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/dynamicsaxposed.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/dynamicsaxposed.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/dynamicsaxposed.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/dynamicsaxposed.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/dynamicsaxposed.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/dynamicsaxposed.wordpress.com/252/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/dynamicsaxposed.wordpress.com/252/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/dynamicsaxposed.wordpress.com/252/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=dynamicsaxposed.wordpress.com&amp;blog=5892389&amp;post=252&amp;subd=dynamicsaxposed&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://dynamicsaxposed.wordpress.com/2011/11/04/sysreferencetablelookup-class-for-reference-group/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/0599f71b0bf3aee6040761bc9c120d7c?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">fawad85</media:title>
		</media:content>
	</item>
	</channel>
</rss>
