Files
MBS/PROYECTO/bin/veprmt022_1.4rp
T

206 lines
24 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="3140a" version="6.00">
<report:Settings RWPageWidth="letterwidth" RWPageLength="letterlength" RWLeftMargin="0.5cm" RWTopMargin="0.5cm" RWRightMargin="0.5cm" RWBottomMargin="0.5cm">
<report:FormatList>
<report:Format-PDF/>
<report:Format-image/>
<report:Format-SVG/>
</report:FormatList>
</report:Settings>
<report:Data RWDataLocation="../vedir/vefactura.rdd" RWFglReportName="imp_factura"/>
<report:Conflicts>
<report:Conflict nodeName="MiniPage1" message="Node was in trigger &quot;Group factura [0; unbounded]&quot;, but trigger was removed during schema update"/>
</report:Conflicts>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report">
<MINIPAGE name="MiniPage1" width="max" length="min" fontName="Arial">
<LAYOUTNODE name="Layout Node7" width="min" length="min" alignment="near" swapX="true" port="firstPageHeader">
<LAYOUTNODE name="LayoutNode35" width="min" length="max" alignment="near" layoutDirection="leftToRight" floatingBehavior="enclosed">
<LAYOUTNODE name="LayoutNode40" width="min" length="min" alignment="far" layoutDirection="topToBottom" floatingBehavior="enclosed">
<LAYOUTNODE name="imagen" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed">
<IMAGEBOX name="ImageBox1_1_1" length="70" alignment="near" floatingBehavior="enclosed" url="{{&quot;file:///F:/MARMOTECHC/BIN320/IMAGENES/logo.png&quot;}}" intendedResolution="120"/>
</LAYOUTNODE>
<LAYOUTNODE name="infocia" width="min" length="min" anchorY="1" fontSize="12" floatingBehavior="enclosed">
<rtl:input-variable name="sucnombre" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox9" alignment="near" fontBold="true" baselineType="leftleft" text="{{sucnombre.trim()}}"/>
<rtl:input-variable name="direccion_sucursal" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="WordWrapBox5" width="width(&quot;M&quot;)*33" fontSize="9" floatingBehavior="enclosed" text="{{direccion_sucursal.trim()}}"/>
<LAYOUTNODE name="ourAdress" x="0" width="min" length="min" anchorX="0" layoutDirection="leftToRight" floatingBehavior="enclosed">
<LAYOUTNODE name="Layout Node11" width="min" length="min">
<WORDBOX name="WordBox11_1" alignment="near" fontSize="9" baselineType="leftleft" text="{{&quot;RNC:&quot;}}"/>
<WORDBOX name="WordBox12" alignment="baseline" fontSize="9" baselineType="leftleft" text="Telefono:"/>
</LAYOUTNODE>
<LAYOUTNODE name="Layout Node12" width="min" length="min">
<rtl:input-variable name="p_companias.rnc" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox93" alignment="baseline" fontSize="9" floatingBehavior="enclosed" text="{{p_companias.rnc}}"/>
<rtl:input-variable name="p_companias.telefono" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox15" alignment="baseline" fontSize="9" baselineType="leftleft" text="{{p_companias.telefono}}"/>
</LAYOUTNODE>
</LAYOUTNODE>
<LAYOUTNODE name="LayoutNode" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed">
<rtl:input-variable name="x.fecha_factura" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox32_1_1" alignment="baseline" baselineType="leftleft" text="{{&quot;Fecha Emision: &quot;+x.fecha_factura.value}}"/>
</LAYOUTNODE>
</LAYOUTNODE>
</LAYOUTNODE>
<LAYOUTNODE name="NCF" x="20" y="290" width="282.6" length="min" alignment="near" floatingBehavior="enclosed">
<rtl:input-variable name="descripcion" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox31_1" width="max" alignment="baseline" fontSize="12" fontBold="true" baselineType="leftleft" textAlignment="right" text="{{descripcion.trim()}}"/>
<rtl:input-variable name="ch_ncf" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox73_1" width="max" alignment="baseline" fontSize="12" baselineType="leftleft" textAlignment="right" text="{{ch_ncf.trim()}}"/>
<rtl:input-variable name="ch_fecha" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="ch_fecha Value" width="max" floatingBehavior="enclosed" textAlignment="right" text="{{&quot;Vencimiento Secuencia: &quot;+ch_fecha}}"/>
</LAYOUTNODE>
</LAYOUTNODE>
<MINIPAGE name="StripeLayouter13" width="min" layoutDirection="leftToRight" roundedCorners="true" borderWidth="1" borderStyle="solid" borderTopColor="#aaffff" borderRightColor="#ffffff" borderBottomColor="#aaffff" borderLeftColor="#ffffff">
<LAYOUTNODE name="customerAddress" x="0cm" width="min" length="min" anchorY="1" layoutDirection="leftToRight" floatingBehavior="enclosed">
<LAYOUTNODE name="Layout Node15" width="min" length="min" alignment="near" fontSize="9">
<LAYOUTNODE name="Layout Node17" width="min" length="min" fontSize="10" fontItalic="true" layoutDirection="leftToRight">
<WORDBOX name="WordBox18" alignment="baseline" baselineType="leftleft" text="Codigo Cliente: "/>
<rtl:input-variable name="x.tipo_cliente" type="FGLNumeric" expectedLocation="expectedAhead"/>
<rtl:input-variable name="x.sec_cliente" type="FGLNumeric" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox19" alignment="near" baselineType="leftleft" text="{{x.tipo_cliente.format(&quot;&lt;&lt;&lt;&quot;)+&quot;-&quot;+x.sec_cliente.format(&quot;&amp;&amp;&amp;&amp;&amp;&amp;&quot;)}}"/>
</LAYOUTNODE>
<LAYOUTNODE name="Layout Node18" width="0.2cm" length="min" layoutDirection="leftToRight"/>
<LAYOUTNODE name="Layout Node19" width="min" length="min" layoutDirection="leftToRight">
<rtl:input-variable name="x.nombre" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox20" alignment="baseline" baselineType="leftleft" text="{{x.nombre.trim()}}"/>
<WORDBOX name="WordBox21" alignment="baseline" baselineType="leftleft" text=" "/>
</LAYOUTNODE>
<rtl:input-variable name="x.direccion" type="FGLString" expectedLocation="expectedAhead"/>
<rtl:input-variable name="xdireccion" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="WordWrapBox" rtl:condition="x.direccion.length()&gt;0" width="width(&quot;M&quot;)*22" alignment="baseline" floatingBehavior="enclosed" text="{{xdireccion.trim()}}"/>
<rtl:input-variable name="cliente_bas.telex" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox24" alignment="near" baselineType="leftleft" text="{{&quot;Celular: &quot;+cliente_bas.telex.trim()}}"/>
<rtl:input-variable name="cliente_bas.telefono" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox78_1" width="2cm" alignment="baseline" floatingBehavior="enclosed" text="{{&quot;Telefono: &quot;+cliente_bas.telefono.trim()}}"/>
<LAYOUTNODE name="Layout Node20" width="min" length="min" layoutDirection="leftToRight">
<rtl:input-variable name="x.nombre_vend" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox25" alignment="baseline" baselineType="leftleft" text="{{&quot;Vendedor: &quot;+x.nombre_vend.trim()}}"/>
</LAYOUTNODE>
<LAYOUTNODE name="Layout Node21" width="0.2cm" length="min" alignment="near" layoutDirection="leftToRight"/>
<LAYOUTNODE name="Layout Node33" width="min" length="min">
<rtl:input-variable name="rnc" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox64" alignment="baseline" fontSize="10" baselineType="leftleft" text="{{&quot;RNC o CEDULA: &quot;+rnc.trim()}}"/>
</LAYOUTNODE>
</LAYOUTNODE>
</LAYOUTNODE>
<LAYOUTNODE name="nofactura" y="290" width="min" length="min" fontSize="12" floatingBehavior="enclosed">
<rtl:input-variable name="x.factura" type="FGLNumeric" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox34_1" alignment="baseline" fontBold="true" baselineType="leftleft" text="{{&quot;Factura No.: &quot;+x.factura.format(&quot;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&quot;)}}"/>
<rtl:input-variable name="condicion.descrip" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox74_2" alignment="baseline" baselineType="leftleft" text="{{&quot;Condiciones: &quot;+condicion.descrip.trim()}}"/>
<rtl:input-variable name="x.orden" type="FGLNumeric" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox36_1" alignment="baseline" baselineType="leftleft" text="{{&quot;Orden: &quot;+x.orden.format(&quot;&amp;&amp;&amp;&amp;&amp;&amp;&quot;)}}"/>
<rtl:input-variable name="pcotizacion" type="FGLNumeric" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox" floatingBehavior="enclosed" text="{{&quot;Cotizacion: &quot;+pcotizacion.format(&quot;&amp;&amp;&amp;&amp;&amp;&amp;&quot;)}}"/>
<rtl:input-variable name="chventas" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="WordWrapBox5_1" width="width(&quot;M&quot;)*20" floatingBehavior="enclosed" text="{{&quot;Moneda: &quot;+chventas.trim()}}"/>
<rtl:input-variable name="descripcion_bodega" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="WordWrapBox7_1" width="width(&quot;M&quot;)*20" floatingBehavior="enclosed" text="{{&quot;Almacen: &quot;+descripcion_bodega.trim()}}"/>
<rtl:input-variable name="xconduce_almacen" type="FGLNumeric" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox104_1" floatingBehavior="enclosed" text="{{&quot;Salida: &quot;+xconduce_almacen.format(&quot;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&amp;&quot;)}}"/>
</LAYOUTNODE>
</MINIPAGE>
<MINIPAGE name="StripeLayouter17" width=".2cm" layoutDirection="leftToRight"/>
<MINIPAGE name="StripeLayouter18" width=".1cm" bgColor="#cc" layoutDirection="leftToRight"/>
<MINIPAGE name="StripeLayouter19" width="min" length="max" bgColor="#cccccc" fontBold="true" layoutDirection="leftToRight">
<LAYOUTNODE name="Layout Node25" width="min" length=".3cm" layoutDirection="leftToRight"/>
<WORDBOX name="WordBox39" alignment="baseline" baselineType="leftleft" textAlignment="right" text="Codigo"/>
<WORDBOX name="WordBox58" width="45" alignment="baseline" baselineType="leftleft" text=""/>
<WORDWRAPBOX name="WordWrapBox1" width="5.8cm" alignment="baseline" baselineType="leftleft" floatingBehavior="free" text="Descripcion"/>
<WORDBOX name="WordBox40" width="2.7cm" alignment="baseline" baselineType="leftleft" textAlignment="right" text="Cantidad"/>
<WORDBOX name="WordBox41" width="2cm" alignment="baseline" baselineType="rightright" textAlignment="right" text="Precio"/>
<WORDBOX name="WordBox44" y="max-.6cm" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" text="Total"/>
</MINIPAGE>
<MINIPAGE name="StripeLayouter20" width=".1cm" bgColor="#cc" layoutDirection="leftToRight"/>
<MINIPAGE name="StripeLayouter21" width=".2cm" layoutDirection="leftToRight"/>
</LAYOUTNODE>
<rtl:match name="Group factura" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="PAGINADETALLE" width="max" length="max(rest,4cm)" lengthAdjustment="shrinkToChildren" swapX="true" hidePageFooterOnLastPage="true">
<MINIPAGE name="DETALLEFACTURA" width="min" length="max" layoutDirection="leftToRight">
<LAYOUTNODE name="LayoutNode31" width="min" length="max" fontSize="8" layoutDirection="leftToRight">
<WORDBOX name="WordBox94" width="35" alignment="baseline" floatingBehavior="enclosed"/>
<rtl:input-variable name="z.cod_n" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="z.cod_grupo" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="z.cod_tipo" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="z.cod_sec" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox63" width="1.5cm" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{z.cod_n.format(&quot;&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;&quot;)+&quot;-&quot;+z.cod_sec.format(&quot;&amp;&amp;&amp;&amp;&amp;&amp;&quot;)}}"/>
<WORDBOX name="WordBox56" width="10" alignment="baseline" baselineType="leftleft" text=""/>
<rtl:input-variable name="z.descrip_esp" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox3" width="7cm" alignment="baseline" baselineType="leftleft" text="{{z.descrip_esp.trim()}}"/>
<WORDBOX name="WordBox60" width=".8cm" alignment="baseline" baselineType="leftleft" text=""/>
<rtl:input-variable name="z.cantidad" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="cantidad" width="1cm" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{z.cantidad.format(&quot;###,###.####&quot;)}}"/>
<WORDBOX name="WordBox61" width="1.cm" alignment="baseline" baselineType="leftleft" text=""/>
<rtl:input-variable name="z.precio" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="precio" width="1cm" length="16" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{z.precio.format(&quot;###,###.##&quot;)}}"/>
<WORDBOX name="WordBox65_3" width="4.6cm" alignment="baseline" baselineType="leftleft" text=""/>
<rtl:input-variable name="z.monto_fact" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="monto" width="2cm" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" text="{{z.monto_fact.format(&quot;###,###.##&quot;)}}"/>
</LAYOUTNODE>
<LAYOUTNODE name="LINEA" width="0.5point" length="max" bgColor="#cc" layoutDirection="leftToRight"/>
</MINIPAGE>
</MINIPAGE>
</rtl:match>
</rtl:match>
<MINIPAGE name="ESPACIO DETALLE" width="min" length="max" layoutDirection="leftToRight">
<WORDBOX name="WordBox75_1" alignment="baseline" baselineType="leftleft"/>
</MINIPAGE>
<MINIPAGE name="SUBTOTAL" width="min" length="max" fontBold="true" layoutDirection="leftToRight">
<LAYOUTNODE name="Layout Node40" y="max-1cm" width="min" length="min" anchorY="1" layoutDirection="rightToLeft" swapX="true" floatingBehavior="enclosed">
<rtl:input-variable name="x.prima_us" type="FGLNumeric" expectedLocation="expectedBefore"/>
<rtl:input-variable name="x.sub_total" type="FGLNumeric" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox77" width="3.3cm" alignment="baseline" baselineType="leftright" textAlignment="right" text="{{(x.prima_us&gt;1?&quot;USD$ &quot;:&quot;RD$ &quot;)+x.sub_total.format(&quot;###,###,###.##&quot;)}}"/>
<WORDBOX name="WordBox74_1" width="1cm" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox76_1" width="3.3cm" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="right" text="SubTotal:"/>
</LAYOUTNODE>
</MINIPAGE>
<MINIPAGE name="DESCUENTO" width="min" length="max" fontBold="true" layoutDirection="leftToRight">
<LAYOUTNODE name="Layout Node40_1" y="max-1cm" width="min" length="min" anchorY="1" layoutDirection="rightToLeft" swapX="true" floatingBehavior="enclosed">
<rtl:input-variable name="x.prima_us" type="FGLNumeric" expectedLocation="expectedBefore"/>
<rtl:input-variable name="x.desc_valor" type="FGLNumeric" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox77_1" width="3.3cm" alignment="baseline" baselineType="leftright" textAlignment="right" text="{{(x.prima_us&gt;1?&quot;USD$ &quot;:&quot;RD$ &quot;)+x.desc_valor.format(&quot;###,###,###,###.##&quot;)}}"/>
<WORDBOX name="WordBox75_2" width="1cm" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox76_2" width="3.3cm" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="right" text="Descuento:"/>
</LAYOUTNODE>
</MINIPAGE>
<MINIPAGE name="ITBIS" width="min" length="max" fontBold="true" layoutDirection="leftToRight">
<LAYOUTNODE name="Layout Node40_2" y="max-1cm" width="min" length="min" anchorY="1" layoutDirection="rightToLeft" swapX="true" floatingBehavior="enclosed">
<rtl:input-variable name="x.prima_us" type="FGLNumeric" expectedLocation="expectedBefore"/>
<rtl:input-variable name="x.itbi" type="FGLNumeric" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox77_2" width="3.3cm" alignment="baseline" baselineType="leftright" textAlignment="right" text="{{(x.prima_us&gt;1?&quot;USD$ &quot;:&quot;RD$ &quot;)+x.itbi.format(&quot;###,###,###.##&quot;)}}"/>
<WORDBOX name="WordBox76_3" width="1cm" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox76_4" width="3.3cm" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="right" text="Itbis:"/>
</LAYOUTNODE>
</MINIPAGE>
<MINIPAGE name="TOTAL" width="min" length="max" fontBold="true" layoutDirection="leftToRight">
<LAYOUTNODE name="Layout Node40_6" y="max-1cm" width="min" length="min" anchorY="1" layoutDirection="rightToLeft" swapX="true" floatingBehavior="enclosed">
<rtl:input-variable name="x.prima_us" type="FGLNumeric" expectedLocation="expectedBefore"/>
<rtl:input-variable name="x.total_fact" type="FGLNumeric" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox77_7" width="3.3cm" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{(x.prima_us&gt;1?&quot;USD$ &quot;:&quot;RD$ &quot;)+x.total_fact.format(&quot;###,###,###.##&quot;)}}"/>
<WORDBOX name="WordBox80" width="1cm" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox76_8" width="3.3cm" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="right" text="Total factura:"/>
</LAYOUTNODE>
</MINIPAGE>
<LAYOUTNODE name="ESPACIOOBS" width="min" length="min">
<rtl:input-variable name="imagen" type="FGLString" expectedLocation="expectedBefore"/>
<rtl:input-variable name="vimagen" type="FGLNumeric" expectedLocation="expectedBefore"/>
<IMAGEBOX name="ImageBox" rtl:condition="vimagen==1" alignment="near" floatingBehavior="enclosed" url="{{&quot;data:image/jpg;base64,&quot;+imagen}}" intendedResolution="100"/>
<WORDBOX name="WordBox107_1" width="4cm" length="2cm" floatingBehavior="enclosed" text="{{&quot;FACTURADO POR &quot;}}"/>
</LAYOUTNODE>
<LAYOUTNODE name="OBSERVACIONES" width="min" length="min">
<rtl:input-variable name="observacion" type="FGLString" expectedLocation="expectedBefore"/>
<WORDWRAPBOX name="WordWrapBox3_1" width="width(&quot;M&quot;)*50" alignment="baseline" baselineType="leftleft" text="{{observacion.trim()}}"/>
<WORDBOX name="WordBox81" length=".5inch" floatingBehavior="enclosed"/>
<rtl:input-variable name="x.prima_us" type="FGLNumeric" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox82" rtl:condition="x.prima_us&gt;1" floatingBehavior="enclosed" text="Realizar el pago con la tasa del día"/>
</LAYOUTNODE>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>