<?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>MiP &#8211; Dennis Bischof</title>
	<atom:link href="https://dennisbischof.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://dennisbischof.wordpress.com</link>
	<description>Men in program</description>
	<lastBuildDate>Sat, 30 Sep 2017 00:57:07 +0000</lastBuildDate>
	<language>de-DE</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='dennisbischof.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>https://secure.gravatar.com/blavatar/8806961995c934f31f436b091888f99c?s=96&#038;d=https%3A%2F%2Fs2.wp.com%2Fi%2Fbuttonw-com.png</url>
		<title>MiP &#8211; Dennis Bischof</title>
		<link>https://dennisbischof.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="https://dennisbischof.wordpress.com/osd.xml" title="MiP - Dennis Bischof" />
	<atom:link rel='hub' href='https://dennisbischof.wordpress.com/?pushpress=hub'/>
	<item>
		<title>Täglich seine Erfolge feiern</title>
		<link>https://dennisbischof.wordpress.com/2016/09/22/taeglich-seine-erfolge-feiern/</link>
		<comments>https://dennisbischof.wordpress.com/2016/09/22/taeglich-seine-erfolge-feiern/#respond</comments>
		<pubDate>Thu, 22 Sep 2016 08:33:41 +0000</pubDate>
		<dc:creator><![CDATA[Dennis Bischof]]></dc:creator>
				<category><![CDATA[Alltag]]></category>

		<guid isPermaLink="false">http://dennisbischof.wordpress.com/?p=140</guid>
		<description><![CDATA[Wer kennt das Gefühl nicht. Man arbeitet den ganzen Tag und kommt scheinbar nicht vom Fleck im Projekt. Das ist dann natürlich sehr unbefriedigend. Der große Tag kommt jedoch irgendwann. Das Projekt ist Abgeschlossen und man kann seine Arbeit dem Kunden präsentieren. Zeitdruck, Kostendruck, Berge von Problemen liegen alle nun hinter einen und man kann &#8230; <a href="https://dennisbischof.wordpress.com/2016/09/22/taeglich-seine-erfolge-feiern/" class="more-link">Weiterlesen<span class="screen-reader-text"> "Täglich seine Erfolge&#160;feiern"</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=140&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Wer kennt das Gefühl nicht. Man arbeitet den ganzen Tag und kommt scheinbar nicht vom Fleck im Projekt. Das ist dann natürlich sehr unbefriedigend.</p>
<p>Der große Tag kommt jedoch irgendwann. Das Projekt ist Abgeschlossen und man kann seine Arbeit dem Kunden präsentieren. Zeitdruck, Kostendruck, Berge von Problemen liegen alle nun hinter einen und man kann sich dem Lobgesang des Kunden hingeben. Wir feiern unseren Erfolg.</p>
<p>Bis wir jedoch diesen Tag erreicht haben gilt es in der Regel eine lange Durststrecke zu überstehen. Wir brauchen auf den Weg soetwas wie kleine Oasen. Kleine Erfolge, die wir feiern können.</p>
<p>Seit mehreren Wochen übe ich mich darin meine täglichen Erfolge zu Feiern und ich fühle mich gut dabei. Sehr gut sogar. Wenn ich es etwas überschlage komme ich auf gut zwei bis fünf Erfolge pro Tag. Und am Ende des Tages reflektiere ich noch einmal über alle meine Erfolge. Mein kleiner CCD im Ohr ist also auch glücklich, da ich täglich <a href="http://clean-code-developer.de/die-grade/roter-grad/#Taeglich_reflektieren">reflektiere</a>.</p>
<p>Lust bekommen es mal selber zu probieren? Schreibe dir eine Aufgabe auf ein Blattpapier und hake sie ab sobald du sie erledigt hast. Genieße es den Vorgang beim abhaken &#8211; nimm von mir aus einen grünen Stift zum abhaken. Du hast es geschaft, der Punkt ist erledigt! Super! <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f389.png" alt="🎉" class="wp-smiley" style="height: 1em; max-height: 1em;" /><img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f389.png" alt="🎉" class="wp-smiley" style="height: 1em; max-height: 1em;" /><img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f389.png" alt="🎉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p>Blogeintrag geschrieben ✅</p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dennisbischof.wordpress.com/140/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dennisbischof.wordpress.com/140/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=140&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://dennisbischof.wordpress.com/2016/09/22/taeglich-seine-erfolge-feiern/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e041b8c81f7b8c7fa1ebcd0d93d80962?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Dennis Bischof</media:title>
		</media:content>
	</item>
		<item>
		<title>Joins in Queries</title>
		<link>https://dennisbischof.wordpress.com/2016/09/22/joins-in-queries/</link>
		<comments>https://dennisbischof.wordpress.com/2016/09/22/joins-in-queries/#respond</comments>
		<pubDate>Thu, 22 Sep 2016 08:11:48 +0000</pubDate>
		<dc:creator><![CDATA[Dennis Bischof]]></dc:creator>
				<category><![CDATA[Microsoft Dynamics AX 2012]]></category>
		<category><![CDATA[Microsoft Dynamics AX]]></category>
		<category><![CDATA[Query]]></category>

		<guid isPermaLink="false">http://dennisbischof.wordpress.com/?p=658</guid>
		<description><![CDATA[Durch die Normalisierung der Datenbank wirst du eher früher als später die Notwendigkeit haben Daten aus zwei oder mehreren Tabellen in einer Query abzufragen. Zum Glück verhält sich Dynamics AX hier nicht anders als SQL. Es gibt vier JoinMode&#8217;s InnerJoin, OuterJoin, ExistsJoin und NoExistsJoin. InnerJoin Selektiert Datensätze, welche in beiden Tabellen vorhanden sind und gibt &#8230; <a href="https://dennisbischof.wordpress.com/2016/09/22/joins-in-queries/" class="more-link">Weiterlesen<span class="screen-reader-text"> "Joins in Queries"</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=658&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Durch die <a href="https://de.wikipedia.org/wiki/Normalisierung_%28Datenbank%29" target="_blank">Normalisierung der Datenbank</a> wirst du eher früher als später die Notwendigkeit haben Daten aus zwei oder mehreren Tabellen in einer Query abzufragen. Zum Glück verhält sich Dynamics AX hier nicht anders als SQL.</p>
<p>Es gibt vier JoinMode&#8217;s <em>InnerJoin</em>, <em>OuterJoin</em>, <em>ExistsJoin</em> und <em>NoExistsJoin</em>.</p>
<p><strong>InnerJoin</strong><br />
Selektiert Datensätze, welche in beiden Tabellen vorhanden sind und gibt deren Daten zurück.<br />
Entsprechung in SQL:</p>
<pre style="background:#fff;color:#000;"><span style="color:#ff7800;">SELECT</span> <span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">ACCOUNTNUM</span> <span style="color:#ff7800;">AS</span> ACCOUNTNUM,<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">DATAAREAID</span> <span style="color:#ff7800;">AS</span> DATAAREAID,<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">PARTITION</span> <span style="color:#ff7800;">AS</span> PARTITION,<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">RECID</span> <span style="color:#ff7800;">AS</span> RECID,<span style="color:#3b5bb5;">T2</span>.<span style="color:#3b5bb5;">DATAAREAID</span> <span style="color:#ff7800;">AS</span> DATAAREAID2,<span style="color:#3b5bb5;">T2</span>.<span style="color:#3b5bb5;">PARTITION</span> <span style="color:#ff7800;">AS</span> PARTITION2 
<span style="color:#ff7800;">FROM</span> CUSTTABLE T1 <span style="color:#ff7800;">CROSS JOIN</span> CONTACTPERSON T2 
<span style="color:#ff7800;">WHERE</span> (<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">PARTY</span><span style="color:#ff7800;">=</span><span style="color:#3b5bb5;">T2</span>.<span style="color:#3b5bb5;">CONTACTFORPARTY</span> <span style="color:#ff7800;">AND</span> (<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">DATAAREAID</span> <span style="color:#ff7800;">=</span> <span style="color:#3b5bb5;">T2</span>.<span style="color:#3b5bb5;">DATAAREAID</span>) <span style="color:#ff7800;">AND</span> (<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">PARTITION</span> <span style="color:#ff7800;">=</span> <span style="color:#3b5bb5;">T2</span>.<span style="color:#3b5bb5;">PARTITION</span>))
</pre>
<p><strong>OuterJoin</strong><br />
Selektiert alle Datensätze, welche in der übergeordneten Tabelle vorhanden sind. Egal ob in der untergeordneten Tabelle Datensätze verknüpft sind.<br />
Entsprechung in SQL:</p>
<pre style="background:#fff;color:#000;"><span style="color:#ff7800;">SELECT</span> <span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">ACCOUNTNUM</span> <span style="color:#ff7800;">AS</span> ACCOUNTNUM,<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">DATAAREAID</span> <span style="color:#ff7800;">AS</span> DATAAREAID,<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">PARTITION</span> <span style="color:#ff7800;">AS</span> PARTITION,<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">RECID</span> <span style="color:#ff7800;">AS</span> RECID,<span style="color:#3b5bb5;">T2</span>.<span style="color:#3b5bb5;">DATAAREAID</span> <span style="color:#ff7800;">AS</span> DATAAREAID2,<span style="color:#3b5bb5;">T2</span>.<span style="color:#3b5bb5;">PARTITION</span> <span style="color:#ff7800;">AS</span> PARTITION2
<span style="color:#ff7800;">FROM</span>  CUSTTABLE T1 <span style="color:#ff7800;">LEFT OUTER JOIN</span> CONTACTPERSON T2 
    <span style="color:#ff7800;">ON</span> (<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">PARTY</span><span style="color:#ff7800;">=</span><span style="color:#3b5bb5;">T2</span>.<span style="color:#3b5bb5;">CONTACTFORPARTY</span> <span style="color:#ff7800;">AND</span> (<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">DATAAREAID</span> <span style="color:#ff7800;">=</span> <span style="color:#3b5bb5;">T2</span>.<span style="color:#3b5bb5;">DATAAREAID</span>) <span style="color:#ff7800;">AND</span> (<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">PARTITION</span> <span style="color:#ff7800;">=</span> <span style="color:#3b5bb5;">T2</span>.<span style="color:#3b5bb5;">PARTITION</span>))

</pre>
<p><strong>ExistJoin<br />
</strong>Es werden nur Datensätze zurück gegeben, welche in der untergeordneten Tabelle verknüpfte Datensätze enthalten. <span style="text-decoration:underline;">Wichtig</span>, es wird nur die übergeordnete Tabelle geladen.<br />
Entsprechung in SQL:</p>
<pre style="background:#fff;color:#000;"><span style="color:#ff7800;">SELECT</span> <span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">ACCOUNTNUM</span> <span style="color:#ff7800;">AS</span> ACCOUNTNUM,<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">DATAAREAID</span> <span style="color:#ff7800;">AS</span> DATAAREAID,<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">PARTITION</span> <span style="color:#ff7800;">AS</span> PARTITION,<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">RECID</span> <span style="color:#ff7800;">AS</span> RECID 
<span style="color:#ff7800;">FROM</span> CUSTTABLE T1 
<span style="color:#ff7800;">WHERE</span> EXISTS (
    <span style="color:#ff7800;">SELECT</span> <span style="color:#409b1c;">'x'</span> 
    <span style="color:#ff7800;">FROM</span> CONTACTPERSON T2 
    <span style="color:#ff7800;">WHERE</span> (<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">PARTY</span><span style="color:#ff7800;">=</span><span style="color:#3b5bb5;">T2</span>.<span style="color:#3b5bb5;">CONTACTFORPARTY</span> <span style="color:#ff7800;">AND</span> (<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">DATAAREAID</span> <span style="color:#ff7800;">=</span> <span style="color:#3b5bb5;">T2</span>.<span style="color:#3b5bb5;">DATAAREAID</span>) <span style="color:#ff7800;">AND</span> (<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">PARTITION</span> <span style="color:#ff7800;">=</span> <span style="color:#3b5bb5;">T2</span>.<span style="color:#3b5bb5;">PARTITION</span>)))
</pre>
<p><strong>NotExitJoin<br />
</strong>Es werden nur Datensätze zurück gegeben, welche in der untergeordneten Tabelle <span style="text-decoration:underline;">keine</span> verknüpften Datensätze enthalten. <span style="text-decoration:underline;">Wichtig</span>, es wird nur die übergeordnete Tabelle geladen.<br />
Entsprechung in SQL:</p>
<pre style="background:#fff;color:#000;"><span style="color:#ff7800;">SELECT</span> <span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">ACCOUNTNUM</span> <span style="color:#ff7800;">AS</span> ACCOUNTNUM,<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">DATAAREAID</span> <span style="color:#ff7800;">AS</span> DATAAREAID,<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">PARTITION</span> <span style="color:#ff7800;">AS</span> PARTITION,<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">RECID</span> <span style="color:#ff7800;">AS</span> RECID 
<span style="color:#ff7800;">FROM</span> CUSTTABLE T1 
<span style="color:#ff7800;">WHERE</span> NOT (EXISTS (
    <span style="color:#ff7800;">SELECT</span> <span style="color:#409b1c;">'x'</span> 
    <span style="color:#ff7800;">FROM</span> CONTACTPERSON T2 
    <span style="color:#ff7800;">WHERE</span> (<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">PARTY</span><span style="color:#ff7800;">=</span><span style="color:#3b5bb5;">T2</span>.<span style="color:#3b5bb5;">CONTACTFORPARTY</span> <span style="color:#ff7800;">AND</span> (<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">DATAAREAID</span> <span style="color:#ff7800;">=</span> <span style="color:#3b5bb5;">T2</span>.<span style="color:#3b5bb5;">DATAAREAID</span>) <span style="color:#ff7800;">AND</span> (<span style="color:#3b5bb5;">T1</span>.<span style="color:#3b5bb5;">PARTITION</span> <span style="color:#ff7800;">=</span> <span style="color:#3b5bb5;">T2</span>.<span style="color:#3b5bb5;">PARTITION</span>))))
</pre>
<p>&nbsp;</p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dennisbischof.wordpress.com/658/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dennisbischof.wordpress.com/658/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=658&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://dennisbischof.wordpress.com/2016/09/22/joins-in-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e041b8c81f7b8c7fa1ebcd0d93d80962?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Dennis Bischof</media:title>
		</media:content>
	</item>
		<item>
		<title>Verbindungsfehler beim Connection zum Team Foundation Server TF400367</title>
		<link>https://dennisbischof.wordpress.com/2016/09/21/verbindungsfehler-beim-connection-zum-team-foundation-server-tf400367/</link>
		<comments>https://dennisbischof.wordpress.com/2016/09/21/verbindungsfehler-beim-connection-zum-team-foundation-server-tf400367/#respond</comments>
		<pubDate>Wed, 21 Sep 2016 14:03:13 +0000</pubDate>
		<dc:creator><![CDATA[Dennis Bischof]]></dc:creator>
				<category><![CDATA[Microsoft Dynamics AX 2012]]></category>
		<category><![CDATA[Team Foundation Server 2015]]></category>
		<category><![CDATA[MS Dynamics AX 2012 R3]]></category>
		<category><![CDATA[TF400367]]></category>
		<category><![CDATA[UC 9]]></category>

		<guid isPermaLink="false">http://dennisbischof.wordpress.com/?p=675</guid>
		<description><![CDATA[Ich habe folgenden Fehler immer wieder bekommen als ich Versucht habe meinen Team Foundation Server 2015 Update 3 mit meinen Contoso Dynamics AX 2012 R3 UC9 zu verbinden. TF400367 -The request could not be performed due to a host type mismatch Die Lösung war ziemlich einfach. Ich hatte die Team Foundation Server URL &#8222;unvollständig&#8220; im &#8230; <a href="https://dennisbischof.wordpress.com/2016/09/21/verbindungsfehler-beim-connection-zum-team-foundation-server-tf400367/" class="more-link">Weiterlesen<span class="screen-reader-text"> "Verbindungsfehler beim Connection zum Team Foundation Server&#160;TF400367"</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=675&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Ich habe folgenden Fehler immer wieder bekommen als ich Versucht habe meinen <em>Team Foundation Server 2015 Update 3</em> mit meinen Contoso <em>Dynamics AX 2012 R3 UC9</em> zu verbinden.</p>
<blockquote><p><strong>TF400367</strong> -The request could not be performed due to a host type mismatch</p></blockquote>
<p>Die Lösung war ziemlich einfach. Ich hatte die <em>Team Foundation Server URL</em> &#8222;unvollständig&#8220; im MS Dynamics AX angegeben.</p>
<p><a href="http://ax2012r2a:8080/tfs" rel="nofollow">http://ax2012r2a:8080/tfs</a> statt <a href="http://ax2012r2a:8080/tfs/DefaultCollection" rel="nofollow">http://ax2012r2a:8080/tfs/DefaultCollection</a></p>
<p>Für die TFS-SDK ist es wichtig zusätzlich noch die Collection anzugeben indem das Team-Projekt liegt.</p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dennisbischof.wordpress.com/675/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dennisbischof.wordpress.com/675/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=675&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://dennisbischof.wordpress.com/2016/09/21/verbindungsfehler-beim-connection-zum-team-foundation-server-tf400367/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e041b8c81f7b8c7fa1ebcd0d93d80962?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Dennis Bischof</media:title>
		</media:content>
	</item>
		<item>
		<title>Ranges in Queries</title>
		<link>https://dennisbischof.wordpress.com/2016/09/15/ranges-in-queries/</link>
		<comments>https://dennisbischof.wordpress.com/2016/09/15/ranges-in-queries/#respond</comments>
		<pubDate>Thu, 15 Sep 2016 07:05:06 +0000</pubDate>
		<dc:creator><![CDATA[Dennis Bischof]]></dc:creator>
		
		<guid isPermaLink="false">http://dennisbischof.wordpress.com/?p=573</guid>
		<description><![CDATA[Ranges sind ein Werkzeug um in einer Query unserem Benutzer Filter (Ranges) anzubieten. Beim Öffnen eines Formulars, welches die Query als Datenquelle z.B. verwendet, wird dann folgender Dialog angezeigt. Um eine Range zu definieren haben wir folgende Operatoren als Filtermöglichkeit. Die Werte gibt man in der Property Value an in der Range: Operator Beschreibung Beispiel &#8230; <a href="https://dennisbischof.wordpress.com/2016/09/15/ranges-in-queries/" class="more-link">Weiterlesen<span class="screen-reader-text"> "Ranges in Queries"</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=573&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Ranges sind ein Werkzeug um in einer Query unserem Benutzer Filter (<em>Ranges</em>) anzubieten. Beim Öffnen eines Formulars, welches die Query als Datenquelle z.B. verwendet, wird dann folgender Dialog angezeigt.</p>
<p><img data-attachment-id="641" data-permalink="https://dennisbischof.wordpress.com/2016/09/15/ranges-in-queries/rangesdialog/" data-orig-file="https://dennisbischof.files.wordpress.com/2016/09/rangesdialog.jpg?w=840" data-orig-size="860,455" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="rangesdialog" data-image-description="" data-medium-file="https://dennisbischof.files.wordpress.com/2016/09/rangesdialog.jpg?w=840?w=300" data-large-file="https://dennisbischof.files.wordpress.com/2016/09/rangesdialog.jpg?w=840?w=840" class="alignnone size-full wp-image-641" src="https://dennisbischof.files.wordpress.com/2016/09/rangesdialog.jpg?w=840" alt="rangesdialog" srcset="https://dennisbischof.files.wordpress.com/2016/09/rangesdialog.jpg?w=840 840w, https://dennisbischof.files.wordpress.com/2016/09/rangesdialog.jpg?w=150 150w, https://dennisbischof.files.wordpress.com/2016/09/rangesdialog.jpg?w=300 300w, https://dennisbischof.files.wordpress.com/2016/09/rangesdialog.jpg?w=768 768w, https://dennisbischof.files.wordpress.com/2016/09/rangesdialog.jpg 860w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px"   /></p>
<p>Um eine <em>Range</em> zu definieren haben wir folgende Operatoren als Filtermöglichkeit. Die Werte gibt man in der Property <em>Value</em> an in der Range:</p>
<table>
<tbody>
<tr>
<th width="20%">Operator</th>
<th width="55%">Beschreibung</th>
<th width="25%">Beispiel</th>
</tr>
<tr>
<td>=</td>
<td>Sucht Datensätze, indem das angegebene Range-Feld gleich dem Wert ist</td>
<td>=Apfel</td>
</tr>
<tr>
<td>!</td>
<td>Sucht Datensätze, indem das angegebene Range-Feld ungleich dem Wert ist</td>
<td>!Apfel</td>
</tr>
<tr>
<td>&lt;</td>
<td>Sucht Datensätze, indem das angegebene Range-Feld kleiner ist als der Wert</td>
<td>&lt;10</td>
</tr>
<tr>
<td>&gt;</td>
<td>Sucht Datensätze, indem das angegebne Range-Feld größer ist als der Wert</td>
<td>&gt;20</td>
</tr>
<tr>
<td>..</td>
<td>Sucht Datensätze, indem das angegebene Range-Feld zwischen den Werten liegen oder mit einem der Werte übereinstimmen</td>
<td>20..50</td>
</tr>
<tr>
<td>,</td>
<td>Sucht Datensätze, indem das angegebene Range-Feld einem der Werte in der Liste entsprechen</td>
<td>Apfel, Kirsche, Birne</td>
</tr>
<tr>
<td>?</td>
<td>Sucht Datensätze, welche das angegebene Range-Feld dem angegebenen Wert entspricht wobei das ?-Zeichen für ein beliebiges Zeichen steht</td>
<td>Ap??l</td>
</tr>
<tr>
<td>*</td>
<td>Sucht Datensätze, indem das angegebne Range-Feld vor dem Stern entspricht und nach dem Stern beliebig ist</td>
<td>Apf*</td>
</tr>
</tbody>
</table>
<p>Zusätzlich können wir in der Property <em>Status</em> einer <em>Range</em> folgende Werte vergeben:</p>
<table>
<colgroup>
<col style="width:20%;" span="1" />
<col style="width:80%;" span="1" /> </colgroup>
<tbody>
<tr>
<td>Open</td>
<td>Ermöglicht es den Benutzer die Range anzupassen oder gar zu entfernen</td>
</tr>
<tr>
<td>Lock</td>
<td>Die Range wird dem Benutzer zwar angezeigt, aber er kann sie nicht bearbeiten</td>
</tr>
<tr>
<td>Hide</td>
<td>Der Benutzer bekommt die Range nicht angezeigt und er hat keine Möglichkeit sie anzupassen oder zu entfernen</td>
</tr>
</tbody>
</table>
<p>Um eine <em>Range</em> zu definieren zieht man einfach ein Feld aus der Datenquelle der Query in den Ranges-Node hinein und konfiguriert die Properties <em>Value</em> und <em>Status.</em></p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dennisbischof.wordpress.com/573/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dennisbischof.wordpress.com/573/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=573&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://dennisbischof.wordpress.com/2016/09/15/ranges-in-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e041b8c81f7b8c7fa1ebcd0d93d80962?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Dennis Bischof</media:title>
		</media:content>

		<media:content url="http://dennisbischof.files.wordpress.com/2016/09/rangesdialog.jpg" medium="image">
			<media:title type="html">rangesdialog</media:title>
		</media:content>
	</item>
		<item>
		<title>Ergebniss einer Query anzeigen</title>
		<link>https://dennisbischof.wordpress.com/2016/09/14/ergebniss-einer-query-anzeigen/</link>
		<comments>https://dennisbischof.wordpress.com/2016/09/14/ergebniss-einer-query-anzeigen/#respond</comments>
		<pubDate>Wed, 14 Sep 2016 13:09:37 +0000</pubDate>
		<dc:creator><![CDATA[Dennis Bischof]]></dc:creator>
				<category><![CDATA[Microsoft Dynamics AX 2012]]></category>
		<category><![CDATA[Microsoft Dynamics AX]]></category>
		<category><![CDATA[Query]]></category>
		<category><![CDATA[Tipps & Tricks]]></category>
		<category><![CDATA[View]]></category>

		<guid isPermaLink="false">http://dennisbischof.wordpress.com/?p=545</guid>
		<description><![CDATA[Du hast eine Query erstellt und möchtest sie kurz kontrollieren? Du hast sie geöffnet; die Parameter-Abfrage kam jedoch kein Ergebniss? Kenn ich! Vorweg, ich habe keine Ahnung warum es so ist &#8211; aber eine Lösung wie man das Problem umgehen kann. Zuerst erstellst du eine einfache View über New View im Kontext Menü vom Node &#8230; <a href="https://dennisbischof.wordpress.com/2016/09/14/ergebniss-einer-query-anzeigen/" class="more-link">Weiterlesen<span class="screen-reader-text"> "Ergebniss einer Query&#160;anzeigen"</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=545&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Du hast eine Query erstellt und möchtest sie kurz kontrollieren? Du hast sie geöffnet; die Parameter-Abfrage kam jedoch kein Ergebniss? Kenn ich! Vorweg, ich habe keine Ahnung warum es so ist &#8211; aber eine Lösung wie man das Problem umgehen kann.</p>
<p>Zuerst erstellst du eine einfache View über <em>New View</em> im Kontext Menü vom Node <em>AOT-&gt;Data Dictionary-&gt;Views</em>. Im Property <em>Query</em> der neuen View schreibst du den Namen der Query rein, welche du Anzeigen möchtest. Anschließend musst du noch die Felder in die Feldliste der View aufnehmen. Speichern (wichtig sieh <a href="https://dennisbischof.wordpress.com/2016/09/14/cannot-select-a-record-in-view/" target="_blank">hier</a>) und View danach öffnen.</p>
<p>Sollte bei dir Folgender Fehler kommen beim Öffnen der View: <em>You are not authorized to access table &#8218;ViewX&#8216; (ViewX). Contact your system administrator.</em><br />
Liegt es daran, dass du keine Felder zum Anzeigen in der View angegeben hast.</p>
<p><img data-attachment-id="564" data-permalink="https://dennisbischof.wordpress.com/2016/09/14/ergebniss-einer-query-anzeigen/youarenotauthorizedtoaccesstable/" data-orig-file="https://dennisbischof.files.wordpress.com/2016/09/youarenotauthorizedtoaccesstable.jpg?w=840" data-orig-size="954,375" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="youarenotauthorizedtoaccesstable" data-image-description="" data-medium-file="https://dennisbischof.files.wordpress.com/2016/09/youarenotauthorizedtoaccesstable.jpg?w=840?w=300" data-large-file="https://dennisbischof.files.wordpress.com/2016/09/youarenotauthorizedtoaccesstable.jpg?w=840?w=840" class="alignnone size-full wp-image-564" src="https://dennisbischof.files.wordpress.com/2016/09/youarenotauthorizedtoaccesstable.jpg?w=840" alt="youarenotauthorizedtoaccesstable" srcset="https://dennisbischof.files.wordpress.com/2016/09/youarenotauthorizedtoaccesstable.jpg?w=840 840w, https://dennisbischof.files.wordpress.com/2016/09/youarenotauthorizedtoaccesstable.jpg?w=150 150w, https://dennisbischof.files.wordpress.com/2016/09/youarenotauthorizedtoaccesstable.jpg?w=300 300w, https://dennisbischof.files.wordpress.com/2016/09/youarenotauthorizedtoaccesstable.jpg?w=768 768w, https://dennisbischof.files.wordpress.com/2016/09/youarenotauthorizedtoaccesstable.jpg 954w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px"   /></p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dennisbischof.wordpress.com/545/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dennisbischof.wordpress.com/545/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=545&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://dennisbischof.wordpress.com/2016/09/14/ergebniss-einer-query-anzeigen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e041b8c81f7b8c7fa1ebcd0d93d80962?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Dennis Bischof</media:title>
		</media:content>

		<media:content url="http://dennisbischof.files.wordpress.com/2016/09/youarenotauthorizedtoaccesstable.jpg" medium="image">
			<media:title type="html">youarenotauthorizedtoaccesstable</media:title>
		</media:content>
	</item>
		<item>
		<title>Cannot select a record in View</title>
		<link>https://dennisbischof.wordpress.com/2016/09/14/cannot-select-a-record-in-view/</link>
		<comments>https://dennisbischof.wordpress.com/2016/09/14/cannot-select-a-record-in-view/#comments</comments>
		<pubDate>Wed, 14 Sep 2016 12:37:24 +0000</pubDate>
		<dc:creator><![CDATA[Dennis Bischof]]></dc:creator>
				<category><![CDATA[Microsoft Dynamics AX 2012]]></category>
		<category><![CDATA[Error]]></category>
		<category><![CDATA[Microsoft Dynamics AX]]></category>
		<category><![CDATA[View]]></category>

		<guid isPermaLink="false">http://dennisbischof.wordpress.com/?p=510</guid>
		<description><![CDATA[Über folgenden Fehler bin ich schon öfters gestolpert.Er ist auch ein fiese Sau 🐷. Ich erstelle mir schnell eine View um zum Beispiel das Ergebnis einer Query zu testen. Neue View angelegt, Query als Datenquelle reingezogen, Felder in die Feldliste der View hinzugefügt und View geöffnet. *boom* Cannot select a record in View&#8230; (siehe Bild). &#8230; <a href="https://dennisbischof.wordpress.com/2016/09/14/cannot-select-a-record-in-view/" class="more-link">Weiterlesen<span class="screen-reader-text"> "Cannot select a record in&#160;View"</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=510&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Über folgenden Fehler bin ich schon öfters gestolpert.Er ist auch ein fiese Sau <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f437.png" alt="🐷" class="wp-smiley" style="height: 1em; max-height: 1em;" />.</p>
<p>Ich erstelle mir schnell eine View um zum Beispiel das Ergebnis einer Query zu testen. Neue View angelegt, Query als Datenquelle reingezogen, Felder in die Feldliste der View hinzugefügt und View geöffnet. *boom* <em>Cannot select a record in View&#8230; (siehe Bild).</em></p>
<p>Man schaut kurz in seinen AOT und alles sieht gut aus. Es wird nicht einmal mehr angezeigt, dass die View noch nicht gespeicher wurde oder zumindest nicht richtig! Beim Öffnen der ungespeicherten View verschwindet die rote Markierung nämlich.</p>
<p>Mit euer View ist in der Regel alles in Ordnung. Ihr müsst sie nur abspeichern und könnt sie erst dann öffnen. Passiert übrigens auch, wenn ihr Änderungen an der View vornimmt und sie vor dem Öffnen nicht speichert.</p>
<p>Der Grund hierfür ist, dass erst beim Speichern die View im SQL-Server angelegt bzw. upgedatet wird.</p>
<p><img data-attachment-id="511" data-permalink="https://dennisbischof.wordpress.com/2016/09/14/cannot-select-a-record-in-view/fehlerbeimoeffneneinerview/" data-orig-file="https://dennisbischof.files.wordpress.com/2016/09/fehlerbeimoeffneneinerview.jpg?w=840" data-orig-size="954,376" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}" data-image-title="fehlerbeimoeffneneinerview" data-image-description="" data-medium-file="https://dennisbischof.files.wordpress.com/2016/09/fehlerbeimoeffneneinerview.jpg?w=840?w=300" data-large-file="https://dennisbischof.files.wordpress.com/2016/09/fehlerbeimoeffneneinerview.jpg?w=840?w=840" class="alignnone size-full wp-image-511" src="https://dennisbischof.files.wordpress.com/2016/09/fehlerbeimoeffneneinerview.jpg?w=840" alt="fehlerbeimoeffneneinerview" srcset="https://dennisbischof.files.wordpress.com/2016/09/fehlerbeimoeffneneinerview.jpg?w=840 840w, https://dennisbischof.files.wordpress.com/2016/09/fehlerbeimoeffneneinerview.jpg?w=150 150w, https://dennisbischof.files.wordpress.com/2016/09/fehlerbeimoeffneneinerview.jpg?w=300 300w, https://dennisbischof.files.wordpress.com/2016/09/fehlerbeimoeffneneinerview.jpg?w=768 768w, https://dennisbischof.files.wordpress.com/2016/09/fehlerbeimoeffneneinerview.jpg 954w" sizes="(max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 1362px) 62vw, 840px"   /></p>
<p>Text vom Image für die Suchmaschinen:<br />
Cannot select a record in View3 (View3). The SQL database has issued an error.SQL error description [Microsoft][SQL Server Native Client 11.0][SQL Server]Invalid object name &#8218;VIEW3&#8216;.</p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dennisbischof.wordpress.com/510/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dennisbischof.wordpress.com/510/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=510&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://dennisbischof.wordpress.com/2016/09/14/cannot-select-a-record-in-view/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e041b8c81f7b8c7fa1ebcd0d93d80962?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Dennis Bischof</media:title>
		</media:content>

		<media:content url="http://dennisbischof.files.wordpress.com/2016/09/fehlerbeimoeffneneinerview.jpg" medium="image">
			<media:title type="html">fehlerbeimoeffneneinerview</media:title>
		</media:content>
	</item>
		<item>
		<title>TryCatch und Transaktionen in X++</title>
		<link>https://dennisbischof.wordpress.com/2016/09/13/trycatch-und-transaktionen-in-x/</link>
		<comments>https://dennisbischof.wordpress.com/2016/09/13/trycatch-und-transaktionen-in-x/#respond</comments>
		<pubDate>Tue, 13 Sep 2016 15:05:19 +0000</pubDate>
		<dc:creator><![CDATA[Dennis Bischof]]></dc:creator>
				<category><![CDATA[Microsoft Dynamics AX 2012]]></category>
		<category><![CDATA[Microsoft Dynamics AX]]></category>
		<category><![CDATA[Rollback]]></category>
		<category><![CDATA[Transaktion]]></category>
		<category><![CDATA[TryCatch]]></category>
		<category><![CDATA[ttsBegin]]></category>
		<category><![CDATA[ttsCommit]]></category>

		<guid isPermaLink="false">http://dennisbischof.wordpress.com/?p=466</guid>
		<description><![CDATA[Transaktionen in X++ sind dank ttsBeginn und ttsCommit schnell gemacht. Es gibt jedoch ein paar Sachen zu beachten. Hier soll es um die Besonderheit bei TryCatch im Zusammenspiel mit Transaktionen gehen. Ein vereinfachtes Beispiel sieht so aus: static void TransactionExceptionJob1(Args _args) { try { ttsBegin; throw Exception::Error; ttsCommit; } catch { info("Es ist ein Fehler &#8230; <a href="https://dennisbischof.wordpress.com/2016/09/13/trycatch-und-transaktionen-in-x/" class="more-link">Weiterlesen<span class="screen-reader-text"> "TryCatch und Transaktionen in&#160;X++"</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=466&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Transaktionen in X++ sind dank ttsBeginn und ttsCommit schnell gemacht. Es gibt jedoch ein paar Sachen zu beachten. Hier soll es um die Besonderheit bei TryCatch im Zusammenspiel mit Transaktionen gehen.</p>
<p>Ein vereinfachtes Beispiel sieht so aus:</p>
<pre style="background:#fff;color:#000;"><span style="color:#ff7800;">static</span> <span style="color:#ff7800;">void</span> <span style="color:#3b5bb5;">TransactionExceptionJob1</span>(Args _args)
{
    try
    {
        ttsBegin;
        throw Exception::Error;
        ttsCommit;
    }
    catch
    {
        info("Es ist ein Fehler aufgetreten.");
    }
}
</pre>
<p>Der Fehler wird ausgelöst; ein Rollback wird ausgeführt und der Fehler wird anschließend im Info-Log ausgegeben.</p>
<p>Jetzt kann man sehr schnell auf die Idee kommen den TryCatch-Block zwischen <em>ttsBegin</em> und <em>ttsCommit</em> zu packen um den Fehler abzufangen ohne einen Rollback. Du wirst dann schnell feststellen, dass dein Catch-Block nie ausgeführt wird bei einem Fehler. Das liegt daran, dass innerhalb einer Transaktion nur die Exceptions <em>DuplicateKeyException</em> und <em>UpdateConflict</em> abgefangen werden können. Auf alle anderen Exceptions kannst du nur außerhalb reagieren und nur nach einem Rollback.</p>
<p>Mit einen kleinen Programm zum Probieren ist es am einfachsten zu verstehen. Du kannst im Try-Block die verschiedenen auskommentierten Exceptions ausprobieren.</p>
<pre style="background:#fff;color:#000;"><span style="color:#ff7800;">static</span> <span style="color:#ff7800;">void</span> <span style="color:#3b5bb5;">TransactionExceptionJob2</span>(Args _args)
{
    try
    {
        ttsBegin;
        try
        {
            <span style="color:#006600;">// Datenbank-Aktionen z.B. Insert, Update oder Delete
            //throw Exception::DuplicateKeyException;
            //throw Exception::UpdateConflict;</span>
            throw Exception::Error;
        }
        catch(Exception::DuplicateKeyException)
        {
            <span style="color:#006600;">// Wird nicht Ignoriert
            // Hier kann reagiert werden</span>
            info("DuplicateKeyException abgefangen");
        }
        catch(Exception::UpdateConflict)
        {
            <span style="color:#006600;">// Wird nicht Ignoriert
            // Hier kann reagiert werden</span>
            info("UpdateConflict abgefangen");
        }
        catch(Exception::Error)
        {
            <span style="color:#006600;">// Wird Ignoriert</span>
            info("Ich werde nie aufgerufen");
        }
        catch
        {
            <span style="color:#006600;">// Wird Ignoriert</span>
            info("Ich werde nie aufgerufen");
        }
        ttsCommit;
    }
    catch
    {
        <span style="color:#006600;">// Fehler kann hier abgefangen werden.
        // Transaktion wurde aber bereits zurückgerollt.</span>
        info("Außerhalb der Transaction wurde abgefangen");
    }
}
</pre>
<p>Bei verschachtelten Transaktionen greift das gleiche Prinzip. Alle Exceptions bis auf die Ausnahmen können erst nach dem Rollback abgefangen werden.</p>
<p>Eine vereinfachte Demo:</p>
<pre style="background:#fff;color:#000;"><span style="color:#ff7800;">static</span> <span style="color:#ff7800;">void</span> <span style="color:#3b5bb5;">TransactionExceptionJob3</span>(Args _args)
{
    try
    {
               
        ttsBegin;
        try
        {
            ttsBegin;
            throw Exception::Error;      
            ttsCommit;
        }
        catch
        {
            <span style="color:#006600;">// Wird ignoriert</span>
            info("Catch-Block außerhalb der zweiten Transaktion");
        }
        ttsCommit;
    }
    catch
    {
        <span style="color:#006600;">// Fehler kann hier abgefangen werden.
        // Transaktion wurde aber bereits zurückgerollt.</span>
        info("Catch-Block außerhalb der ersten Transaktion");
    }
}
</pre>
<p>Muss man halt wissen&#8230; <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f607.png" alt="😇" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dennisbischof.wordpress.com/466/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dennisbischof.wordpress.com/466/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=466&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://dennisbischof.wordpress.com/2016/09/13/trycatch-und-transaktionen-in-x/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e041b8c81f7b8c7fa1ebcd0d93d80962?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Dennis Bischof</media:title>
		</media:content>
	</item>
		<item>
		<title>Daily Shortcuts in MorphX</title>
		<link>https://dennisbischof.wordpress.com/2016/09/13/daily-shortcuts-in-morphx/</link>
		<comments>https://dennisbischof.wordpress.com/2016/09/13/daily-shortcuts-in-morphx/#respond</comments>
		<pubDate>Tue, 13 Sep 2016 08:28:35 +0000</pubDate>
		<dc:creator><![CDATA[Dennis Bischof]]></dc:creator>
				<category><![CDATA[Microsoft Dynamics AX 2012]]></category>
		<category><![CDATA[Microsoft Dynamics AX]]></category>
		<category><![CDATA[MorphX]]></category>
		<category><![CDATA[Shortcut]]></category>
		<category><![CDATA[Tipps & Tricks]]></category>

		<guid isPermaLink="false">http://dennisbischof.wordpress.com/?p=367</guid>
		<description><![CDATA[Damit das Arbeiten im MorphX auch Spaß macht hier eine Liste der Shortcuts. Allgemein: F7 Started das Kompilieren Strg + F4 Schließt das aktuelle Fenster Strg + F6 Wechselt zum nächsten Fenster Strg + Shift + F6 Wechselt zum vorherigen Fenster zurück Im AOT: Alt + ENTER Öffnet und springt ins Property-Fenster Esc (Im Property-Fenster) &#8230; <a href="https://dennisbischof.wordpress.com/2016/09/13/daily-shortcuts-in-morphx/" class="more-link">Weiterlesen<span class="screen-reader-text"> "Daily Shortcuts in&#160;MorphX"</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=367&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Damit das Arbeiten im MorphX auch Spaß macht hier eine Liste der Shortcuts.</p>
<p><strong>Allgemein:</strong></p>
<table>
<tbody>
<tr>
<td>F7</td>
<td>Started das Kompilieren</td>
</tr>
<tr>
<td>Strg + F4</td>
<td>Schließt das aktuelle Fenster</td>
</tr>
<tr>
<td>Strg + F6</td>
<td>Wechselt zum nächsten Fenster</td>
</tr>
<tr>
<td>Strg + Shift + F6</td>
<td>Wechselt zum vorherigen Fenster zurück</td>
</tr>
</tbody>
</table>
<p><strong>Im AOT:</strong></p>
<table>
<tbody>
<tr>
<td>Alt + ENTER</td>
<td>Öffnet und springt ins Property-Fenster</td>
</tr>
<tr>
<td>Esc (Im Property-Fenster)</td>
<td>Springt aus dem Property-Fenster zurück zum MDI-Fenster</td>
</tr>
<tr>
<td>Strg + Shift + S</td>
<td>Speichert alles im aktuellen AOT-Fenster</td>
</tr>
<tr>
<td>Strg + G</td>
<td>Öffnet den Comparsion-Dialog</td>
</tr>
<tr>
<td>Strg + I</td>
<td>Öffnet den Import-Dialog</td>
</tr>
<tr>
<td>Strg + F</td>
<td>Öffnet den Find-Dialog</td>
</tr>
</tbody>
</table>
<p><strong>Im Property-Fenster:</strong></p>
<table>
<tbody>
<tr>
<td>Esc</td>
<td>Springt aus dem Property-Fenster zurück zum MDI-Fenster</td>
</tr>
<tr>
<td>Pfeil-Hoch, Pfeil-Runter</td>
<td>Für die Auf und Abwärtsnavigation im Property-Fenster</td>
</tr>
<tr>
<td>Einfach Tippen</td>
<td>Um einen Wert bei der aktuell ausgewählten Eigenschaft zu setzen</td>
</tr>
<tr>
<td>ENTER</td>
<td>Eingabe bestätigen in der Property</td>
</tr>
<tr>
<td>Alt + Pfeil-Runter</td>
<td>Öffnet die DropDownAuswahl bei der aktuellen Property (falls vorhanden)</td>
</tr>
<tr>
<td>Strg + TAB</td>
<td>Wechselt zwischen den Reitern Properties und Categories</td>
</tr>
</tbody>
</table>
<p><strong>Im X++-Editor:</strong></p>
<table>
<tbody>
<tr>
<td>Strg + S</td>
<td>Speichern</td>
</tr>
<tr>
<td>F5</td>
<td>Startet die aktuelle Klasse, Job oder Form</td>
</tr>
<tr>
<td>F9</td>
<td>Aktiviert/Deaktiviert einen Breakpoint in der aktuellen Zeile</td>
</tr>
<tr>
<td>F12</td>
<td>Go to implementation</td>
</tr>
<tr>
<td>Alt + R</td>
<td>Öffnet das Menü zur Auswahl von Editor Scripts</td>
</tr>
<tr>
<td>Strg + Alt + LEERTASTE</td>
<td>Öffnet den Label-Editor</td>
</tr>
<tr>
<td>Strg + TAB</td>
<td>Springt zur nächsten Methode</td>
</tr>
<tr>
<td>Strg + Shift + TAB</td>
<td>Spring zur vorherigen Methode</td>
</tr>
<tr>
<td>Strg + X</td>
<td>Schneidet die aktuell Auswahl aus oder schneidet die komplette Zeile aus</td>
</tr>
<tr>
<td>Strg + I</td>
<td>Startet die inkrementelle Suche. Wiederholtes drücken des Shortcuts führt dazu, dass zum nächsten Suchergebnis gesprungen wird. Mit strg + shift + i wird zurück zum vorherigen Suchergebnis gesprungen</td>
</tr>
<tr>
<td>Strg + E, C</td>
<td>Kommentiert aktuelle Zeile/Auswahl aus</td>
</tr>
<tr>
<td>Strg + E, U</td>
<td>Entfernt die Kommentarmarkierung von der aktuellen Zeile/Auswahl</td>
</tr>
</tbody>
</table>
<p><strong> Tipp:</strong> Um Shortcuts schnell zu lernen empfiehlt es sich 2-3 auf einen kleinen Zettel an den Monitor zu heften und drauf zu achten die Funktion nur noch über den Shortcut auszuführen.</p>
<p>Damit dürfte der unterbrechende Griff zur Maus schnell reduziert werden <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f44d.png" alt="👍" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
<p><a href="https://msdn.microsoft.com/de-de/library/aa865357.aspx">MSDN-Shortcuts im Code Editor</a><br />
<a href="https://msdn.microsoft.com/de-de/library/aa623612.aspx">MSDN-Shortcuts im AOT</a></p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dennisbischof.wordpress.com/367/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dennisbischof.wordpress.com/367/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=367&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://dennisbischof.wordpress.com/2016/09/13/daily-shortcuts-in-morphx/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e041b8c81f7b8c7fa1ebcd0d93d80962?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Dennis Bischof</media:title>
		</media:content>
	</item>
		<item>
		<title>Infos zu einem Control auslesen</title>
		<link>https://dennisbischof.wordpress.com/2016/09/12/infos-zu-einem-control-auslesen/</link>
		<comments>https://dennisbischof.wordpress.com/2016/09/12/infos-zu-einem-control-auslesen/#respond</comments>
		<pubDate>Mon, 12 Sep 2016 11:30:36 +0000</pubDate>
		<dc:creator><![CDATA[Dennis Bischof]]></dc:creator>
				<category><![CDATA[Microsoft Dynamics AX 2012]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[Form]]></category>
		<category><![CDATA[Microsoft Dynamics AX]]></category>
		<category><![CDATA[Tipps & Tricks]]></category>

		<guid isPermaLink="false">http://dennisbischof.wordpress.com/?p=286</guid>
		<description><![CDATA[In Dynamics AX 2012 ist es möglich über die Personalisierung eines Dialoges an Infos über ein Control zu kommen wie Form-Name, Control-Name in der Form oder Datenherkunft welche im Control angezeigt werden. Um den Personalisierungs-Dialog zu öffnen gehe wie folgt vor: Form öffnen, die du unter die Lupe nehmen möchtest im AX-Client In das Control &#8230; <a href="https://dennisbischof.wordpress.com/2016/09/12/infos-zu-einem-control-auslesen/" class="more-link">Weiterlesen<span class="screen-reader-text"> "Infos zu einem Control&#160;auslesen"</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=286&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>In Dynamics AX 2012 ist es möglich über die Personalisierung eines Dialoges an Infos über ein Control zu kommen wie Form-Name, Control-Name in der Form oder Datenherkunft welche im Control angezeigt werden.</p>
<p>Um den Personalisierungs-Dialog zu öffnen gehe wie folgt vor:</p>
<ol>
<li>Form öffnen, die du unter die Lupe nehmen möchtest im AX-Client</li>
<li>In das Control klicken</li>
<li>Mit der rechten Maustaste das Context-Menü öffnen</li>
<li>Den Menüpunkt Personalize auswählen</li>
</ol>
<p>In den drei Reitern findest du folgende Informationen:</p>
<p><strong>Reiter Query:</strong> Alle Datasourcen, die im Formular verwendet werden<br />
<strong>Reiter Information:</strong> Den <em>Form name</em> der Form um diese im AOT zu finden<br />
<strong>Reiter Layout:</strong> Im Punkt <em>System name</em> stehen die Infos zum aktuell ausgewählten Control</p>
<p><strong>Beispiele für <em>System name</em>-Werte:</strong></p>
<pre style="background:#fff;color:#000;">Identification_AccountNum
VendTable(VendTable).AccountNum

OrgDetailGroup_ABC
DirOrganization(DirPartyTable_DirOrganization).ABC

OrgDetailGroup_DunsNumber
DirPartyTable_DirOrganizationBase.editDunsNumber()
</pre>
<p><strong>Erste Zeile:</strong> Name des Controls<br />
<strong>Zweite Zeile:</strong> FormDataSourceName und FieldName</p>
<p><strong>Zeile zwei genauer betrachtet:</strong><br />
In dieser Zeile stecken bis zu drei Informationen. Datenursprung, FormDataSourceName und FieldName. Die Datenursprung ist wichtig, wenn man wissen will wie z.B. die Tabelle heißt in welcher die Information gespeichert ist. In den Klammern steht immer der FormDataSourceName außer es gibt keine Klammern. Dann steht dort nur der FormDataSourceName vor dem FieldName und die Info zum Datenursprung entfällt. Die letzte Information kommt nach dem Punkt. Diese kann ein FieldName sein oder eine Methode. Den Unterschied erkennt man, wenn hinter den Namen zwei Klammern stehen. Gibt es keine zweite Zeile, dann steht im <em>System name</em> nur der Name des Controls.</p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dennisbischof.wordpress.com/286/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dennisbischof.wordpress.com/286/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=286&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://dennisbischof.wordpress.com/2016/09/12/infos-zu-einem-control-auslesen/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e041b8c81f7b8c7fa1ebcd0d93d80962?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Dennis Bischof</media:title>
		</media:content>
	</item>
		<item>
		<title>Controls in einer Form im AOT verschieben</title>
		<link>https://dennisbischof.wordpress.com/2016/09/12/controls-in-einer-form-im-aot-verschieben/</link>
		<comments>https://dennisbischof.wordpress.com/2016/09/12/controls-in-einer-form-im-aot-verschieben/#respond</comments>
		<pubDate>Mon, 12 Sep 2016 08:09:13 +0000</pubDate>
		<dc:creator><![CDATA[Dennis Bischof]]></dc:creator>
				<category><![CDATA[Microsoft Dynamics AX 2012]]></category>
		<category><![CDATA[Control]]></category>
		<category><![CDATA[Form]]></category>
		<category><![CDATA[Microsoft Dynamics AX]]></category>
		<category><![CDATA[Tipps & Tricks]]></category>

		<guid isPermaLink="false">http://dennisbischof.wordpress.com/?p=280</guid>
		<description><![CDATA[Es kann sich oft als sehr schwierig herausstellen, wenn man die Reihenfolge von Controls in einer Form im AOT per Maus ändern möchte. Per Drag &#38; Drop ist es mir eigentlich fast unmöglich&#8230; Es gibt zum Glück aber die Möglickeit mit ALT + Pfeil-Up und ALT + Pfeil-Down das markierte Control im AOT hoch und &#8230; <a href="https://dennisbischof.wordpress.com/2016/09/12/controls-in-einer-form-im-aot-verschieben/" class="more-link">Weiterlesen<span class="screen-reader-text"> "Controls in einer Form im AOT&#160;verschieben"</span></a><img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=280&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
				<content:encoded><![CDATA[<p>Es kann sich oft als sehr schwierig herausstellen, wenn man die Reihenfolge von Controls in einer Form im AOT per Maus ändern möchte. Per Drag &amp; Drop ist es mir eigentlich fast unmöglich&#8230; Es gibt zum Glück aber die Möglickeit mit <em>ALT + Pfeil-Up</em> und <em>ALT + Pfeil-Down</em> das markierte Control im AOT hoch und runter zu verschieben.</p><br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/dennisbischof.wordpress.com/280/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/dennisbischof.wordpress.com/280/" /></a> <img alt="" border="0" src="https://pixel.wp.com/b.gif?host=dennisbischof.wordpress.com&#038;blog=9604202&#038;post=280&#038;subd=dennisbischof&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>https://dennisbischof.wordpress.com/2016/09/12/controls-in-einer-form-im-aot-verschieben/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://2.gravatar.com/avatar/e041b8c81f7b8c7fa1ebcd0d93d80962?s=96&#38;d=&#38;r=G" medium="image">
			<media:title type="html">Dennis Bischof</media:title>
		</media:content>
	</item>
	</channel>
</rss>
