<?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=546" rel="self" type="application/rss+xml" />
<item>
<title><![CDATA[Auftragsbestätigung per Code drucken]]></title>
<description><![CDATA[
<p>Der nachstehende Job demonstriert, wie man in Dynamics AX 2012 eine vorhandene Auftragsbest&auml;tigung per Code (nach-)drucken kann. Im Beispiel erfolgt die Ausgabe am Bildschirm.
</p>

<div class="div_blog_axcode">static void printSalesConfirmThroughCode(Args _args)<br />
{<br />
&nbsp;&nbsp;&nbsp; SalesConfirmJournalPrint salesConfirmJournalPrint;<br />
&nbsp;&nbsp;&nbsp; Set set = new Set(Types::Record);<br />
&nbsp;&nbsp;&nbsp; SRSPrintDestinationSettings srsPrintDestinationSettings;<br />
<br />
&nbsp;&nbsp;&nbsp; // Add record<br />
&nbsp;&nbsp;&nbsp; set.add(CustConfirmJour::findRecId(5637155842));<br />
<br />
&nbsp;&nbsp;&nbsp; // Set printer settings<br />
&nbsp;&nbsp;&nbsp; srsPrintDestinationSettings = new SRSPrintDestinationSettings();<br />
&nbsp;&nbsp;&nbsp; srsPrintDestinationSettings.fileFormat(SRSReportFileFormat::Screen);<br />
<br />
&nbsp;&nbsp;&nbsp; // Initalize<br />
&nbsp;&nbsp;&nbsp; salesConfirmJournalPrint = SalesConfirmJournalPrint::construct();<br />
&nbsp;&nbsp;&nbsp; salesConfirmJournalPrint.parmPrintFormletter(NoYes::Yes);<br />
&nbsp;&nbsp;&nbsp; salesConfirmJournalPrint.parmUsePrintManagement(false);<br />
&nbsp;&nbsp;&nbsp; salesConfirmJournalPrint.parmPrinterSettingsFormLetter(srsPrintDestinationSettings.pack());<br />
<br />
&nbsp;&nbsp;&nbsp; // Print<br />
&nbsp;&nbsp;&nbsp; salesConfirmJournalPrint.printJournal(set);<br />
}
</div>
<br /><a class="div_blog_category_gotodetail" href="https://www.schweda.net/blog_ax.php?bid=546" target="_self" title="Weiterlesen...">Weiterlesen...</a>]]></description>
<category>Microsoft Dynamics AX (Axapta)</category>
<pubDate>Sun, 16 Nov 2014 11:52:00 +0100</pubDate>
<link>https://www.schweda.net/blog_ax.php?bid=546</link>
<comments>https://www.schweda.net/blog_ax.php?bid=546</comments>
<guid isPermaLink="true">https://www.schweda.net/blog_ax.php?bid=546</guid>
<author>heinz.schweda@schweda.net (Heinz Schweda)</author>
<wfw:commentRss>https://www.schweda.net/blog_ax.php?bid=546</wfw:commentRss>
</item>
</channel>
</rss>	
