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

100 lines
11 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" version="3.01">
<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="../ccdir/ccprrp048.rdd" RWFglReportName="reporte43"/>
<rtl:stylesheet>
<PXML>
<rtl:match nameConstraint="Report">
<MINIPAGE name="Page root" width="max" length="max">
<LAYOUTNODE name="Encabezado" width="min" length="min" fontBold="true" layoutDirection="topToBottom" port="anyPageHeader" floatingBehavior="enclosed">
<MINIPAGE name="MiniPage3_1" width="15" length="540" layoutDirection="leftToRight">
<WORDBOX name="WordBox44" width="3.5cm" alignment="baseline" floatingBehavior="enclosed" text="ccprrp048"/>
<rtl:input-variable name="p_companias.nombre" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="p_companias.nombre Value1" width="width(&quot;M&quot;)*32" alignment="center" floatingBehavior="enclosed" text="{{p_companias.nombre}}" textAlignment="center"/>
<WORDBOX name="WordBox45" width="3.2cm" floatingBehavior="enclosed" textAlignment="right" text="PAGINA NO."/>
<PAGENOBOX name="PageNoBox2" width="1cm" floatingBehavior="enclosed"/>
</MINIPAGE>
<LAYOUTNODE name="Encabezado2" width="min" length="min" fontBold="true" layoutDirection="leftToRight" floatingBehavior="enclosed">
<rtl:input-variable name="nombre_mes" type="FGLString" expectedLocation="expectedAhead"/>
<rtl:input-variable name="p_ano" type="FGLNumeric" expectedLocation="expectedAhead"/>
<WORDBOX name="nombre_mes Value" alignment="baseline" floatingBehavior="enclosed" text="{{nombre_mes.trim()+&quot; Del &quot;+p_ano}}"/>
<rtl:input-variable name="x.str_reporte" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="x.str_reporte Value" width="width(&quot;M&quot;)*30" floatingBehavior="enclosed" text="{{x.str_reporte}}" textAlignment="center"/>
<rtl:input-variable name="hora" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="hora Value" floatingBehavior="enclosed" textAlignment="right" text="{{hora.trim()}}"/>
</LAYOUTNODE>
<LAYOUTNODE name="ENCABEZADO Detalle" width="min" length="min" fontSize="8" fontBold="true" layoutDirection="leftToRight" floatingBehavior="enclosed" roundedCorners="true" borderWidth="1" borderStyle="solid">
<WORDBOX name="WordBox3" floatingBehavior="enclosed" text="FECHA"/>
<WORDBOX name="WordBox4" width="1cm" floatingBehavior="enclosed" text=""/>
<WORDBOX name="WordBox5" floatingBehavior="enclosed" text="RECIBO P"/>
<WORDBOX name="WordBox6" width="1cm" alignment="baseline" floatingBehavior="enclosed" text=""/>
<WORDWRAPBOX name="WordWrapBox" width="width(&quot;M&quot;)*10" alignment="baseline" floatingBehavior="enclosed" text="COTIZACION O FACTURA"/>
<WORDBOX name="WordBox27" width=".5cm" alignment="baseline" floatingBehavior="enclosed"/>
<WORDBOX name="WordBox47" width="4cm" alignment="baseline" floatingBehavior="enclosed" text="CLIENTE"/>
<WORDBOX name="WordBox27_1" width=".5cm" alignment="baseline" floatingBehavior="enclosed"/>
<WORDBOX name="WordBox7" floatingBehavior="enclosed" text="VALOR ORIG"/>
<WORDBOX name="WordBox8" width=".5cm" floatingBehavior="enclosed" text=""/>
<WORDBOX name="WordBox9" floatingBehavior="enclosed" text="VALOR COMISION"/>
<WORDBOX name="WordBox10" width="1cm" floatingBehavior="enclosed" text=""/>
<WORDBOX name="WordBox13" floatingBehavior="enclosed" text="PORCIENTO"/>
</LAYOUTNODE>
</LAYOUTNODE>
<rtl:match nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<LAYOUTNODE name="Supervisor" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed">
<rtl:input-variable name="x.sec_vend" type="FGLNumeric" expectedLocation="expectedAhead"/>
<rtl:input-variable name="x.codigo_supervisor" type="FGLNumeric" expectedLocation="expectedAhead"/>
<rtl:input-variable name="x.nombre_supervisor" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="x.nombre_supervisor Value" rtl:condition="x.sec_vend&gt;0" width="width(&quot;M&quot;)*30" floatingBehavior="enclosed" text="{{&quot;(&quot;+x.codigo_supervisor.format(&quot;&amp;&amp;&amp;&amp;&quot;)+&quot;)&quot;+x.nombre_supervisor}}"/>
</LAYOUTNODE>
<rtl:match nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<LAYOUTNODE name="Vendedor" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed">
<rtl:input-variable name="x.sec_vend" type="FGLNumeric" expectedLocation="expectedAhead"/>
<DECIMALFORMATBOX name="x.sec_vend Value" width="3cm" anchorX="1" floatingBehavior="enclosed" textAlignment="left" format="-----#" value="{{x.sec_vend}}"/>
<rtl:input-variable name="x.nombre_vendedor" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="x.nombre_vendedor Value" width="width(&quot;M&quot;)*30" floatingBehavior="enclosed" text="{{x.nombre_vendedor}}"/>
</LAYOUTNODE>
<rtl:match nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="table" width="min" length="min" fontSize="8" layoutDirection="leftToRight">
<rtl:input-variable name="x.fecha" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="x.fecha Value" width="2cm" floatingBehavior="enclosed" text="{{x.fecha}}"/>
<rtl:input-variable name="x.documento" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.documento Value" width="2cm" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="----------#" value="{{x.documento}}"/>
<rtl:input-variable name="x.tipo_doc" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="x.tipo_doc Value" width="1cm" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="{{x.tipo_doc}}"/>
<rtl:input-variable name="x.cotizacion_no" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.cotizacion_no Value" width="2cm" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="----------#" value="{{x.cotizacion_no}}"/>
<rtl:input-variable name="x.nombre_cliente" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="x.nombre_cliente Value" width="width(&quot;M&quot;)*20" alignment="baseline" floatingBehavior="enclosed" text="{{x.nombre_cliente}}" textAlignment="center"/>
<rtl:input-variable name="x.valor_orig" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.valor_orig Value" width="2.5cm" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{x.valor_orig}}"/>
<rtl:input-variable name="x.comision_vend" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.comision_vend Value" width="2cm" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="--,---,--&amp;.&amp;&amp;" value="{{x.comision_vend}}"/>
<rtl:input-variable name="x.porc_cobros_vend" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.porc_cobros_vend Value" width="2cm" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="--,---,--&amp;.&amp;&amp;&amp;&amp;" value="{{x.porc_cobros_vend}}"/>
</MINIPAGE>
</rtl:match>
<LAYOUTNODE name="Total Vendedor" width="min" length="max" fontBold="true" layoutDirection="leftToRight" floatingBehavior="enclosed" roundedCorners="true" borderWidth="1" borderStyle="solid">
<WORDBOX name="WordBox46" width="10cm" floatingBehavior="enclosed" text="TOTAL VENDEDOR" roundedCorners="true" borderWidth="1" borderStyle="solid"/>
<rtl:input-variable name="t_valor_vendedor" type="FGLNumeric" expectedLocation="expectedBefore"/>
<DECIMALFORMATBOX name="t_valor_vendedor Value" width="3cm" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_valor_vendedor}}"/>
</LAYOUTNODE>
</rtl:match>
<LAYOUTNODE name="Total Supervisor" width="min" length="max" fontBold="true" layoutDirection="leftToRight" floatingBehavior="enclosed" roundedCorners="true" borderWidth="1" borderStyle="solid">
<rtl:input-variable name="x.sec_vend" type="FGLNumeric" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox" rtl:condition="x.sec_vend&gt;0" width="10cm" floatingBehavior="enclosed" text="TOTAL COMISION"/>
<rtl:input-variable name="t_valor_supervisor" type="FGLNumeric" expectedLocation="expectedBefore"/>
<DECIMALFORMATBOX name="t_valor_supervisor Value" width="3cm" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_valor_supervisor}}"/>
</LAYOUTNODE>
</rtl:match>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>