<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/css" href="https://www.schweda.net/style_feed.css" ?>
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
    xmlns:atom="http://www.w3.org/2005/Atom"	
	xmlns:dc="http://purl.org/dc/elements/1.1/" > 
<channel>
    <title>schweda.net - Blog</title>
    <link>https://www.schweda.net/</link>
    <description>schweda.net - Blog - Blog-Beitraege</description>
    <language>de-at</language>
    <copyright>Copyright 2006-2026</copyright>
    <generator>schweda.net</generator>
    <managingEditor>heinz.schweda@schweda.net (Heinz Schweda)</managingEditor>
    <webMaster>heinz.schweda@schweda.net (Heinz Schweda)</webMaster>
    <category>Blog</category>
	<atom:link href="https://schweda.net/blog_rss.php?bid=428" rel="self" type="application/rss+xml" />
<item>
<title><![CDATA[AX 2012: Benutzerdefinierte Finanzdimension anlegen]]></title>
<description><![CDATA[
<p>MIt Hilfe des folgenden Jobs kann in Dynamics AX 2012 ein neuer Eintrag f&uuml;r eine benutzerdefinierte Finanzdimension erstellt werden. Im Beispiel ist der Name der Dimension <em>ParentProject </em>und der einzuf&uuml;gende Wert ist <em>4600</em>.
</p>

<div class="div_blog_axcode">static void createCustomDimensionValue(Args _args)<br />
{<br />
&nbsp;&nbsp;&nbsp; DimensionValueService dimensionValueService;<br />
&nbsp;&nbsp;&nbsp; DimensionValueContract dimensionValueContract;<br />
<br />
&nbsp;&nbsp;&nbsp; dimensionValueService = new DimensionValueService();<br />
&nbsp;&nbsp;&nbsp; dimensionValueContract = new DimensionValueContract();<br />
&nbsp;&nbsp;&nbsp; dimensionValueContract.parmDescription('Project 4500');<br />
&nbsp;&nbsp;&nbsp; dimensionValueContract.parmValue('4600');<br />
&nbsp;&nbsp;&nbsp; dimensionValueContract.parmDimensionAttribute('ParentProject');<br />
&nbsp;&nbsp;&nbsp; if(dimensionValueService.createDimensionValue(dimensionValueContract))<br />
&nbsp;&nbsp;&nbsp; {<br />
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; info(strFmt(&quot;Dimension value %1 for dimension %2 created&quot;, dimensionValueContract.parmValue(), dimensionValueContract.parmDimensionAttribute()));<br />
&nbsp;&nbsp;&nbsp; }<br />
}
</div>]]></description>
<category>Microsoft Dynamics AX (Axapta)</category>
<pubDate>Mon, 14 May 2012 12:53:00 +0200</pubDate>
<link>https://www.schweda.net/blog_ax.php?bid=428</link>
<comments>https://www.schweda.net/blog_ax.php?bid=428</comments>
<guid isPermaLink="true">https://www.schweda.net/blog_ax.php?bid=428</guid>
<author>heinz.schweda@schweda.net (Heinz Schweda)</author>
<wfw:commentRss>https://www.schweda.net/blog_ax.php?bid=428</wfw:commentRss>
</item>
</channel>
</rss>	
