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

<div class="div_blog_axcode">static void printSalesInvoiceThroughCode(Args _args)<br />
{<br />
&nbsp;&nbsp;&nbsp; SalesInvoiceJournalPrint salesInvoiceJournalPrint;<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(CustInvoiceJour::findRecId(5637188088));<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; salesInvoiceJournalPrint = SalesInvoiceJournalPrint::construct();<br />
&nbsp;&nbsp;&nbsp; salesInvoiceJournalPrint.parmPrintFormletter(NoYes::Yes);<br />
&nbsp;&nbsp;&nbsp; salesInvoiceJournalPrint.parmUsePrintManagement(false);<br />
&nbsp;&nbsp;&nbsp; salesInvoiceJournalPrint.parmPrinterSettingsFormLetter(srsPrintDestinationSettings.pack());<br />
<br />
&nbsp;&nbsp;&nbsp; // Print<br />
&nbsp;&nbsp;&nbsp; salesInvoiceJournalPrint.printJournal(set);<br />
}
</div>
<br /><a class="div_blog_category_gotodetail" href="https://www.schweda.net/blog_ax.php?bid=548" target="_self" title="Weiterlesen...">Weiterlesen...</a>]]></description>
<category>Microsoft Dynamics AX (Axapta)</category>
<pubDate>Fri, 31 Oct 2014 18:47:00 +0100</pubDate>
<link>https://www.schweda.net/blog_ax.php?bid=548</link>
<comments>https://www.schweda.net/blog_ax.php?bid=548</comments>
<guid isPermaLink="true">https://www.schweda.net/blog_ax.php?bid=548</guid>
<author>heinz.schweda@schweda.net (Heinz Schweda)</author>
<wfw:commentRss>https://www.schweda.net/blog_ax.php?bid=548</wfw:commentRss>
</item>
<item>
<title>Kommentar von Lionel Folkes</title>
<description><![CDATA[Nice post. How do I allow users to print sales invoice once. if another copy of the invoice is needed then someone with authority will allow it.]]></description>
<category>Microsoft Dynamics AX (Axapta)</category>
<pubDate>Wed, 13 Dec 2017 21:57:00 +0100</pubDate>
<link>https://www.schweda.net/blog_ax.php?bid=548</link>
<guid isPermaLink="true">https://www.schweda.net/blog_ax.php?bid=548</guid>
<author>Lionel Folkes</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=548</wfw:commentRss>
</item>
<item>
<title>Kommentar von TKe</title>
<description><![CDATA[@Lionel.

Use access right on the re-print button(s) in invoice journal.
Kind regards,
Thomas.]]></description>
<category></category>
<pubDate>Wed, 25 Apr 2018 15:48:00 +0200</pubDate>
<link>https://www.schweda.net/blog.php?bid=548</link>
<guid isPermaLink="true">https://www.schweda.net/blog.php?bid=548</guid>
<author>TKe</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=548</wfw:commentRss>
</item>
</channel>
</rss>	
