Files

166 lines
20 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<report:Report xmlns:rtl="http://www.4js.com/2004/RTL" xmlns:report="http://www.4js.com/2007/REPORT" xmlns="http://www.4js.com/2004/PXML" gstVersion="31408" version="6.00">
<report:Settings RWPageWidth="legalwidth" RWPageLength="legallength" RWLeftMargin="0.5cm" RWTopMargin="0.5cm" RWRightMargin="0.5cm" RWBottomMargin="0.5cm">
<report:FormatList RWDefaultFormat="PDF">
<report:Format-SVG/>
<report:Format-PDF RWPageRange="all"/>
<report:Format-image/>
</report:FormatList>
</report:Settings>
<report:Data RWDataLocation="../PRDIR/prprmt008.rdd" RWFglReportName="o_pedido"/>
<report:Conflicts>
<report:Conflict nodeName="LayoutNode1" message="Node was in trigger &quot;IfThen [0; 1]&quot;, but trigger was removed during schema update"/>
<report:Conflict nodeName="MiniPage" message="Node was in trigger &quot;IfThen [0; 1]&quot;, but trigger was removed during schema update"/>
</report:Conflicts>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report" minOccurs="1" maxOccurs="1">
<MINIPAGE name="Page Root" width="max" length="min">
<MINIPAGE name="ENCABEZADOSGRAL" width="130" length="560.485" alignment="center" fontSize="9" layoutDirection="leftToRight">
<LAYOUTNODE name="Layout Node8" y="max-5.50cm" width="8cm" length="min" anchorY="1" floatingBehavior="enclosed">
<rtl:input-variable name="p_compania.nombre" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDWRAPBOX name="p_companias.nombre Value" width="width(&quot;M&quot;)*20" alignment="baseline" fontSize="12" fontBold="true" baselineType="leftleft" text="{{p_compania.nombre}}"/>
<rtl:input-variable name="p_compania.direccion" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox3" alignment="baseline" fontSize="9" baselineType="leftleft" text="{{&quot;San Crstobal: &quot;+p_compania.direccion}}"/>
<rtl:input-variable name="p_compania.direccion" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox2" alignment="baseline" fontSize="9" baselineType="leftleft" text="{{&quot;STO. DGO.: &quot;+p_compania.direccion}}"/>
<rtl:input-variable name="p_compania.rnc" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox73_3" alignment="baseline" floatingBehavior="enclosed" text="{{&quot;RNC: &quot;+p_compania.rnc}}"/>
<LAYOUTNODE name="Contactos" width="min" length="min" fontSize="9" floatingBehavior="enclosed">
<rtl:input-variable name="p_compania.telefono" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox6" alignment="baseline" baselineType="leftleft" text="{{&quot;TELEFONO(S): &quot;+p_compania.telefono+&quot; &quot;+p_compania.telefono}}"/>
<WORDBOX name="WordBox5" alignment="baseline" baselineType="leftleft" text="{{&quot;Email: &quot;}}"/>
<WORDBOX name="WordBox89" length=".5cm" floatingBehavior="enclosed"/>
<LAYOUTNODE name="LayoutNode" width="min" length="min" floatingBehavior="enclosed">
<WORDBOX name="WordBox47_1_1" width="9cm" length=".8cm" anchorX="0" anchorY="0" alignment="baseline" fontSize="14" fontBold="true" underline="true" baselineType="leftleft" textAlignment="center" text="ORDEN DE PEDIDOS"/>
</LAYOUTNODE>
</LAYOUTNODE>
</LAYOUTNODE>
<LAYOUTNODE name="Layout Node8_1" y="max-146" width="90" length="min" fontSize="10" fontBold="true">
<WORDBOX name="WordBox24" length=".6cm" alignment="baseline" baselineType="leftleft" text="{{&quot;ORDEN &quot;+&quot; No &quot;}}"/>
<WORDBOX name="WordBox25" x="1cm" alignment="baseline" baselineType="leftleft" text="Fecha"/>
</LAYOUTNODE>
<LAYOUTNODE name="Layout Node12" y="max-55" width="min" length="min">
<rtl:input-variable name="xnumero" type="FGLNumeric" expectedLocation="expectedWayAhead"/>
<DECIMALFORMATBOX name="y.cotizacion_no Value" anchorX="1" alignment="near" fontSize="14" fontBold="true" baselineType="leftleft" textAlignment="right" format="--------#" value="{{xnumero}}"/>
<rtl:input-variable name="prtb08.fecha_oc" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="y.fecha Value" alignment="near" fontBold="true" layoutDirection="topToBottom" baselineType="leftleft" text="{{prtb08.fecha_oc}}"/>
</LAYOUTNODE>
<IMAGEBOX name="ImageBox" width="175.5" length="99.75" alignment="near" floatingBehavior="enclosed" url="{{&quot;./imagenes/logo.png&quot;}}" intendedResolution="96"/>
</MINIPAGE>
<MINIPAGE name="MiniPage10" width="max" length="min">
<LAYOUTNODE name="Layout Node1" width="min" length="min" color="#181818">
<WORDBOX name="WordBox90" length=".8cm" floatingBehavior="enclosed"/>
</LAYOUTNODE>
</MINIPAGE>
<MINIPAGE name="ENCABEZADOSCLIENTES" width="min" length="min" alignment="near" fontSize="8" layoutDirection="leftToRight">
<LAYOUTNODE name="LdatosGral" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed">
<LAYOUTNODE name="HeaderGeneral" length="min" alignment="near" fontSize="9" fontBold="true">
<WORDBOX name="WordBox16" alignment="baseline" baselineType="leftleft" text="EL CLIENTE"/>
<WORDBOX name="WordBox17" alignment="baseline" baselineType="leftleft" text="DIRECCION"/>
<WORDBOX name="WordBox19" alignment="baseline" baselineType="leftleft" text="PROYECTO"/>
<WORDBOX name="WordBox20" alignment="baseline" baselineType="leftleft" text="CONDICIONES"/>
<WORDBOX name="WordBox21" alignment="baseline" baselineType="leftleft" text="COTIZACION NO."/>
<WORDBOX name="WordBox22" alignment="baseline" baselineType="leftleft" text="VENDEDOR"/>
<WORDBOX name="WordBox96" floatingBehavior="enclosed" text="RNC"/>
</LAYOUTNODE>
<LAYOUTNODE name="DatosGenerales" width="9.5cm" length="min" alignment="near" fontSize="9">
<rtl:input-variable name="nombre" type="FGLString" expectedLocation="expectedWayAhead"/>
<rtl:input-variable name="prtb08.tipo_cliente" type="FGLNumeric" expectedLocation="expectedWayAhead"/>
<rtl:input-variable name="prtb08.sec_cliente" type="FGLNumeric" expectedLocation="expectedWayAhead"/>
<WORDWRAPBOX name="nombreCliente" width="width(&quot;M&quot;)*38" alignment="baseline" floatingBehavior="enclosed" text="{{nombre.trim()+&quot; (&quot;+prtb08.tipo_cliente.format(&quot;&amp;&amp;&quot;)+&quot;-&quot;+prtb08.sec_cliente.format(&quot;&amp;&amp;&amp;&amp;&amp;&amp;&quot;)+&quot;)&quot;}}"/>
<rtl:input-variable name="prtb08.direccion" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDWRAPBOX name="WordWrapBox9" width="width(&quot;M&quot;)*30" alignment="baseline" floatingBehavior="enclosed" text="{{prtb08.direccion.trim()}}"/>
<rtl:input-variable name="pnombre_proyecto" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox42" width="width(&quot;M&quot;)*30" alignment="baseline" baselineType="leftleft" text="{{pnombre_proyecto.trim()}}"/>
<rtl:input-variable name="descrip_p" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox43" width="width(&quot;M&quot;)*30" alignment="baseline" baselineType="leftleft" text="{{descrip_p.trim()}}"/>
<rtl:input-variable name="prtb08.cotizacion_no" type="FGLNumeric" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox44" width="width(&quot;M&quot;)*30" alignment="baseline" baselineType="leftleft" text="{{prtb08.cotizacion_no.format(&quot;&amp;&amp;&amp;&amp;&amp;&amp;&quot;)}}"/>
<rtl:input-variable name="nombres" type="FGLString" expectedLocation="expectedWayAhead"/>
<rtl:input-variable name="prtb08.sec_vend" type="FGLNumeric" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox45" width="width(&quot;M&quot;)*30" alignment="baseline" baselineType="leftleft" text="{{nombres.trim()+&quot; (&quot;+prtb08.sec_vend.format(&quot;&amp;&amp;&amp;&amp;&quot;)+&quot;)&quot;}}"/>
<rtl:input-variable name="xnumrnc" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox97" width="4cm" floatingBehavior="enclosed" text="{{xnumrnc.trim()}}"/>
</LAYOUTNODE>
</LAYOUTNODE>
<LAYOUTNODE name="LdatosComunicacion" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed">
<LAYOUTNODE name="HeaderComunica" width="3cm" length="min" alignment="near" fontSize="9" fontBold="true">
<WORDBOX name="WordBox23" width="3cm" alignment="baseline" baselineType="leftleft" text="FAX"/>
<WORDBOX name="WordBox24_1" width="3cm" alignment="baseline" baselineType="leftleft" text="TELEFONO CASA"/>
<WORDBOX name="WordBox99" floatingBehavior="enclosed" text="COMENTARIO"/>
</LAYOUTNODE>
<LAYOUTNODE name="DatosCominuca" width="5cm" length="min" fontSize="9">
<rtl:input-variable name="prtb08.fax" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox30" width="4cm" alignment="baseline" baselineType="leftleft" text="{{prtb08.fax}}"/>
<rtl:input-variable name="prtb08.telefono" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox31" width="4cm" alignment="baseline" baselineType="leftleft" text="{{prtb08.telefono}}"/>
<rtl:input-variable name="y.observacion" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDWRAPBOX name="WordWrapBox" width="width(&quot;M&quot;)*20" floatingBehavior="enclosed" text="{{y.observacion.trim()}}"/>
</LAYOUTNODE>
</LAYOUTNODE>
</MINIPAGE>
<MINIPAGE name="RAYA1" width=".1cm" length="max-.5cm" alignment="near" scaleY="1" bgColor="#0d0c0c" layoutDirection="leftToRight"/>
<MINIPAGE name="ENCABEZADOSDETALLE" width="30" length="max-.5cm" fontSize="9" layoutDirection="leftToRight" floatingBehavior="enclosed">
<LAYOUTNODE name="Layout Node11" length="max-1cm" alignment="center" fontSize="9" fontBold="true" layoutDirection="leftToRight" floatingBehavior="free">
<WORDBOX name="WordBox31_1" width="66.8091" length="min" alignment="center" fontBold="true" underline="false" baselineType="leftleft" text="UNIDADES"/>
<WORDBOX name="WordBox32_1" width="62" length="min" alignment="center" fontBold="true" underline="false" baselineType="leftleft" text="CANTIDAD"/>
<WORDBOX name="WordBox33" width="200" length="min" alignment="center" baselineType="leftleft" text="DESCRIPCION"/>
<WORDBOX name="WordBox34_1" width="60" length="min" alignment="center" baselineType="leftleft" text="PRECIO"/>
<WORDBOX name="WordBox70" width="70" length="min" alignment="center" baselineType="leftleft" text="PORC DESC"/>
<WORDBOX name="WordBox53" width="65" length="min" alignment="center" baselineType="leftleft" text="PRECIO NETO"/>
<WORDBOX name="WordBox54" y="19cm" length="min" alignment="center" baselineType="leftleft" text="TOTAL"/>
</LAYOUTNODE>
<MINIPAGE name="RAYA2" width=".1cm" length="max" alignment="near" scaleY="1" bgColor="#0d0c0c" layoutDirection="leftToRight"/>
</MINIPAGE>
<rtl:match name="Group area" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<rtl:match name="If" nameConstraint="If" minOccurs="1" maxOccurs="1">
<LAYOUTNODE name="LayoutNode1" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed">
<MINIPAGE name="DETALLE" width="min" length="min" alignment="near" fontSize="9" layoutDirection="leftToRight">
<rtl:input-variable name="z.cantidad_1" type="FGLNumeric" expectedLocation="expectedWayAhead"/>
<DECIMALFORMATBOX name="z.cantidad_1 Value" width="{max(width(&quot;{z.cantidad_1.caption}&quot;),width(&quot;000,000,000.00&quot;))}" anchorX="1" alignment="baseline" baselineType="leftleft" textAlignment="left" format="###,###,##&amp;.&amp;&amp;" value="{{z.cantidad_1}}"/>
<rtl:input-variable name="z.cantidad" type="FGLNumeric" expectedLocation="expectedWayAhead"/>
<DECIMALFORMATBOX name="z.cantidad Value" width="{max(width(&quot;{z.cantidad.caption}&quot;),width(&quot;000,000,000.00&quot;))}" anchorX="1" alignment="baseline" baselineType="leftleft" textAlignment="left" format="###,###,##&amp;.&amp;&amp;&amp;&amp;" value="{{z.cantidad}}"/>
<rtl:input-variable name="z.descrip_esp" type="FGLString" expectedLocation="expectedWayAhead"/>
<rtl:input-variable name="z.unidad_med" type="FGLString" expectedLocation="expectedWayAhead"/>
<rtl:input-variable name="z.cod_n" type="FGLNumeric" expectedLocation="expectedWayAhead"/>
<rtl:input-variable name="z.cod_grupo" type="FGLNumeric" expectedLocation="expectedWayAhead"/>
<rtl:input-variable name="z.cod_tipo" type="FGLNumeric" expectedLocation="expectedWayAhead"/>
<rtl:input-variable name="z.cod_sec" type="FGLNumeric" expectedLocation="expectedWayAhead"/>
<WORDWRAPBOX name="xnombre_p Value" width="{max(width(&quot;{z.descrip_esp.caption}&quot;),width(&quot;M&quot;)*20)}" alignment="near" baselineType="leftleft" text="{{z.unidad_med+&quot; &quot;+z.descrip_esp+&quot; &quot;+z.cod_n.format(&quot;&amp;&amp;&amp;&amp;&quot;)+&quot;-&quot;+z.cod_grupo.format(&quot;&amp;&amp;&amp;&amp;&quot;)+&quot;-&quot;+z.cod_tipo.format(&quot;&amp;&amp;&amp;&amp;&amp;&quot;)+&quot;-&quot;+z.cod_sec.format(&quot;&amp;&amp;&amp;&amp;&amp;&quot;)}}"/>
<rtl:input-variable name="z.precio" type="FGLNumeric" expectedLocation="expectedWayAhead"/>
<DECIMALFORMATBOX name="z.precio Value" width="{max(width(&quot;{z.precio.caption}&quot;),width(&quot;000,000,000.00&quot;))}" anchorX="1" alignment="baseline" baselineType="leftleft" textAlignment="right" format="###,###,##&amp;.&amp;&amp;" value="{{z.precio}}"/>
<rtl:input-variable name="z.descuento" type="FGLNumeric" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox95" width="2.5cm" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="{{z.descuento.format(&quot;###.##&quot;)}}"/>
<rtl:input-variable name="z.descuento" type="FGLNumeric" expectedLocation="expectedWayAhead"/>
<rtl:input-variable name="z.precio" type="FGLNumeric" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox94" width="2.3cm" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="{{(z.precio-(z.descuento/100)*z.precio).format(&quot;###,###.##&quot;)}}"/>
<rtl:input-variable name="z.total_p" type="FGLNumeric" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox98" floatingBehavior="enclosed" text="{{z.total_p.format(&quot;$$,$$$,$##.##&quot;)}}"/>
</MINIPAGE>
</LAYOUTNODE>
<rtl:match name="IfElse" nameConstraint="IfElse" minOccurs="0" maxOccurs="1">
<rtl:match name="Foreach" nameConstraint="Foreach" minOccurs="1" maxOccurs="1">
<rtl:match name="ForeachItem" nameConstraint="ForeachItem" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="MiniPage" width="min" length="max" alignment="near" layoutDirection="leftToRight" baselineType="leftleft">
<rtl:input-variable name="pcantidad" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="etiqueta" type="FGLString" expectedLocation="expectedHere"/>
<rtl:input-variable name="plado1" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="plado2" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="plado3" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="pmedida" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox" floatingBehavior="enclosed" text="{{pcantidad.format(&quot;&lt;,&lt;&lt;&lt;&quot;)+&quot; &quot;+etiqueta+&quot; DE &quot;+plado1.format(&quot;&lt;&lt;.#####&quot;)+&quot; X &quot;+plado2.format(&quot;&lt;&lt;.#####&quot;)+&quot; X &quot;+plado3.format(&quot;&lt;&lt;.#####&quot;)+&quot; = &quot;+pmedida.format(&quot;&lt;&lt;&lt;.#####&quot;)}}"/>
</MINIPAGE>
</rtl:match>
</rtl:match>
</rtl:match>
</rtl:match>
</rtl:match>
</rtl:match>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>