<?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://www.schweda.net/blog_rss.php?bid=656" rel="self" type="application/rss+xml" />
<item>
<title><![CDATA[SysOperation-Framework: Stapelverarbeitung erzwingen]]></title>
<description><![CDATA[
<p>Wenn man sicherstellen m&ouml;chte, da&szlig; eine Funktion&nbsp;die &uuml;ber das <strong>SysOperation-Framework</strong> umgesetzt wurde, immer &uuml;ber die <strong>Stapelverarbeitung </strong>ausgef&uuml;hrt wird, kann man den <em>SysOperationExecutionMode </em>auf <em>ScheduledBatch </em>setzen (beispielsweise &uuml;ber das MenuItem des Controllers - siehe <a href="http://www.schweda.net/blog_ax.php?bid=657" target="_self" title="SysOperation-Framework: ExecutionMode und auszuführende Servermethode über das MenuItem steuern">hier</a>).
</p>


<p>Handelt es sich dabei um eine Funktion, die einen Benutzerdialog erfordert, hat man allerdings das Problem, da&szlig; standardm&auml;ssig der Register &quot;Stapel&quot; eingeblendet wird und dort aber beispielsweise das Kontrollk&auml;stchen Stapel nicht aktiviert ist.&nbsp;
</p>


<p>Nat&uuml;rlich kann man dieses Kontrollk&auml;stchen nun aktivieren, in dem man einen Aufruf von <em>parmBatchExecute()</em> im UIBuilder integriert:
</p>


<pre class="pre_blog_axcode">
public void build()
{
    super();

    this.controller().batchInfo().parmBatchExecute(this.controller().parmExecutionMode() == SysOperationExecutionMode::ScheduledBatch);
}
</pre>

<br /><a class="div_blog_category_gotodetail" href="https://www.schweda.net/blog_ax.php?bid=656" target="_self" title="Weiterlesen...">Weiterlesen...</a>]]></description>
<category>Microsoft Dynamics AX (Axapta)</category>
<pubDate>Fri, 13 Sep 2019 14:29:00 +0200</pubDate>
<link>https://www.schweda.net/blog_ax.php?bid=656</link>
<comments>https://www.schweda.net/blog_ax.php?bid=656</comments>
<guid isPermaLink="true">https://www.schweda.net/blog_ax.php?bid=656</guid>
<author>heinz.schweda@schweda.net (Heinz Schweda)</author>
<wfw:commentRss>https://www.schweda.net/blog_ax.php?bid=656</wfw:commentRss>
</item>
</channel>
</rss>	
