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

138 lines
16 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="letterwidth" RWPageLength="letterlength" RWLeftMargin="0.5inch" RWTopMargin="0.5inch" RWRightMargin="0.5inch" RWBottomMargin="0.5inch">
<report:FormatList>
<report:Format-SVG/>
<report:Format-PDF/>
<report:Format-image/>
</report:FormatList>
</report:Settings>
<report:Data RWDataLocation="../vedir/veprrp051.rdd" RWFglReportName="ventasClientesDetalle"/>
<report:Conflicts/>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report">
<MINIPAGE name="Page Root" width="max" length="min" layoutDirection="topToBottom" swapX="false">
<LAYOUTNODE name="Page Header" width="max" length="min" port="anyPageHeader">
<MINIPAGE name="StripeLayouter3" width="min" length="max" layoutDirection="leftToRight" swapX="false">
<rtl:input-variable name="p_companias.nombre" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="Report Title" x="0" y="max/2" anchorX="0" anchorY="0.5" alignment="baseline" fontSize="25" layoutDirection="topToBottom" swapX="false" baselineType="leftleft" floatingBehavior="enclosed" text="{{p_companias.nombre}}"/>
<PAGENOBOX name="PageNoBox" x="1.23857" y="max" anchorX="0" anchorY="1" alignment="baseline" layoutDirection="topToBottom" swapX="false" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="right"/>
<WORDBOX name="WordBox6" x="1.23857" y="max-90" width="74.0337" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" text="PAGINA NO"/>
<WORDBOX name="WordBox10" alignment="baseline" baselineType="leftleft" text="{{hora}}"/>
</MINIPAGE>
<MINIPAGE name="DETALLE" width="min" length="max" layoutDirection="leftToRight" swapX="false">
<WORDBOX name="WordBox23" width="150" alignment="baseline" fontSize="10" fontBold="true" baselineType="leftleft" text="{{&quot;FECHA INICIAL &quot;+fecha_inicial+&quot; HASTA &quot;+fecha_final}}"/>
<WORDWRAPBOX name="WordWrapBox1" width="width(&quot;M&quot;)*25" alignment="baseline" fontBold="true" baselineType="leftleft" text="INFORME DE VENTAS POR CLIENTES"/>
</MINIPAGE>
<MINIPAGE name="Separator" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight" swapX="false"/>
<MINIPAGE name="ENCABEZADO DETALLE" width="min" length="max" fontSize="8" layoutDirection="leftToRight" swapX="false">
<WORDBOX name="WordBox14" alignment="baseline" baselineType="leftleft" text="PRODUCTOS"/>
<WORDBOX name="WordBox15" width="200" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox16" alignment="baseline" baselineType="leftleft" text="CANTIDAD"/>
<WORDBOX name="WordBox17" width="20" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox18" alignment="baseline" baselineType="leftleft" text="VALOR"/>
<WORDBOX name="WordBox19" width="10" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox20" alignment="baseline" baselineType="leftleft" text="CANT. DEV"/>
<WORDBOX name="WordBox21" width="10" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox22" alignment="baseline" baselineType="leftleft" text="VALOR DEV"/>
<WORDBOX name="WordBox38" width="10" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox39" alignment="baseline" baselineType="leftleft" text="CANT. NETA"/>
<WORDBOX name="WordBox41" width="15" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox43" alignment="baseline" baselineType="leftleft" text="VALOR NETO"/>
<MINIPAGE name="Separator1" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight" swapX="false"/>
</MINIPAGE>
</LAYOUTNODE>
<LAYOUTNODE name="SEPARACION" width="min" length="min">
<MINIPAGE name="Separator2" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight" swapX="false"/>
</LAYOUTNODE>
<rtl:match name="Group sec_vend" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:match name="Group ventas" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<LAYOUTNODE name="ENCABEZADO VENTAS" width="min" length="min" alignment="near">
<rtl:input-variable name="x.descripcion_v" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox24" alignment="baseline" fontSize="12" fontBold="true" baselineType="leftleft" text="{{x.descripcion_v}}"/>
<WORDBOX name="Spacer1" alignment="baseline" layoutDirection="topToBottom" swapX="false" baselineType="leftleft" port="itemSeparator" text=" "/>
<LAYOUTNODE name="SEPARACION2" width="min" length="min">
<MINIPAGE name="Separator4" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight" swapX="false"/>
<LAYOUTNODE name="ENCABEZADO GRUPO" width="min" length="min" alignment="near">
<WORDBOX name="Spacer2" alignment="baseline" layoutDirection="topToBottom" swapX="false" baselineType="leftleft" port="itemSeparator" text=" "/>
</LAYOUTNODE>
</LAYOUTNODE>
<rtl:match name="Group cliente" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="Table Row" width="min" length="min" alignment="near" fontSize="8" layoutDirection="leftToRight" swapX="false">
<rtl:input-variable name="x.codigo" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="pcodigo Value" alignment="baseline" baselineType="leftleft" text="{{x.codigo}}"/>
<WORDBOX name="WordBox29" width="10" alignment="baseline" baselineType="leftleft" text=""/>
<rtl:input-variable name="x.descrip_esp" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="x.descrip_esp Value" width="150" alignment="baseline" baselineType="leftleft" text="{{x.descrip_esp.value}}"/>
<WORDBOX name="WordBox31" width="15" alignment="baseline" baselineType="leftleft" text=""/>
<rtl:input-variable name="x.unidad_acum" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox80" width="50" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{x.unidad_acum.format(&quot;###,###.##&quot;)}}"/>
<WORDBOX name="WordBox32" width="7" alignment="baseline" baselineType="leftleft" text=""/>
<rtl:input-variable name="x.valor_acum" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox25" width="50" alignment="baseline" baselineType="rightright" textAlignment="right" text="{{x.valor_acum.format(&quot;###,###,###.##&quot;)}}"/>
<WORDBOX name="WordBox30" width="15" alignment="baseline" baselineType="leftleft" text=""/>
<rtl:input-variable name="x.cantidad_dev" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox81" width="40" alignment="baseline" baselineType="rightright" textAlignment="right" text="{{x.cantidad_dev.format(&quot;###,###.##&quot;)}}"/>
<WORDBOX name="WordBox33" width="13" alignment="baseline" baselineType="leftleft" text=""/>
<rtl:input-variable name="x.valor_dev" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox35" width="50" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{x.valor_dev.format(&quot;###,###,###.##&quot;)}}"/>
<WORDBOX name="WordBox34" width="15" alignment="baseline" baselineType="leftleft" text=""/>
<rtl:input-variable name="x.cantidad_dev" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox82" width="40" alignment="baseline" color="{{x.cantidad_dev.value&lt;0?Color.RED:Color.BLACK}}" baselineType="leftleft" text="{{cantidadReal.format(&quot;(((,(##,###.##)&quot;)}}"/>
<WORDBOX name="WordBox36" width="10" alignment="baseline" baselineType="leftleft" text=""/>
<rtl:input-variable name="x.valor_dev" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox37" width="40" alignment="baseline" color="{{x.valor_dev&lt;0?Color.RED:Color.BLACK}}" baselineType="leftleft" text="{{valorReal.format(&quot;(((,((#,###.##)&quot;)}}"/>
</MINIPAGE>
</rtl:match>
<LAYOUTNODE name="CLIENTE" width="min" length="min">
<rtl:input-variable name="x.cliente" type="FGLString" expectedLocation="expectedBefore"/>
<rtl:input-variable name="x.nombre" type="FGLString" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox79" length="30" alignment="baseline" baselineType="leftleft" text="{{x.cliente.trim()+&quot; &quot;+x.nombre.trim()}}"/>
</LAYOUTNODE>
<LAYOUTNODE name="TOTAL CLIENTE" width="min" length="min" fontSize="8" fontBold="true" layoutDirection="leftToRight">
<WORDBOX name="WordBox83" width="200" alignment="baseline" baselineType="leftleft" text="TOTAL CLIENTE"/>
<WORDBOX name="WordBox84" width="50" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox85" width="40" alignment="baseline" baselineType="leftleft" text="{{ccantidad_v.format(&quot;###,###.##&quot;)}}"/>
<WORDBOX name="WordBox86" width="17" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox87" width="40" alignment="baseline" baselineType="leftleft" text="{{cvalor_dev.format(&quot;###,###,###.##&quot;)}}"/>
<WORDBOX name="WordBox88" width="20" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox89" width="40" alignment="baseline" baselineType="leftleft" text="{{ccantidad_dev.format(&quot;###,###.##&quot;)}}"/>
<WORDBOX name="WordBox90" width="17" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox91" width="40" alignment="baseline" baselineType="leftleft" text="{{ccantidad_dev.format(&quot;###,###,###.##&quot;)}}"/>
<WORDBOX name="WordBox92" width="7" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox93" width="40" alignment="baseline" baselineType="leftleft" text="{{ccantidad_neta.format(&quot;###,###,###.##&quot;)}}"/>
<WORDBOX name="WordBox94" width="25" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox96" width="40" alignment="baseline" baselineType="leftleft" text="{{cvalor_neto.format(&quot;###,###,###.##&quot;)}}"/>
</LAYOUTNODE>
</rtl:match>
</LAYOUTNODE>
</rtl:match>
<LAYOUTNODE name="VENDEDOR" width="min" length="min" alignment="near">
<rtl:input-variable name="x.vendedor" type="FGLString" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox44" alignment="baseline" fontSize="12" fontBold="true" baselineType="leftleft" text="{{x.vendedor}}"/>
<WORDBOX name="Spacer" alignment="baseline" layoutDirection="topToBottom" swapX="false" baselineType="leftleft" port="itemSeparator" text=" "/>
</LAYOUTNODE>
</rtl:match>
<LAYOUTNODE name="TOTAL GENERAL" width="min" length="min" fontSize="8" fontBold="true" layoutDirection="leftToRight">
<WORDBOX name="WordBox100" width="200" alignment="baseline" baselineType="leftleft" text="{{&quot;TOTAL GENERAL &quot;}}"/>
<WORDBOX name="WordBox101" width="50" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox102" width="40" alignment="center" baselineType="leftright" textAlignment="right" text="{{g_g_g_unidad_acum.format(&quot;###,###.##&quot;)}}"/>
<WORDBOX name="WordBox103" width="17" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox104" width="40" alignment="center" baselineType="leftright" textAlignment="right" text="{{g_g_g_valor_acum.format(&quot;###,###,###.##&quot;)}}"/>
<WORDBOX name="WordBox105" width="20" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox106" width="40" alignment="center" baselineType="leftright" textAlignment="right" text="{{t1_cantidad_dev.format(&quot;###,###.##&quot;)}}"/>
<WORDBOX name="WordBox107" width="17" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox108" width="40" alignment="center" baselineType="leftright" textAlignment="right" text="{{t1_valor_dev.format(&quot;###,###,###.##&quot;)}}"/>
<WORDBOX name="WordBox109" width="7" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox110" width="40" alignment="center" baselineType="leftright" textAlignment="right" text="{{g_g_g_cantidad_vend.format(&quot;###,###.##&quot;)}}"/>
<WORDBOX name="WordBox111" width="25" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox112" width="40" alignment="center" baselineType="leftright" textAlignment="right" text="{{g_g_g_valor_vend.format(&quot;###,###,###.##&quot;)}}"/>
</LAYOUTNODE>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>