210 lines
24 KiB
XML
210 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="31408" version="6.00">
|
|
<report:Settings RWPageWidth="a4width" RWPageLength="a4length" 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/veprcs001.rdd" RWFglReportName="imp_factura"/>
|
|
<report:Conflicts>
|
|
<report:Conflict nodeName="MiniPage1" message="Node was in trigger "Group factura [0; unbounded]", 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">
|
|
<rtl:input-variable name="visualiza" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<LAYOUTNODE name="LayoutNode40" rtl:condition="visualiza=="SI"" 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="{{"file:///C:/Users/jsoto/Documents/PROYECTOS/BDL320/MARMOTECH/PROYECTO/bin/IMAGENES/logo.png"}}" 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("M")*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="{{"RNC:"}}"/>
|
|
<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>
|
|
</LAYOUTNODE>
|
|
<LAYOUTNODE name="NCF" x="20" y="290" width="min" length="min" alignment="near" floatingBehavior="enclosed">
|
|
<rtl:input-variable name="descripcion" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBox31_1" alignment="baseline" fontSize="14" fontBold="true" baselineType="leftleft" text="{{descripcion.trim()}}"/>
|
|
<rtl:input-variable name="ch_ncf" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBox73_1" alignment="baseline" fontSize="12" baselineType="leftleft" text="{{ch_ncf.trim()}}"/>
|
|
<rtl:input-variable name="ch_fecha" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="ch_fecha Value" floatingBehavior="enclosed" text="{{"Vencimiento Secuencia: "+ch_fecha}}"/>
|
|
</LAYOUTNODE>
|
|
</LAYOUTNODE>
|
|
<MINIPAGE name="StripeLayouter13" width="min" layoutDirection="leftToRight">
|
|
<LAYOUTNODE name="customerAddress" x="0cm" width="min" length="min" anchorY="1" bgColor="#ccffff" layoutDirection="leftToRight" floatingBehavior="enclosed">
|
|
<LAYOUTNODE name="Layout Node14" width=".2cm" length="min" swapX="true"/>
|
|
<LAYOUTNODE name="Layout Node15" width="min" length="min" alignment="near" fontSize="9">
|
|
<LAYOUTNODE name="Layout Node16" width="0.2cm" length="1" layoutDirection="leftToRight"/>
|
|
<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("<<<")+"-"+x.sec_cliente.format("&&&&&&")}}"/>
|
|
</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()>0" width="width("M")*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="{{"Celular: "+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="{{"Telefono: "+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="{{"Vendedor: "+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="{{"RNC o CEDULA: "+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="{{"Factura No.: "+x.factura.format("&&&&&&&")}}"/>
|
|
<rtl:input-variable name="condicion.descrip" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBox74_2" alignment="baseline" baselineType="leftleft" text="{{"Condiciones: "+condicion.descrip.trim()}}"/>
|
|
<rtl:input-variable name="x.fecha_factura" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBox32_1" alignment="baseline" baselineType="leftleft" text="{{"Fecha Factura: "+x.fecha_factura.value}}"/>
|
|
<rtl:input-variable name="x.orden" type="FGLNumeric" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBox36_1" alignment="baseline" baselineType="leftleft" text="{{"Orden: "+x.orden.format("&&&&&&")}}"/>
|
|
<rtl:input-variable name="pcotizacion" type="FGLNumeric" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBox" floatingBehavior="enclosed" text="{{"Cotizacion: "+pcotizacion.format("&&&&&&")}}"/>
|
|
<rtl:input-variable name="chventas" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDWRAPBOX name="WordWrapBox5_1" width="width("M")*20" floatingBehavior="enclosed" text="{{"Moneda: "+chventas.trim()}}"/>
|
|
<rtl:input-variable name="descripcion_bodega" type="FGLString" expectedLocation="expectedAhead"/>
|
|
<WORDWRAPBOX name="WordWrapBox7_1" width="width("M")*20" floatingBehavior="enclosed" text="{{"Almacen: "+descripcion_bodega.trim()}}"/>
|
|
<rtl:input-variable name="xconduce_almacen" type="FGLNumeric" expectedLocation="expectedAhead"/>
|
|
<WORDBOX name="WordBox104_1" floatingBehavior="enclosed" text="{{"Salida: "+xconduce_almacen.format("&&&&&&&&")}}"/>
|
|
</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="WordBox95" alignment="baseline" floatingBehavior="enclosed" text="%Descuento"/>
|
|
<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("&&&")+"-"+z.cod_grupo.format("&&&&")+"-"+z.cod_tipo.format("&&&&")+"-"+z.cod_sec.format("&&&&&&")}}"/>
|
|
<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("###,###.####")}}"/>
|
|
<WORDBOX name="WordBox61" width="1.cm" alignment="baseline" baselineType="leftleft" text=""/>
|
|
<rtl:input-variable name="z.cantidad_2" type="FGLNumeric" expectedLocation="expectedHere"/>
|
|
<WORDBOX name="WordBox96" alignment="baseline" floatingBehavior="enclosed" text="{{z.cantidad_2.format("###.##")}}"/>
|
|
<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("###,###.##")}}"/>
|
|
<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("###,###.##")}}"/>
|
|
</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>1?"USD$ ":"RD$ ")+x.sub_total.format("###,###,###.##")}}"/>
|
|
<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>1?"USD$ ":"RD$ ")+x.desc_valor.format("###,###,###,###.##")}}"/>
|
|
<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>1?"USD$ ":"RD$ ")+x.itbi.format("###,###,###.##")}}"/>
|
|
<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>1?"USD$ ":"RD$ ")+x.total_fact.format("###,###,###.##")}}"/>
|
|
<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="{{"data:image/jpg;base64,"+imagen}}" intendedResolution="100"/>
|
|
<WORDBOX name="WordBox107_1" width="4cm" length="2cm" floatingBehavior="enclosed" text="{{"FACTURADO POR "}}"/>
|
|
</LAYOUTNODE>
|
|
<LAYOUTNODE name="OBSERVACIONES" width="min" length="min">
|
|
<rtl:input-variable name="observacion" type="FGLString" expectedLocation="expectedBefore"/>
|
|
<WORDWRAPBOX name="WordWrapBox3_1" width="width("M")*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>1" floatingBehavior="enclosed" text="Realizar el pago con la tasa del día"/>
|
|
</LAYOUTNODE>
|
|
</MINIPAGE>
|
|
</rtl:match>
|
|
</PXML>
|
|
</rtl:stylesheet>
|
|
</report:Report>
|