<?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=540" rel="self" type="application/rss+xml" />
<item>
<title><![CDATA[Produktionsauftrag per Code beenden]]></title>
<description><![CDATA[
<p><img title="Screenshot" border="0" alt="Screenshot" width="465" height="114" style="border-top: #cccccc 1px solid; border-right: #cccccc 1px solid; border-bottom: #cccccc 1px solid; border-left: #cccccc 1px solid" src="http://www.schweda.net/pictures/blogpics/ax2012_prodtable_status_end.jpg" />
</p>

<p>Dynamics AX stellt ein Framework zur Verf&uuml;gung, mit dessen Hilfe man Produktionsauftr&auml;ge in einen bestimmten Status &uuml;berf&uuml;hren kann. Im Beispiel wird ein Produktionsauftrag beendet.
</p>

<p>Wenn man mehrere Auftr&auml;ge gleichzeitig aktualisieren m&ouml;chte, muss man die Methode ProdMultiHistoricalCost.insert() einfach entsprechend oft aufrufen und den jeweiligen Datensatz der ProdTable &uuml;bergeben.
</p>

<div class="div_blog_axcode">static void prodEnd(Args _args)<br />
{<br />
&nbsp;&nbsp;&nbsp; ProdTable prodTable;<br />
&nbsp;&nbsp;&nbsp; ProdMultiHistoricalCost prodMultiHistoricalCost;<br />
<br />
&nbsp;&nbsp;&nbsp; prodTable = ProdTable::find(&quot;P000195&quot;);<br />
<br />
&nbsp;&nbsp;&nbsp; prodMultiHistoricalCost = ProdMultiHistoricalCost::construct(new Args());<br />
&nbsp;&nbsp;&nbsp; RunBaseMultiParm::initParm(prodMultiHistoricalCost);<br />
&nbsp;&nbsp;&nbsp; prodMultiHistoricalCost.insert(prodTable, prodMultiHistoricalCost.defaultParmBuffer());<br />
<br />
&nbsp;&nbsp;&nbsp; prodMultiHistoricalCost.run();<br />
}
</div>]]></description>
<category>Microsoft Dynamics AX (Axapta)</category>
<pubDate>Mon, 25 Aug 2014 17:17:00 +0200</pubDate>
<link>https://www.schweda.net/blog_ax.php?bid=540</link>
<comments>https://www.schweda.net/blog_ax.php?bid=540</comments>
<guid isPermaLink="true">https://www.schweda.net/blog_ax.php?bid=540</guid>
<author>heinz.schweda@schweda.net (Heinz Schweda)</author>
<wfw:commentRss>https://www.schweda.net/blog_ax.php?bid=540</wfw:commentRss>
</item>
<item>
<title>Kommentar von Jake</title>
<description><![CDATA[Hi 
Is there any x++ script to block Production Order Ended if there is still remaining qty. So they can't ended the Job work order.]]></description>
<category>Microsoft Dynamics AX (Axapta)</category>
<pubDate>Tue, 28 Jul 2020 16:04:00 +0200</pubDate>
<link>https://www.schweda.net/blog_ax.php?bid=540</link>
<guid isPermaLink="true">https://www.schweda.net/blog_ax.php?bid=540</guid>
<author>Jake</author>
<dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Heinz Schweda</dc:creator>
<wfw:commentRss>https://www.schweda.net/blog_ax.php?bid=540</wfw:commentRss>
</item>
<item>
<title>Kommentar von Jake</title>
<description><![CDATA[Hi 
Is there any x++ script to block Production Order Ended if there is still remaining qty. So they can't ended the Job work order.]]></description>
<category></category>
<pubDate>Tue, 28 Jul 2020 16:06:00 +0200</pubDate>
<link>https://www.schweda.net/blog.php?bid=540</link>
<guid isPermaLink="true">https://www.schweda.net/blog.php?bid=540</guid>
<author>Jake</author>
<dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Heinz Schweda</dc:creator>
<wfw:commentRss>https://www.schweda.net/blog.php?bid=540</wfw:commentRss>
</item>
</channel>
</rss>	
