<?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/"
	>

<channel>
	<title>Doens.be</title>
	<atom:link href="http://www.doens.be/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.doens.be</link>
	<description></description>
	<lastBuildDate>Mon, 09 Apr 2012 10:57:35 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<item>
		<title>New look</title>
		<link>http://www.doens.be/2012/04/new-look/</link>
		<comments>http://www.doens.be/2012/04/new-look/#comments</comments>
		<pubDate>Sun, 08 Apr 2012 04:00:53 +0000</pubDate>
		<dc:creator>Jeroen Doens</dc:creator>
				<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[Metro]]></category>
		<category><![CDATA[Website]]></category>

		<guid isPermaLink="false">http://www.doens.be/?p=1113</guid>
		<description><![CDATA[I just spend a day creating a new layout for my blog. Since everything these days is Metro, I decided to create a metro-styled theme. It&#8217;s not completely finished, but here is the result till now]]></description>
			<content:encoded><![CDATA[<p>I just spend a day creating a new layout for my blog. Since everything these days is Metro, I decided to create a metro-styled theme. It&#8217;s not completely finished, but here is the result till now <img src='http://www.doens.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.doens.be/2012/04/new-look/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Dynamics is sponsoring the Lotus formula1 team</title>
		<link>http://www.doens.be/2012/03/microsoft-dynamics-is-sponsoring-the-lotus-formula1-team/</link>
		<comments>http://www.doens.be/2012/03/microsoft-dynamics-is-sponsoring-the-lotus-formula1-team/#comments</comments>
		<pubDate>Fri, 16 Mar 2012 04:00:08 +0000</pubDate>
		<dc:creator>Jeroen Doens</dc:creator>
				<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[Fun]]></category>

		<guid isPermaLink="false">http://www.doens.be/?p=1094</guid>
		<description><![CDATA[]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.doens.be/wp-content/uploads/2012/03/MicrosoftDynamicsF1.jpg"><img class="alignnone size-medium wp-image-1109" title="Microsoft Dynamics F1" src="http://www.doens.be/wp-content/uploads/2012/03/MicrosoftDynamicsF1-300x195.jpg" alt="" width="300" height="195" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.doens.be/2012/03/microsoft-dynamics-is-sponsoring-the-lotus-formula1-team/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ax2012 An SQL Server 2012</title>
		<link>http://www.doens.be/2012/03/ax2012-an-sql-server-2012/</link>
		<comments>http://www.doens.be/2012/03/ax2012-an-sql-server-2012/#comments</comments>
		<pubDate>Thu, 15 Mar 2012 06:42:54 +0000</pubDate>
		<dc:creator>Jeroen Doens</dc:creator>
				<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[Ax 6.0 (2012)]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.doens.be/?p=1080</guid>
		<description><![CDATA[Microsoft SQL Server 2012 RTM is released and hotfix 2680186 is availible for compatibiliteit with Microsoft Dynamics Ax2012. https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;2680186]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.doens.be/wp-content/uploads/2012/03/20120315-074725.jpg"><img class="alignnone size-full" src="http://www.doens.be/wp-content/uploads/2012/03/20120315-074725.jpg" alt="20120315-074725.jpg" /></a></p>
<p>Microsoft SQL Server 2012 RTM is released and hotfix 2680186 is availible for compatibiliteit with Microsoft Dynamics Ax2012.</p>
<p><a title="Kb 2680186" href="https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;2680186" target="_blank">https://mbs.microsoft.com/knowledgebase/KBDisplay.aspx?scid=kb;en-us;2680186</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.doens.be/2012/03/ax2012-an-sql-server-2012/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>My first workday with Windows 8</title>
		<link>http://www.doens.be/2012/03/my-first-workday-with-windows-8/</link>
		<comments>http://www.doens.be/2012/03/my-first-workday-with-windows-8/#comments</comments>
		<pubDate>Thu, 01 Mar 2012 20:00:02 +0000</pubDate>
		<dc:creator>Jeroen Doens</dc:creator>
				<category><![CDATA[Windows 8]]></category>

		<guid isPermaLink="false">http://www.doens.be/?p=1066</guid>
		<description><![CDATA[Yesterday evening I installed the Windows 8 Customer Preview on my work laptop (EliteBook 8740w i7-620M, 8GB Ram and 2x 500GB HDD). With a small hart I went to work and hoped that everything would work fine. Her is wat I found. At first I plugged in the network cable and I Couldn&#8217;t get connection. The only way I [...]]]></description>
			<content:encoded><![CDATA[<p>Yesterday evening I installed the Windows 8 Customer Preview on my work laptop<em> (EliteBook 8740w <strong>i7</strong>-620M, 8GB Ram and 2x 500GB HDD)</em>. With a small hart I went to work and hoped that everything would work fine. Her is wat I found.</p>
<p><a href="http://www.doens.be/wp-content/uploads/2012/03/windows8_StartupScreen.png" target="_blank"><img class="size-medium wp-image-1067 alignnone" title="Windows 8 Home Screen" src="http://www.doens.be/wp-content/uploads/2012/03/windows8_StartupScreen-300x187.png" alt="" width="300" height="187" /></a></p>
<p>At first I plugged in the network cable and I Couldn&#8217;t get connection. The only way I could get connection was by removing the network card in the device manager and reïnstalling it. For the rest of the day I had no special errors. Underneed are some of the applications I used within Windows 8:</p>
<ul>
<li><strong>Remote Desktop</strong> <strong>app</strong> (<em>big fan)</em></li>
</ul>
<p><a href="http://www.doens.be/wp-content/uploads/2012/03/windows8_RemoteDesktop.png" target="_blank"><img class="size-medium wp-image-1069 alignnone" title="windows 8 Remote Desktop" src="http://www.doens.be/wp-content/uploads/2012/03/windows8_RemoteDesktop-300x187.png" alt="" width="300" height="187" /></a></p>
<ul>
<li><strong>Windows 8 pause copy</strong></li>
</ul>
<p><a href="http://www.doens.be/wp-content/uploads/2012/03/windows8_Copy.png"><img class="alignnone size-medium wp-image-1088" title="windows8_Copy" src="http://www.doens.be/wp-content/uploads/2012/03/windows8_Copy-300x194.png" alt="" width="300" height="194" /></a></p>
<ul>
<li><strong>Evernote App</strong></li>
<li><strong>Snipping tool</strong><br />
The snipping tool is still the same, one small disadvantage is you cant&#8217; create snippings from the start screen.</li>
<li><strong>Task Manager</strong></li>
</ul>
<p><strong><a href="http://www.doens.be/wp-content/uploads/2012/03/windows8_TaskManager.png" target="_blank"><img class="size-medium wp-image-1071 alignnone" title="windows 8 TaskManager" src="http://www.doens.be/wp-content/uploads/2012/03/windows8_TaskManager-300x273.png" alt="" width="300" height="273" /></a></strong></p>
<ul>
<li><strong>Hyper-V</strong></li>
</ul>
<p><a href="http://www.doens.be/wp-content/uploads/2012/03/windows8_HyperV.png" target="_blank"><img class="alignnone  wp-image-1073" title="windows 8 Hyper-V" src="http://www.doens.be/wp-content/uploads/2012/03/windows8_HyperV-300x263.png" alt="" width="300" height="263" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.doens.be/2012/03/my-first-workday-with-windows-8/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Microsoft Windows 8 &#8211; Customer Preview</title>
		<link>http://www.doens.be/2012/02/microsoft-windows-8-customer-preview/</link>
		<comments>http://www.doens.be/2012/02/microsoft-windows-8-customer-preview/#comments</comments>
		<pubDate>Wed, 29 Feb 2012 18:51:17 +0000</pubDate>
		<dc:creator>Jeroen Doens</dc:creator>
				<category><![CDATA[Windows 8]]></category>

		<guid isPermaLink="false">http://www.doens.be/?p=1057</guid>
		<description><![CDATA[Microsoft Released the Customer Preview today, I just started downloading it with My TechNet-subscription and I&#8217;ll keep you up-to-date about my impressions :-) http://windows.microsoft.com/nl-BE/windows-8/consumer-preview &#160; &#160;]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.doens.be/wp-content/uploads/2012/02/windows_8_logo.jpg"><img class="alignleft  wp-image-1061" title="windows_8_logo" src="http://www.doens.be/wp-content/uploads/2012/02/windows_8_logo.jpg" alt="" width="319" height="241" /></a></p>
<p>Microsoft Released the Customer Preview today, I just started downloading it with My TechNet-subscription and I&#8217;ll keep you up-to-date about my impressions :-)</p>
<p><a href="http://windows.microsoft.com/nl-BE/windows-8/consumer-preview">http://windows.microsoft.com/nl-BE/windows-8/consumer-preview</a></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doens.be/2012/02/microsoft-windows-8-customer-preview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ax2009 Event Processing Error</title>
		<link>http://www.doens.be/2012/02/ax2009-event-processing-error/</link>
		<comments>http://www.doens.be/2012/02/ax2009-event-processing-error/#comments</comments>
		<pubDate>Wed, 22 Feb 2012 04:00:52 +0000</pubDate>
		<dc:creator>Jeroen Doens</dc:creator>
				<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[Ax 5.0 (2009)]]></category>
		<category><![CDATA[Event]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.doens.be/?p=1039</guid>
		<description><![CDATA[I have a customer that gets a error every time the EventJobCUD-batch (Change Based Events) runs. They got the following error: After some reseach I found out that when 2 fields are changed at the same time, you go several times through the listChangedFieldsEnumerator (location \Classes\EventProcessorCUD\processUpdate) 1 2 3 4 5 6 7 8 9 [...]]]></description>
			<content:encoded><![CDATA[<p>I have a customer that gets a error every time the EventJobCUD-batch (Change Based Events) runs. They got the following error:<br />
<a href="http://www.doens.be/wp-content/uploads/2012/02/EventJobCUD_error.png"><img class="size-full wp-image-1040 alignnone" title="EventJobCUD" src="http://www.doens.be/wp-content/uploads/2012/02/EventJobCUD_error.png" alt="" width="385" height="395" /></a></p>
<p>After some reseach I found out that when 2 fields are changed at the same time, you go several times through the listChangedFieldsEnumerator <em>(location \Classes\EventProcessorCUD\processUpdate)</em></p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="xpp" style="font-family:monospace;"><span style="color: #0000ff;">while</span> <span style="color: #000000;">&#40;</span>listChangedFieldsEnumerator.<span style="color: #000000;">moveNext</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
    <span style="color: #007f00;">// In this simple case we use the new and the original changed field value as</span>
    <span style="color: #007f00;">// recorded at event detection time:</span>
    <span style="color: #000000;">&#91;</span>thisFieldId<span style="color: #00007f;">,</span> changedFieldValue<span style="color: #00007f;">,</span> origChangedFieldValue<span style="color: #000000;">&#93;</span> <span style="color: #00007f;">=</span> listChangedFieldsEnumerator.<span style="color: #000000;">current</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
&nbsp;
    <span style="color: #0000ff;">if</span> <span style="color: #000000;">&#40;</span>rule.<span style="color: #000000;">AlertFieldId</span> <span style="color: #00007f;">==</span> thisFieldId<span style="color: #000000;">&#41;</span>
        <span style="color: #0000ff;">break</span>;
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>The code underneed simulates the same situation in a small job:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
</pre></td><td class="code"><pre class="xpp" style="font-family:monospace;"><span style="color: #0000ff;">static</span> <span style="color: #0000ff;">void</span> Job5<span style="color: #000000;">&#40;</span>Args _args<span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
    <span style="color: #0000ff;">anytype</span> any;
    ;
    any <span style="color: #00007f;">=</span> ABC<span style="color: #00007f;">::</span><span style="color: #000000;">A</span>;
&nbsp;
    <span style="color: #007f00;">// next line will throw a error</span>
    any <span style="color: #00007f;">=</span> BatchStatus<span style="color: #00007f;">::</span><span style="color: #000000;">Canceled</span>;
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

<p>And here we get the basic same error <strong>&#8220;Error executing code: Wrong argument types in variable assignment.&#8221;</strong></p>
<p>I modified the code so the anytype is assigned only when the field is correct:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
</pre></td><td class="code"><pre class="xpp" style="font-family:monospace;"><span style="color: #0000ff;">while</span> <span style="color: #000000;">&#40;</span>listChangedFieldsEnumerator.<span style="color: #000000;">moveNext</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #000000;">&#41;</span>
<span style="color: #000000;">&#123;</span>
    <span style="color: #007f00;">// In this simple case we use the new and the original changed field value as</span>
    <span style="color: #007f00;">// recorded at event detection time:</span>
    thisFieldId <span style="color: #00007f;">=</span> <span style="color: #0000ff;">conpeek</span><span style="color: #000000;">&#40;</span>listChangedFieldsEnumerator.<span style="color: #000000;">current</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span><span style="color: #00007f;">,</span> <span style="color: #000000;">1</span><span style="color: #000000;">&#41;</span>;
&nbsp;
    <span style="color: #0000ff;">if</span> <span style="color: #000000;">&#40;</span>rule.<span style="color: #000000;">AlertFieldId</span> <span style="color: #00007f;">==</span> thisFieldId<span style="color: #000000;">&#41;</span>
    <span style="color: #000000;">&#123;</span>
        <span style="color: #000000;">&#91;</span>thisFieldId<span style="color: #00007f;">,</span> changedFieldValue<span style="color: #00007f;">,</span> origChangedFieldValue<span style="color: #000000;">&#93;</span> <span style="color: #00007f;">=</span> listChangedFieldsEnumerator.<span style="color: #000000;">current</span><span style="color: #000000;">&#40;</span><span style="color: #000000;">&#41;</span>;
        <span style="color: #0000ff;">break</span>;
    <span style="color: #000000;">&#125;</span>
<span style="color: #000000;">&#125;</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.doens.be/2012/02/ax2009-event-processing-error/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Install Ax2012 on SQL Server 2012 RC0</title>
		<link>http://www.doens.be/2012/02/install-ax2012-on-sql-server-2012-rc0/</link>
		<comments>http://www.doens.be/2012/02/install-ax2012-on-sql-server-2012-rc0/#comments</comments>
		<pubDate>Mon, 13 Feb 2012 04:00:39 +0000</pubDate>
		<dc:creator>Jeroen Doens</dc:creator>
				<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[Ax 6.0 (2012)]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.doens.be/?p=1029</guid>
		<description><![CDATA[During the preparations for Microsoft TechDays 2012 my colleague and I installed a fresh Windows Server 2008 R2 with SQL Server 2012 and Ax 2012. At first all seems to work (the AOS started and we could login with the client), but when we started to prepare and opened the &#8216;Datasource Name&#8217; lookup on the &#8216;Document Datasources&#8217; we got [...]]]></description>
			<content:encoded><![CDATA[<p>During the preparations for <a title="Techdays 2012" href="http://www.microsoft.com/belux/techdays/2012" target="_blank">Microsoft TechDays 2012</a> my colleague and I installed a fresh Windows Server 2008 R2 with SQL Server 2012 and Ax 2012. At first all seems to work<em> (the AOS started and we could login with the client)</em>, but when we started to prepare and opened the &#8216;Datasource Name&#8217; lookup on the &#8216;Document Datasources&#8217; we got an error. After some research my colleague <a title="Kenny Peetermans" href="http://be.linkedin.com/in/kennypeetermans" target="_blank">Kenny</a> found that the SQL UtilElements-view used a deprecated keyword called FASTFIRSTROW. After updating the view this functionality seems to work fine.<span id="more-1029"></span></p>
<p>The alter of the view should look like this:</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
</pre></td><td class="code"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">USE</span> <span style="color: #66cc66;">&#91;</span>MicrosoftDynamicsAX<span style="color: #66cc66;">&#93;</span>
<span style="color: #993333; font-weight: bold;">GO</span>
&nbsp;
<span style="color: #808080; font-style: italic;">/****** Object:  View [dbo].[UTILELEMENTS]    Script Date: 13/02/2012 10:12:52 ******/</span>
<span style="color: #993333; font-weight: bold;">SET</span> ANSI_NULLS <span style="color: #993333; font-weight: bold;">ON</span>
<span style="color: #993333; font-weight: bold;">GO</span>
&nbsp;
<span style="color: #993333; font-weight: bold;">SET</span> QUOTED_IDENTIFIER <span style="color: #993333; font-weight: bold;">ON</span>
<span style="color: #993333; font-weight: bold;">GO</span>
&nbsp;
<span style="color: #993333; font-weight: bold;">ALTER</span> <span style="color: #993333; font-weight: bold;">VIEW</span> <span style="color: #66cc66;">&#91;</span>dbo<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>UTILELEMENTS<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span>
<span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #808080; font-style: italic;">-- Select all Root Elements or Id based children or Root Elements with no children</span>
d<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>LayerId<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> UTILLEVEL<span style="color: #66cc66;">,</span>
e<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>ElementType<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> RECORDTYPE<span style="color: #66cc66;">,</span>
e<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>ParentId<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> PARENTID<span style="color: #66cc66;">,</span>
e<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>Name<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> NAME<span style="color: #66cc66;">,</span>
cs<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>SourceText<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> <span style="color: #993333; font-weight: bold;">SOURCE</span><span style="color: #66cc66;">,</span>
<span style="color: #993333; font-weight: bold;">CAST</span><span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">AS</span> varbinary<span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold;">MAX</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> CODE<span style="color: #66cc66;">,</span>
d<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>BASEVERSION<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">,</span>
d<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>VERSION<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">,</span>
d<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>SAVECOUNT<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">,</span>
d<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>MODIFIEDDATETIME<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">,</span>
<span style="color: #cc66cc;">0</span> <span style="color: #993333; font-weight: bold;">AS</span> DEL_MODIFIEDTIME<span style="color: #66cc66;">,</span>
d<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>MODIFIEDBY<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">,</span>
d<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>CREATEDDATETIME<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">,</span>
<span style="color: #cc66cc;">0</span> <span style="color: #993333; font-weight: bold;">AS</span> DEL_CREATEDTIME<span style="color: #66cc66;">,</span>
d<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>CREATEDBY<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">,</span>
d<span style="color: #66cc66;">.</span>ElementVersion <span style="color: #993333; font-weight: bold;">AS</span> RECVERSION<span style="color: #66cc66;">,</span>
d<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>LayerId<span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">*</span> <span style="color: #993333; font-weight: bold;">CAST</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">268435456</span> <span style="color: #993333; font-weight: bold;">AS</span> <span style="color: #993333; font-weight: bold;">BIGINT</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">+</span> e<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>ElementHandle<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> RECID
<span style="color: #993333; font-weight: bold;">FROM</span> <span style="color: #66cc66;">&#91;</span>dbo<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>ModelElement<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> e <span style="color: #993333; font-weight: bold;">WITH</span> <span style="color: #66cc66;">&#40;</span>READUNCOMMITTED<span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">INNER</span> <span style="color: #993333; font-weight: bold;">JOIN</span> <span style="color: #66cc66;">&#91;</span>dbo<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>ModelElementData<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> d <span style="color: #993333; font-weight: bold;">WITH</span> <span style="color: #66cc66;">&#40;</span>READUNCOMMITTED<span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">ON</span> d<span style="color: #66cc66;">.</span>ElementHandle <span style="color: #66cc66;">=</span> e<span style="color: #66cc66;">.</span>ElementHandle
<span style="color: #993333; font-weight: bold;">LEFT</span> <span style="color: #993333; font-weight: bold;">OUTER</span> <span style="color: #993333; font-weight: bold;">JOIN</span> <span style="color: #66cc66;">&#91;</span>dbo<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>Sources<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> cs <span style="color: #993333; font-weight: bold;">WITH</span> <span style="color: #66cc66;">&#40;</span>READUNCOMMITTED<span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">ON</span> cs<span style="color: #66cc66;">.</span>SourceHandle <span style="color: #66cc66;">=</span> e<span style="color: #66cc66;">.</span>ElementHandle
<span style="color: #993333; font-weight: bold;">AND</span> cs<span style="color: #66cc66;">.</span>LayerId <span style="color: #66cc66;">=</span> d<span style="color: #66cc66;">.</span>LayerId
<span style="color: #993333; font-weight: bold;">WHERE</span>
e<span style="color: #66cc66;">.</span>ParentHandle <span style="color: #66cc66;">=</span> <span style="color: #cc66cc;">0</span> <span style="color: #808080; font-style: italic;">-- Only Root element</span>
<span style="color: #993333; font-weight: bold;">AND</span> <span style="color: #993333; font-weight: bold;">NOT</span> <span style="color: #993333; font-weight: bold;">EXISTS</span>
<span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #cc66cc;">1</span> <span style="color: #993333; font-weight: bold;">FROM</span> <span style="color: #66cc66;">&#91;</span>dbo<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>ModelElement<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> gc <span style="color: #993333; font-weight: bold;">WITH</span> <span style="color: #66cc66;">&#40;</span>READUNCOMMITTED<span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">WHERE</span> gc<span style="color: #66cc66;">.</span>ParentHandle <span style="color: #66cc66;">=</span> e<span style="color: #66cc66;">.</span>ElementHandle <span style="color: #993333; font-weight: bold;">AND</span> gc<span style="color: #66cc66;">.</span>ParentId <span style="color: #66cc66;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">OR</span> <span style="color: #66cc66;">&#40;</span>e<span style="color: #66cc66;">.</span>ParentHandle &amp;lt;&amp;gt; <span style="color: #cc66cc;">0</span> <span style="color: #993333; font-weight: bold;">AND</span> e<span style="color: #66cc66;">.</span>ParentId &amp;lt;&amp;gt; <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span> <span style="color: #808080; font-style: italic;">-- Or Not granular child</span>
<span style="color: #993333; font-weight: bold;">UNION</span> <span style="color: #993333; font-weight: bold;">ALL</span>
<span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #808080; font-style: italic;">-- Select all Granular Root Elements children</span>
ug<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>LayerId<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> UTILLEVEL<span style="color: #66cc66;">,</span> <span style="color: #808080; font-style: italic;">-- dgc = Distinct Granular Child Layers</span>
e<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>ElementType<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> RECORDTYPE<span style="color: #66cc66;">,</span>
e<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>ParentId<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> PARENTID<span style="color: #66cc66;">,</span>
e<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>Name<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> NAME<span style="color: #66cc66;">,</span>
cs<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>SourceText<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> <span style="color: #993333; font-weight: bold;">SOURCE</span><span style="color: #66cc66;">,</span>
<span style="color: #993333; font-weight: bold;">CAST</span><span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold;">NULL</span> <span style="color: #993333; font-weight: bold;">AS</span> varbinary<span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold;">MAX</span><span style="color: #66cc66;">&#41;</span><span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">AS</span> CODE<span style="color: #66cc66;">,</span>
d<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>BASEVERSION<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">,</span>
d<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>VERSION<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">,</span>
d<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>SAVECOUNT<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">,</span>
d<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>MODIFIEDDATETIME<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">,</span>
<span style="color: #cc66cc;">0</span> <span style="color: #993333; font-weight: bold;">AS</span> DEL_MODIFIEDTIME<span style="color: #66cc66;">,</span>
d<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>MODIFIEDBY<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">,</span>
d<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>CREATEDDATETIME<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">,</span>
<span style="color: #cc66cc;">0</span> <span style="color: #993333; font-weight: bold;">AS</span> DEL_CREATEDTIME<span style="color: #66cc66;">,</span>
d<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>CREATEDBY<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">,</span>
d<span style="color: #66cc66;">.</span>ElementVersion <span style="color: #993333; font-weight: bold;">AS</span> RECVERSION<span style="color: #66cc66;">,</span>
d<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>LayerId<span style="color: #66cc66;">&#93;</span> <span style="color: #66cc66;">*</span> <span style="color: #993333; font-weight: bold;">CAST</span><span style="color: #66cc66;">&#40;</span><span style="color: #cc66cc;">268435456</span> <span style="color: #993333; font-weight: bold;">AS</span> <span style="color: #993333; font-weight: bold;">BIGINT</span><span style="color: #66cc66;">&#41;</span> <span style="color: #66cc66;">+</span> e<span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>ElementHandle<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> RECID
<span style="color: #993333; font-weight: bold;">FROM</span> <span style="color: #66cc66;">&#91;</span>dbo<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>ModelElement<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> e <span style="color: #993333; font-weight: bold;">WITH</span> <span style="color: #66cc66;">&#40;</span>READUNCOMMITTED<span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">INNER</span> <span style="color: #993333; font-weight: bold;">JOIN</span> <span style="color: #66cc66;">&#91;</span>dbo<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>UtilGranularLayers<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> ug <span style="color: #993333; font-weight: bold;">WITH</span> <span style="color: #66cc66;">&#40;</span>READUNCOMMITTED<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">ON</span> ug<span style="color: #66cc66;">.</span>RootHandle <span style="color: #66cc66;">=</span> e<span style="color: #66cc66;">.</span>ElementHandle
<span style="color: #993333; font-weight: bold;">INNER</span> <span style="color: #993333; font-weight: bold;">JOIN</span> <span style="color: #66cc66;">&#91;</span>dbo<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>ModelElementData<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> d <span style="color: #993333; font-weight: bold;">WITH</span> <span style="color: #66cc66;">&#40;</span>READUNCOMMITTED<span style="color: #66cc66;">&#41;</span> <span style="color: #993333; font-weight: bold;">ON</span> d<span style="color: #66cc66;">.</span>ElementHandle <span style="color: #66cc66;">=</span> e<span style="color: #66cc66;">.</span>ElementHandle
<span style="color: #993333; font-weight: bold;">LEFT</span> <span style="color: #993333; font-weight: bold;">OUTER</span> <span style="color: #993333; font-weight: bold;">JOIN</span> <span style="color: #66cc66;">&#91;</span>dbo<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">.</span><span style="color: #66cc66;">&#91;</span>Sources<span style="color: #66cc66;">&#93;</span> <span style="color: #993333; font-weight: bold;">AS</span> cs <span style="color: #993333; font-weight: bold;">WITH</span> <span style="color: #66cc66;">&#40;</span>READUNCOMMITTED<span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">ON</span> cs<span style="color: #66cc66;">.</span>SourceHandle <span style="color: #66cc66;">=</span> e<span style="color: #66cc66;">.</span>ElementHandle
<span style="color: #993333; font-weight: bold;">AND</span> cs<span style="color: #66cc66;">.</span>LayerId <span style="color: #66cc66;">=</span> d<span style="color: #66cc66;">.</span>LayerId
<span style="color: #993333; font-weight: bold;">WHERE</span>
e<span style="color: #66cc66;">.</span>ParentHandle <span style="color: #66cc66;">=</span> <span style="color: #cc66cc;">0</span> <span style="color: #808080; font-style: italic;">-- Only Root element</span>
<span style="color: #993333; font-weight: bold;">AND</span> <span style="color: #993333; font-weight: bold;">EXISTS</span>
<span style="color: #66cc66;">&#40;</span><span style="color: #993333; font-weight: bold;">SELECT</span> <span style="color: #cc66cc;">1</span> <span style="color: #993333; font-weight: bold;">FROM</span> <span style="color: #66cc66;">&#91;</span>dbo<span style="color: #66cc66;">&#93;</span><span style="color: #66cc66;">.</span>ModelElement <span style="color: #993333; font-weight: bold;">AS</span> gc <span style="color: #993333; font-weight: bold;">WITH</span> <span style="color: #66cc66;">&#40;</span>READUNCOMMITTED<span style="color: #66cc66;">&#41;</span>
<span style="color: #993333; font-weight: bold;">WHERE</span> gc<span style="color: #66cc66;">.</span>ParentHandle <span style="color: #66cc66;">=</span> e<span style="color: #66cc66;">.</span>ElementHandle <span style="color: #993333; font-weight: bold;">AND</span> gc<span style="color: #66cc66;">.</span>ParentId <span style="color: #66cc66;">=</span> <span style="color: #cc66cc;">0</span><span style="color: #66cc66;">&#41;</span> <span style="color: #808080; font-style: italic;">-- Granular child</span>
&nbsp;
<span style="color: #993333; font-weight: bold;">GO</span></pre></td></tr></table></div>

]]></content:encoded>
			<wfw:commentRss>http://www.doens.be/2012/02/install-ax2012-on-sql-server-2012-rc0/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>TechDays 2012 &#8211; Extending the reach of your Microsoft Dynamics AX Application with the next-gen tools</title>
		<link>http://www.doens.be/2012/01/techdays-2012-extending-the-reach-of-your-microsoft-dynamics-ax-application-with-the-next-gen-tools/</link>
		<comments>http://www.doens.be/2012/01/techdays-2012-extending-the-reach-of-your-microsoft-dynamics-ax-application-with-the-next-gen-tools/#comments</comments>
		<pubDate>Sat, 07 Jan 2012 02:00:00 +0000</pubDate>
		<dc:creator>Jeroen Doens</dc:creator>
				<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[Conference]]></category>
		<category><![CDATA[Event]]></category>
		<category><![CDATA[Fun]]></category>
		<category><![CDATA[TechDays]]></category>

		<guid isPermaLink="false">http://www.doens.be/2012/01/techdays-2012-extending-the-reach-of-your-microsoft-dynamics-ax-application-with-the-next-gen-tools/</guid>
		<description><![CDATA[On February th 14th this year I am giving my first presentation on TechDays You can view some details about my presentation on http://www.microsoft.com/belux/techdays/2012/SessionDetail.aspx?sessionId=275]]></description>
			<content:encoded><![CDATA[<p>On February th 14th this year I am giving my first presentation on TechDays <img src='http://www.doens.be/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  You can view some details about my presentation on<br />
<a href="http://www.microsoft.com/belux/techdays/2012/SessionDetail.aspx?sessionId=275">http://www.microsoft.com/belux/techdays/2012/SessionDetail.aspx?sessionId=275</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.doens.be/2012/01/techdays-2012-extending-the-reach-of-your-microsoft-dynamics-ax-application-with-the-next-gen-tools/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Social Media for Microsoft Dynamics Partners</title>
		<link>http://www.doens.be/2011/12/social-media-for-microsoft-dynamics-partners/</link>
		<comments>http://www.doens.be/2011/12/social-media-for-microsoft-dynamics-partners/#comments</comments>
		<pubDate>Thu, 15 Dec 2011 06:00:38 +0000</pubDate>
		<dc:creator>Jeroen Doens</dc:creator>
				<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[Book]]></category>

		<guid isPermaLink="false">http://www.doens.be/?p=1015</guid>
		<description><![CDATA[I was looking for some new Ax books and came accross a book titled &#8216;Social Media for Microsoft Dynamics Partners&#8217;  on Amazon.com Authors: Jon Rivers, Mark Polino Description: Social Media for Microsoft Dynamics Partners is a short, introductory book geared toward the specific business needs of Dynamics VAR&#8217;s and ISV&#8217;s. There are plenty of generic [...]]]></description>
			<content:encoded><![CDATA[<p>I was looking for some new Ax books and came accross a book titled &#8216;Social Media for Microsoft Dynamics Partners&#8217;  on <a title="Amazon.com" href="http://www.amazon.com/Social-Microsoft-Dynamics-Partners-ebook/dp/B0061NVW7A#" target="_blank">Amazon.com</a></p>
<p><strong>Authors</strong>: Jon Rivers, Mark Polino<br />
<strong>Description</strong>: Social Media for Microsoft Dynamics Partners is a short, introductory book geared toward the specific business needs of Dynamics VAR&#8217;s and ISV&#8217;s. There are plenty of generic social media guides available, and Microsoft provides some guidance to partners, but we felt that Dynamics partners were missing an independent source of social media help designed for their business. So we wrote one.</p>
<p><a href="http://www.amazon.com/gp/reader/B0061NVW7A/ref=sib_dp_kd/188-8622193-7660450#reader-link" target="_blank"><img class="size-full wp-image-1016 aligncenter" title="book_SocialMediaforMicrosoftDynamicsPartners" src="http://www.doens.be/wp-content/uploads/2011/12/book_SocialMediaforMicrosoftDynamicsPartners.png" alt="" width="225" height="225" /></a></p>
<p>I&#8217;m not sure if I&#8217;ll buy a copy, but maybe I&#8217;ll ask a copy for christmas :-)</p>
]]></content:encoded>
			<wfw:commentRss>http://www.doens.be/2011/12/social-media-for-microsoft-dynamics-partners/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ax 2012 Editor improvements</title>
		<link>http://www.doens.be/2011/12/ax-2012-editor-improvements/</link>
		<comments>http://www.doens.be/2011/12/ax-2012-editor-improvements/#comments</comments>
		<pubDate>Fri, 02 Dec 2011 06:00:41 +0000</pubDate>
		<dc:creator>Jeroen Doens</dc:creator>
				<category><![CDATA[Dynamics AX]]></category>
		<category><![CDATA[Ax 6.0 (2012)]]></category>
		<category><![CDATA[Code Editor]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Tips & Tricks]]></category>

		<guid isPermaLink="false">http://www.doens.be/?p=1003</guid>
		<description><![CDATA[In Microsoft Dynamics AX 2012, a new X++ Editor is introduced which replaces the current legacy editor. The new X++ Editor is based on hosting a Visual Studio 2010 Editor Framework control. Here are a few Tips &#38; Tricks: Type &#8216;main&#8217; + TAB: The editor generates a standard Main-method. Note: This trick works with all [...]]]></description>
			<content:encoded><![CDATA[<p>In Microsoft Dynamics AX 2012, a new X++ Editor is introduced which replaces the current legacy editor. The new X++ Editor is based on hosting a Visual Studio 2010 Editor Framework control.</p>
<p>Here are a few Tips &amp; Tricks:</p>
<ul>
<li>Type <strong>&#8216;main&#8217; + TAB</strong>: The editor generates a standard Main-method.<br />
Note: This trick works with all templates (right-click &#8211;&gt; Add-in &#8211;&gt; Template)</li>
<li>Type <strong>&#8216;///&#8217;</strong> on the top of a method. When you do so you get the standard header for generating XML-documentation.</li>
<li>While the intellicense <strong>drop-down</strong> is shown press <strong>CTRL</strong>. The drop-down dialog becomes transparent.</li>
<li><strong>CTRL + &#8216;c&#8217;</strong> at the begin of the line will copy the whole line.</li>
<li><strong>CTRL + &#8216;i&#8217;</strong> and start typing the word that you want to find. If you want the next, just type CTRL + &#8216;i&#8217; again.</li>
<li><strong>CTRL + scroll</strong> up/down to zoom in and out to the code.</li>
<li>Make a link to <strong>AX32.exe -development</strong> to go directly to the development-mode.</li>
</ul>
<p>You can find more on <a title="Microsoft Dynamics AX 2012 - X++ Editor" href="http://channel9.msdn.com/Blogs/mfp/AX2012-X-Editor" target="_blank">chanel 9</a><br />
<iframe style="height: 288px; width: 512px;" src="http://channel9.msdn.com/Blogs/mfp/AX2012-X-Editor/player?w=512&amp;h=288" frameborder="0" scrolling="no" width="320" height="240"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://www.doens.be/2011/12/ax-2012-editor-improvements/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
