<br />
<b>Warning</b>:  Private methods cannot be final as they are never overridden by other classes in <b>/home/flexipym/public_html/doc/includes/actions/Action.php</b> on line <b>69</b><br />
<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="es">
	<id>http://doc.flexipyme.com.ar/index.php?action=history&amp;feed=atom&amp;title=PDF_XY_2.0.N</id>
	<title>PDF XY 2.0.N - Historial de revisiones</title>
	<link rel="self" type="application/atom+xml" href="http://doc.flexipyme.com.ar/index.php?action=history&amp;feed=atom&amp;title=PDF_XY_2.0.N"/>
	<link rel="alternate" type="text/html" href="http://doc.flexipyme.com.ar/index.php?title=PDF_XY_2.0.N&amp;action=history"/>
	<updated>2026-07-01T05:55:57Z</updated>
	<subtitle>Historial de revisiones de esta página en el wiki</subtitle>
	<generator>MediaWiki 1.33.1</generator>
	<entry>
		<id>http://doc.flexipyme.com.ar/index.php?title=PDF_XY_2.0.N&amp;diff=105&amp;oldid=prev</id>
		<title>Diegogazzolo: /* Código de Referencia */</title>
		<link rel="alternate" type="text/html" href="http://doc.flexipyme.com.ar/index.php?title=PDF_XY_2.0.N&amp;diff=105&amp;oldid=prev"/>
		<updated>2023-08-22T13:16:21Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Código de Referencia&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;es&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revisión del 13:16 22 ago 2023&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l4&quot; &gt;Línea 4:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 4:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight class=&amp;quot;cs hljs&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;syntaxhighlight class=&amp;quot;cs hljs&amp;quot;&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;using FlexiPyme.reporte.pdfXY;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;public static void GenerarNotaDePedido(int idNotaDePedido)&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;public static void GenerarNotaDePedido(int idNotaDePedido)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Diegogazzolo</name></author>
		
	</entry>
	<entry>
		<id>http://doc.flexipyme.com.ar/index.php?title=PDF_XY_2.0.N&amp;diff=56&amp;oldid=prev</id>
		<title>Diegogazzolo: /* Código de Referencia */</title>
		<link rel="alternate" type="text/html" href="http://doc.flexipyme.com.ar/index.php?title=PDF_XY_2.0.N&amp;diff=56&amp;oldid=prev"/>
		<updated>2021-02-04T13:25:43Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Código de Referencia&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;es&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revisión del 13:25 4 feb 2021&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l78&quot; &gt;Línea 78:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 78:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     pagina.AgregarLinea(280, 30, 280, 60, 0.5, PdfXyObjetoLinea.TIPO_SOLIDA);&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     pagina.AgregarLinea(280, 30, 280, 60, 0.5, PdfXyObjetoLinea.TIPO_SOLIDA);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     pagina.AgregarLinea(250, 60, 280, 60, 0.5, PdfXyObjetoLinea.TIPO_SOLIDA);&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     pagina.AgregarLinea(250, 60, 280, 60, 0.5, PdfXyObjetoLinea.TIPO_SOLIDA);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    // Ejemplo rectángulo: x1, y1 (punto superior izq), x2, y2 (punto inf der), espesor, tipo&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    pagina.AgregarRectanculo(100, 100, 200, 200, 2, PdfXyObjetoLinea.TIPO_SOLIDA);&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     // TEXTOS&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     // TEXTOS&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     // Logo y Direccion&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     // Logo y Direccion&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Diegogazzolo</name></author>
		
	</entry>
	<entry>
		<id>http://doc.flexipyme.com.ar/index.php?title=PDF_XY_2.0.N&amp;diff=51&amp;oldid=prev</id>
		<title>Diegogazzolo: /* Código de Referencia */</title>
		<link rel="alternate" type="text/html" href="http://doc.flexipyme.com.ar/index.php?title=PDF_XY_2.0.N&amp;diff=51&amp;oldid=prev"/>
		<updated>2020-12-16T18:58:29Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Código de Referencia&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table class=&quot;diff diff-contentalign-left&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;es&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;← Revisión anterior&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #222; text-align: center;&quot;&gt;Revisión del 18:58 16 dic 2020&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l18&quot; &gt;Línea 18:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Línea 18:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;private static void GenerarHojaNotaPedido(int idNotaDePedido, PdfXyPagina pagina, string tipo)&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;private static void GenerarHojaNotaPedido(int idNotaDePedido, PdfXyPagina pagina, string tipo)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;{&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    pagina.Apaisada = true;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt; &lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt;+&lt;/td&gt;&lt;td style=&quot;color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     FlexiDbFila dsNP = FlexiDb.CargarEntidad(idNotaDePedido, &amp;quot;NotasPedidos&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     FlexiDbFila dsNP = FlexiDb.CargarEntidad(idNotaDePedido, &amp;quot;NotasPedidos&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     int idCliente = dsNP.ObtenerEntero(&amp;quot;idCliente&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;td class=&#039;diff-marker&#039;&gt; &lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #222; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;     int idCliente = dsNP.ObtenerEntero(&amp;quot;idCliente&amp;quot;);&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Diegogazzolo</name></author>
		
	</entry>
	<entry>
		<id>http://doc.flexipyme.com.ar/index.php?title=PDF_XY_2.0.N&amp;diff=24&amp;oldid=prev</id>
		<title>Diegogazzolo: Página creada con «===PDF XY===  ==== Código de Referencia ====  &lt;syntaxhighlight class=&quot;cs hljs&quot;&gt; public static void GenerarNotaDePedido(int idNotaDePedido) {     PdfXyDocumento pdf = new P…»</title>
		<link rel="alternate" type="text/html" href="http://doc.flexipyme.com.ar/index.php?title=PDF_XY_2.0.N&amp;diff=24&amp;oldid=prev"/>
		<updated>2019-11-05T22:29:31Z</updated>

		<summary type="html">&lt;p&gt;Página creada con «===PDF XY===  ==== Código de Referencia ====  &amp;lt;syntaxhighlight class=&amp;quot;cs hljs&amp;quot;&amp;gt; public static void GenerarNotaDePedido(int idNotaDePedido) {     PdfXyDocumento pdf = new P…»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Página nueva&lt;/b&gt;&lt;/p&gt;&lt;div&gt;===PDF XY===&lt;br /&gt;
&lt;br /&gt;
==== Código de Referencia ====&lt;br /&gt;
&lt;br /&gt;
&amp;lt;syntaxhighlight class=&amp;quot;cs hljs&amp;quot;&amp;gt;&lt;br /&gt;
public static void GenerarNotaDePedido(int idNotaDePedido)&lt;br /&gt;
{&lt;br /&gt;
    PdfXyDocumento pdf = new PdfXyDocumento();&lt;br /&gt;
    pdf.NombreArchivo = &amp;quot;Presupuesto.pdf&amp;quot;;&lt;br /&gt;
    GenerarHojaNotaPedido(idNotaDePedido, pdf.Paginas[0], &amp;quot;ORIGINAL&amp;quot;);&lt;br /&gt;
    pdf.Paginas.Add(new PdfXyPagina());&lt;br /&gt;
    GenerarHojaNotaPedido(idNotaDePedido, pdf.Paginas[1], &amp;quot;DUPLICADO&amp;quot;);&lt;br /&gt;
    pdf.Paginas.Add(new PdfXyPagina());&lt;br /&gt;
    GenerarHojaNotaPedido(idNotaDePedido, pdf.Paginas[2], &amp;quot;TRIPLICADO&amp;quot;);&lt;br /&gt;
    LogicaDeImpresionPdfXy.Generar(pdf);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
private static void GenerarHojaNotaPedido(int idNotaDePedido, PdfXyPagina pagina, string tipo)&lt;br /&gt;
{&lt;br /&gt;
    FlexiDbFila dsNP = FlexiDb.CargarEntidad(idNotaDePedido, &amp;quot;NotasPedidos&amp;quot;);&lt;br /&gt;
    int idCliente = dsNP.ObtenerEntero(&amp;quot;idCliente&amp;quot;);&lt;br /&gt;
    DateTime fecha = dsNP.ObtenerFecha(&amp;quot;fecha&amp;quot;);&lt;br /&gt;
    int pv = 1;&lt;br /&gt;
    string codigoFac = &amp;quot;X&amp;quot;;&lt;br /&gt;
    int numero = dsNP.ObtenerEntero(&amp;quot;nroNotaPedido&amp;quot;);&lt;br /&gt;
    decimal total = dsNP.ObtenerMoneda(&amp;quot;total&amp;quot;);&lt;br /&gt;
    string observaciones = dsNP.ObtenerCadena(&amp;quot;observaciones&amp;quot;);&lt;br /&gt;
    string totalEnLetras = NumLetras.Convierte(FunConversiones.DecimalToCadena2Decimales(total), NumLetras.Tipo.Pronombre, NumLetras.TipoDecimales.Numeros);&lt;br /&gt;
    if (observaciones != &amp;quot;&amp;quot;)&lt;br /&gt;
        observaciones = &amp;quot;Observaciones: &amp;quot; + observaciones;&lt;br /&gt;
    string letra = &amp;quot;P&amp;quot;;&lt;br /&gt;
    string leyendaTipo = &amp;quot;Presupuesto&amp;quot;;&lt;br /&gt;
    leyendaTipo += &amp;quot; Nro:&amp;quot;;&lt;br /&gt;
    string sql = @&amp;quot;select p.codigo, ni.*, t.tasa&lt;br /&gt;
                    from NotasPedidosItems ni&lt;br /&gt;
                    inner join TasasIva t on ni.idTasaIva = t.id&lt;br /&gt;
                    left join Productos p on ni.idProducto = p.id&lt;br /&gt;
                    where&lt;br /&gt;
                    ni.idNotaPedido = &amp;quot; + idNotaDePedido;&lt;br /&gt;
    FlexiDbTabla dsIt = FlexiDb.Listar(sql);&lt;br /&gt;
    FlexiDbFila dsCli = FlexiDb.CargarEntidad(idCliente, &amp;quot;Clientes&amp;quot;);&lt;br /&gt;
    int idSituacionIva = dsCli.ObtenerEntero(&amp;quot;idSituacionIva&amp;quot;);&lt;br /&gt;
    string situacionIva = LogicaDeNombres.ObtenerNombreSituacionIva(idSituacionIva);&lt;br /&gt;
    string razonSocial = dsCli.ObtenerCadena(&amp;quot;razonSocial&amp;quot;);&lt;br /&gt;
    int codDocu = LogicaDeNombres.ObtenerTipoDocumentoSituacionIva(idSituacionIva);&lt;br /&gt;
    string cuit = dsCli.ObtenerCadena(&amp;quot;cuit&amp;quot;);&lt;br /&gt;
    string direccion = dsCli.ObtenerCadena(&amp;quot;calle&amp;quot;);&lt;br /&gt;
    string provincia = dsCli.ObtenerCadena(&amp;quot;provincia&amp;quot;);&lt;br /&gt;
    if (dsCli.ObtenerCadena(&amp;quot;localidad&amp;quot;) != &amp;quot;&amp;quot;)&lt;br /&gt;
        direccion += &amp;quot; - &amp;quot; + dsCli.ObtenerCadena(&amp;quot;localidad&amp;quot;);&lt;br /&gt;
    if (provincia != &amp;quot;&amp;quot;)&lt;br /&gt;
        direccion += &amp;quot; - &amp;quot; + provincia;&lt;br /&gt;
    if (dsCli.ObtenerCadena(&amp;quot;codigoPostal&amp;quot;) != &amp;quot;&amp;quot;)&lt;br /&gt;
        direccion += &amp;quot; - &amp;quot; + dsCli.ObtenerCadena(&amp;quot;codigoPostal&amp;quot;);&lt;br /&gt;
    // FIN: OBTENGO DATOS FACTURA&lt;br /&gt;
    pagina.TipoHoja = PdfXyPagina.A4;&lt;br /&gt;
    // Linea 1&lt;br /&gt;
    pagina.AgregarLinea(30, 30, 560, 30, 0.5, PdfXyObjetoLinea.TIPO_SOLIDA);&lt;br /&gt;
    // Linea 2&lt;br /&gt;
    pagina.AgregarLinea(30, 140, 560, 140, 0.5, PdfXyObjetoLinea.TIPO_SOLIDA);&lt;br /&gt;
    // Linea 3&lt;br /&gt;
    pagina.AgregarLinea(30, 190, 560, 190, 0.5, PdfXyObjetoLinea.TIPO_SOLIDA);&lt;br /&gt;
    // Linea 4&lt;br /&gt;
    pagina.AgregarLinea(30, 210, 560, 210, 0.5, PdfXyObjetoLinea.TIPO_SOLIDA);&lt;br /&gt;
    // Linea 5 - Pie&lt;br /&gt;
    pagina.AgregarLinea(30, 650, 560, 650, 0.5, PdfXyObjetoLinea.TIPO_SOLIDA);&lt;br /&gt;
    // Linea 6 - Pie&lt;br /&gt;
    pagina.AgregarLinea(30, 730, 560, 730, 0.5, PdfXyObjetoLinea.TIPO_SOLIDA);&lt;br /&gt;
    // Linea 7 - Pie&lt;br /&gt;
    pagina.AgregarLinea(30, 800, 560, 800, 0.5, PdfXyObjetoLinea.TIPO_SOLIDA);&lt;br /&gt;
    // Lineas Verticales&lt;br /&gt;
    pagina.AgregarLinea(30, 30, 30, 800, 0.5, PdfXyObjetoLinea.TIPO_SOLIDA);&lt;br /&gt;
    pagina.AgregarLinea(560, 30, 560, 800, 0.5, PdfXyObjetoLinea.TIPO_SOLIDA);&lt;br /&gt;
    // Recuadro letra&lt;br /&gt;
    pagina.AgregarLinea(250, 30, 250, 60, 0.5, PdfXyObjetoLinea.TIPO_SOLIDA);&lt;br /&gt;
    pagina.AgregarLinea(280, 30, 280, 60, 0.5, PdfXyObjetoLinea.TIPO_SOLIDA);&lt;br /&gt;
    pagina.AgregarLinea(250, 60, 280, 60, 0.5, PdfXyObjetoLinea.TIPO_SOLIDA);&lt;br /&gt;
    // TEXTOS&lt;br /&gt;
    // Logo y Direccion&lt;br /&gt;
    string caminoImagen = Archivos.CaminoRealCarpetaArchivos + &amp;quot;logo&amp;quot; + Configuraciones.EmpresaActual + &amp;quot;.jpg&amp;quot;;&lt;br /&gt;
    pagina.AgregarImagen(caminoImagen, LogicaDeConfiguraciones.ObtenerFacturaLogoX(), LogicaDeConfiguraciones.ObtenerFacturaLogoY());&lt;br /&gt;
    pagina.AgregarTexto(LogicaDeConfiguraciones.ObtenerFacturaLinea1(), LogicaDeConfiguraciones.ObtenerFacturaLinea1X(), 105, 300, 20, 7);&lt;br /&gt;
    pagina.AgregarTexto(LogicaDeConfiguraciones.ObtenerFacturaLinea2(), LogicaDeConfiguraciones.ObtenerFacturaLinea2X(), 115, 300, 20, 7);&lt;br /&gt;
    pagina.AgregarTexto(LogicaDeConfiguraciones.ObtenerFacturaLinea3(), LogicaDeConfiguraciones.ObtenerFacturaLinea3X(), 125, 300, 20, 7);&lt;br /&gt;
    // Letra&lt;br /&gt;
    pagina.AgregarTexto(letra, 259, 33, 100, 20, 18);&lt;br /&gt;
    // Cabecera&lt;br /&gt;
    pagina.AgregarTexto(leyendaTipo, 350, 40, 200, 20, 10);&lt;br /&gt;
    pagina.AgregarTexto(&amp;quot;Fecha:&amp;quot;, 350, 55, 100, 20, 10);&lt;br /&gt;
    pagina.AgregarTexto(&amp;quot;CUIT:&amp;quot;, 350, 80, 100, 20, 9);&lt;br /&gt;
    pagina.AgregarTexto(&amp;quot;I. Brutos:&amp;quot;, 350, 90, 100, 20, 9);&lt;br /&gt;
    pagina.AgregarTexto(&amp;quot;Inicio Actividades:&amp;quot;, 350, 100, 100, 20, 9);&lt;br /&gt;
    pagina.AgregarTexto(&amp;quot;I.V.A. RESPONSABLE INSCRIPTO&amp;quot;, 350, 110, 200, 20, 9);&lt;br /&gt;
    // Datos de Cabecera&lt;br /&gt;
    string numeroCompuesto = pv.ToString().PadLeft(4, &amp;#039;0&amp;#039;) + &amp;quot;-&amp;quot; + numero.ToString().PadLeft(8, &amp;#039;0&amp;#039;);&lt;br /&gt;
    pagina.AgregarTexto(numeroCompuesto, 460, 41, 100, 20, 9);&lt;br /&gt;
    pagina.AgregarTexto(FunConversiones.FechaToCadena(fecha), 477, 55, 100, 20, 9);&lt;br /&gt;
    pagina.AgregarTexto(LogicaDeConfiguraciones.ObtenerEmpresaCuit(), 467, 80, 100, 20, 8);&lt;br /&gt;
    pagina.AgregarTexto(LogicaDeConfiguraciones.ObtenerEmpresaIIBB(), 485, 90, 100, 20, 8);&lt;br /&gt;
    pagina.AgregarTexto(LogicaDeConfiguraciones.ObtenerEmpresaInicioActividades(), 482, 100, 100, 20, 8);&lt;br /&gt;
    // Datos del Cliente&lt;br /&gt;
    pagina.AgregarTexto(&amp;quot;Señor(es):&amp;quot;, 40, 145, 400, 20, 9);&lt;br /&gt;
    pagina.AgregarTexto(&amp;quot;Domicilio:&amp;quot;, 40, 158, 400, 20, 9);&lt;br /&gt;
    pagina.AgregarTexto(&amp;quot;CUIT:&amp;quot;, 40, 171, 100, 20, 9);&lt;br /&gt;
    pagina.AgregarTexto(razonSocial, 120, 145, 400, 20, 9);&lt;br /&gt;
    pagina.AgregarTexto(direccion, 120, 158, 400, 20, 9);&lt;br /&gt;
    pagina.AgregarTexto(cuit, 120, 171, 100, 20, 9);&lt;br /&gt;
    pagina.AgregarTexto(situacionIva, 300, 171, 100, 20, 9);&lt;br /&gt;
    // Titulos Columnas&lt;br /&gt;
    pagina.AgregarTexto(&amp;quot;Código&amp;quot;, 40, 195, 100, 20, 8);&lt;br /&gt;
    pagina.AgregarTexto(&amp;quot;Cant.&amp;quot;, 90, 195, 100, 20, 8);&lt;br /&gt;
    pagina.AgregarTexto(&amp;quot;Descripción&amp;quot;, 200, 195, 100, 20, 8);&lt;br /&gt;
    pagina.AgregarTexto(&amp;quot;Pre. Uni.&amp;quot;, 350, 195, 100, 20, 8);&lt;br /&gt;
    pagina.AgregarTexto(&amp;quot;Desc. %&amp;quot;, 393, 195, 50, 50, 8);&lt;br /&gt;
    pagina.AgregarTexto(&amp;quot;IVA %&amp;quot;, 435, 195, 100, 20, 8);&lt;br /&gt;
    pagina.AgregarTexto(&amp;quot;Pre. Uni. C/Desc&amp;quot;, 477, 191, 50, 50, 7);&lt;br /&gt;
    pagina.AgregarTexto(&amp;quot;Importe&amp;quot;, 517, 195, 50, 50, 8);&lt;br /&gt;
    // Datos de Columnas&lt;br /&gt;
    PdfXyObjetoDatos datos = new PdfXyObjetoDatos();&lt;br /&gt;
    datos.Datos = dsIt;&lt;br /&gt;
    datos.Y = 220;&lt;br /&gt;
    datos.FuenteTamanio = 7;&lt;br /&gt;
    datos.AgregarColumna(&amp;quot;codigo&amp;quot;, 40, 220, 20);&lt;br /&gt;
    datos.AgregarColumna(&amp;quot;cantidad&amp;quot;, 90, 220, 20);&lt;br /&gt;
    datos.AgregarColumna(&amp;quot;descripcion&amp;quot;, 120, 220, 20);&lt;br /&gt;
    datos.AgregarColumna(&amp;quot;precioUnitarioSinIva&amp;quot;, 350, 220, 20);&lt;br /&gt;
    datos.AgregarColumna(&amp;quot;descuento&amp;quot;, 393, 220, 20);&lt;br /&gt;
    datos.AgregarColumna(&amp;quot;tasa&amp;quot;, 435, 220, 20);&lt;br /&gt;
    datos.AgregarColumna(&amp;quot;precioUnitarioSinIvaConDesc&amp;quot;, 477, 220, 20);&lt;br /&gt;
    datos.AgregarColumna(&amp;quot;precioTotal&amp;quot;, 517, 220, 20);&lt;br /&gt;
    pagina.AgregarDatos(datos);&lt;br /&gt;
    // Totales&lt;br /&gt;
    pagina.AgregarTexto(totalEnLetras, 40, 692, 600, 50, 9);&lt;br /&gt;
    pagina.AgregarTexto(&amp;quot;TOTAL&amp;quot;, 360, 675, 600, 50, 16);&lt;br /&gt;
    pagina.AgregarTexto(FunConversiones.DecimalToCadena2DecimalesSepMiles(total), 455, 675, 600, 50, 16);&lt;br /&gt;
    pagina.AgregarTexto(&amp;quot;LOS PRECIOS NO INCLUYEN IVA.&amp;quot;, 100, 775, 300, 20, 10);&lt;br /&gt;
    pagina.AgregarTexto(tipo, 450, 775, 100, 20, 10);&lt;br /&gt;
    pagina.AgregarTexto(observaciones, 40, 735, 500, 60, 9);&lt;br /&gt;
}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;/div&gt;</summary>
		<author><name>Diegogazzolo</name></author>
		
	</entry>
</feed>