This commit is contained in:
Abel López
2026-10-16 16:50:16 -04:00
23 changed files with 2041 additions and 76 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
END RECORD,
nombre_cia STRING
FUNCTION impresion(pnumoc)
FUNCTION impresion_oc(pnumoc)
DEFINE pnumoc,I INT
DECLARE busca_orden CURSOR FOR
+1 -1
View File
@@ -177,7 +177,7 @@ END RECORD
" ORDEN ECOMMERCE ",orden_externa USING "&&&&&&&"
INPUT ARRAY detalle FROM sdetalle.* ATTRIBUTE(WITHOUT DEFAULTS)
ON ACTION impresion ATTRIBUTE(TEXT="Orden",IMAGE="printer")
CALL impresion(pnum_oc)
CALL impresion_oc(pnum_oc)
ON ACTION etiqueta ATTRIBUTE(TEXT="Label",IMAGE="fa-tag")
LET datos.celular = orden.celular
LET datos.cliente = orden.nombre_envio
+101
View File
@@ -0,0 +1,101 @@
<?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="letterlength" RWPageLength="letterwidth" RWLeftMargin="0.5cm" RWTopMargin="0.5cm" RWRightMargin="0.5cm" RWBottomMargin="0.5cm">
<report:FormatList>
<report:Format-SVG/>
<report:Format-PDF/>
<report:Format-image/>
</report:FormatList>
</report:Settings>
<report:Data RWDataLocation="../ipdir/ipprrp014.rdd" RWFglReportName="estadistica"/>
<report:Conflicts/>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report">
<MINIPAGE name="Page Root" width="max" length="max" alignment="center">
<LAYOUTNODE name="Page Header" width="max" length="min" port="anyPageHeader">
<MINIPAGE name="StripeLayouter3" width="min" length="max" layoutDirection="leftToRight">
<PAGENOBOX name="PageNoBox" x="1.23857" y="max" anchorX="0" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="right"/>
<WORDBOX name="WordBox4" floatingBehavior="enclosed" text="IPPRRP014"/>
<WORDBOX name="WordBox5" x="1.2386" y="453.061" anchorX="0" anchorY="0" floatingBehavior="enclosed" text="PAGINA"/>
<rtl:input-variable name="p_companias.nombre" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDWRAPBOX name="p_companias.nombre Value" x="1.2386" y="184.611" width="width(&quot;M&quot;)*20" anchorX="0" anchorY="0" floatingBehavior="enclosed" text="{{p_companias.nombre}}"/>
</MINIPAGE>
<MINIPAGE name="MiniPage7" width="1.5cm" length="max" fontBold="true" layoutDirection="leftToRight">
<WORDBOX name="WordBox9" x="5.539" y="40.8204" anchorX="0" anchorY="0" floatingBehavior="enclosed" text="SISTEMA DE INVENTARIO DE PRODUCTOS TERMINADOS"/>
<WORDBOX name="WordBox11" x="22.5047" y="143.465" anchorX="0" anchorY="0" floatingBehavior="enclosed" text="DIAS DE INVENTARIO"/>
<rtl:input-variable name="fecha" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox23" x="5.539" y="437.976" anchorX="0" anchorY="0" floatingBehavior="enclosed" text="{{&quot;FECHA: &quot;+fecha.value}}"/>
<rtl:input-variable name="hora" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox24" x="27.0497" y="437.976" anchorX="0" anchorY="0" floatingBehavior="enclosed" text="{{&quot;HORA: &quot;+hora.value}}"/>
</MINIPAGE>
<MINIPAGE name="Table Header" width="min" length="max" alignment="near" fontBold="true" layoutDirection="leftToRight">
<WORDBOX name="Spacer" alignment="baseline" baselineType="leftleft" port="itemSeparator" text=" "/>
<rtl:input-variable name="fecha1" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox" width="6cm" floatingBehavior="enclosed" text="{{&quot;Fecha Inicial: &quot;+fecha1.value}}"/>
<rtl:input-variable name="fecha2" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox40" width="4cm" floatingBehavior="enclosed" textAlignment="right" text="{{&quot;Fecha Final: &quot;+fecha2.value}}"/>
<MINIPAGE name="Separator1" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight"/>
<rtl:input-variable name="dias1" type="FGLNumeric" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox45" alignment="near" floatingBehavior="enclosed" text="{{&quot;DIAS PERIODO: &quot;+dias1}}"/>
<LAYOUTNODE name="LayoutNode3" width="min" length="max" alignment="near" fontSize="8" fontBold="true" layoutDirection="leftToRight" floatingBehavior="free">
<WORDBOX name="WordBox13" floatingBehavior="enclosed" text="CODIGO"/>
<WORDBOX name="WordBox14" width="1cm" floatingBehavior="enclosed" text=""/>
<WORDBOX name="WordBox15" floatingBehavior="enclosed" text="DESCRIPCION"/>
<WORDBOX name="WordBox16" width="3cm" alignment="center" floatingBehavior="enclosed" text=""/>
<WORDBOX name="WordBox17" alignment="baseline" floatingBehavior="enclosed" text="VENTAS DEL PERIODO"/>
<WORDBOX name="WordBox18" width="0.6cm" floatingBehavior="enclosed" text=""/>
<WORDBOX name="WordBox19" floatingBehavior="enclosed" text="EXISTENCIA"/>
<WORDBOX name="WordBox33_2" width="0.5cm" alignment="center" floatingBehavior="enclosed" text=""/>
<WORDBOX name="WordBox34" floatingBehavior="enclosed" text="DIAS INV"/>
<WORDBOX name="WordBox36" width="0.5cm" floatingBehavior="enclosed" text=""/>
<WORDBOX name="WordBox37" floatingBehavior="enclosed" text="FECHA VENTA"/>
<WORDBOX name="WordBox42" width="2cm" floatingBehavior="enclosed" textAlignment="right" text="FECHA C"/>
<WORDBOX name="WordBox43" width="2cm" floatingBehavior="enclosed" textAlignment="right" text="CANTIDAD C."/>
<WORDBOX name="WordBox44" width="2cm" floatingBehavior="enclosed" textAlignment="right" text="ROTACION"/>
</LAYOUTNODE>
<MINIPAGE name="Separator" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight"/>
</MINIPAGE>
</LAYOUTNODE>
<rtl:match name="FirstPageHeader" nameConstraint="FirstPageHeader" minOccurs="0" maxOccurs="1"/>
<rtl:match name="Group cod_grupo" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<LAYOUTNODE name="DETALLE" width="min" length="max" alignment="near" fontSize="7" layoutDirection="leftToRight" floatingBehavior="enclosed">
<rtl:input-variable name="x.cod_n" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="x.cod_grupo" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="x.cod_tipo" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="x.cod_sec" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox18_1" alignment="baseline" baselineType="leftleft" text="{{x.cod_n.format(&quot;&amp;&amp;&amp;&amp;&quot;)+&quot;-&quot;+x.cod_grupo.format(&quot;&amp;&amp;&amp;&amp;&amp;&quot;)+&quot;-&quot;+x.cod_tipo.format(&quot;&amp;&amp;&amp;&amp;&amp;&amp;&quot;)+&quot;-&quot;+x.cod_sec.format(&quot;&amp;&amp;&amp;&amp;&amp;&amp;&quot;)}}"/>
<WORDBOX name="WordBox19_1" width=".3cm" alignment="baseline" baselineType="leftleft"/>
<rtl:input-variable name="x.descrip_esp" type="FGLString" expectedLocation="expectedHere"/>
<rtl:input-variable name="x.unidad_med" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox" width="width(&quot;M&quot;)*25" alignment="baseline" floatingBehavior="enclosed" text="{{x.descrip_esp.trim()+&quot; &quot;+x.unidad_med.trim()}}"/>
<WORDBOX name="WordBox41" width="1cm" alignment="baseline" floatingBehavior="enclosed" text=""/>
<rtl:input-variable name="x.consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox29" width="1.5cm" alignment="baseline" floatingBehavior="enclosed" text="{{x.consumo.format(&quot;####.####&quot;)}}"/>
<rtl:input-variable name="x.existe" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox31_1" width="2cm" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{x.existe.format(&quot;###,###.####&quot;)}}"/>
<WORDBOX name="WordBox31_2" width="1cm" floatingBehavior="enclosed" text=""/>
<rtl:input-variable name="x.dias" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox32" width="1cm" color="{{x.dias&gt;200?Color.RED:Color.BLACK}}" floatingBehavior="enclosed" text="{{x.dias.format(&quot;###,###&quot;)}}"/>
<WORDBOX name="WordBox38" width="1cm" floatingBehavior="enclosed" text=""/>
<rtl:input-variable name="x.fecha_v" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox39" width="1.5cm" floatingBehavior="enclosed" text="{{x.fecha_v}}"/>
<rtl:input-variable name="x.fecha_oc" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="fecha_oc Value" width="1.5cm" floatingBehavior="enclosed" textAlignment="right" text="{{x.fecha_oc}}"/>
<rtl:input-variable name="x.tcantidad" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="tcantidad Value" width="1.5cm" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="----------#.####" value="{{x.tcantidad}}"/>
<rtl:input-variable name="rot_anual" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="rot_anual Value" class="grwNumericValue" width="3cm" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="{{&quot;--,--&amp;.&amp;&amp;&quot;}}" value="{{rot_anual}}"/>
</LAYOUTNODE>
</rtl:match>
</rtl:match>
<MINIPAGE name="TOTALES" width="min" length="min">
<rtl:input-variable name="total_registros" type="FGLNumeric" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox33_1" floatingBehavior="enclosed" text="{{&quot;TOTAL ARTICULOS IMPRESOS: &quot;+total_registros.format(&quot;&gt;&gt;&gt;&gt;&quot;)}}"/>
</MINIPAGE>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>
+146
View File
@@ -0,0 +1,146 @@
<?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.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="../ipdir/ipprrp047.rdd" RWFglReportName="opera"/>
<report:Conflicts/>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report">
<MINIPAGE name="Page Root" width="max" length="max" alignment="near">
<LAYOUTNODE name="Cabeceras" width="min" length="min" fontSize="8" fontBold="true" port="anyPageHeader" floatingBehavior="enclosed">
<LAYOUTNODE name="Enc.Principal" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox" width="38.5" floatingBehavior="enclosed" text="ipprrp047"/>
<rtl:input-variable name="p_companias.nombre" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="p_companias.nombre Value" width="459.302" floatingBehavior="enclosed" text="{{p_companias.nombre}}" textAlignment="center"/>
<WORDBOX name="WordBox3" floatingBehavior="enclosed" text="Pagina: "/>
<PAGENOBOX name="PageNoBox" width="9.5" floatingBehavior="enclosed"/>
</LAYOUTNODE>
<LAYOUTNODE name="Enc.Secundario" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.5" borderStyle="solid">
<rtl:input-variable name="rango_fecha" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="rango_fecha Value" width="width(&quot;M&quot;)*20" floatingBehavior="enclosed" text="{{rango_fecha}}"/>
<WORDBOX name="WordBox5" width="342.328" alignment="near" floatingBehavior="enclosed" text=" Reporte productos terminados"/>
<rtl:input-variable name="fecha_reporte" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="fecha_reporte Value" alignment="near" floatingBehavior="enclosed" text="{{fecha_reporte}}"/>
</LAYOUTNODE>
<MINIPAGE name="Titulo1" width="9.2883" length="537.324" fontSize="7" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox2" width="260.309" alignment="center" floatingBehavior="enclosed" text="Producto"/>
<WORDBOX name="WordBox4_1" width="33.3244" alignment="baseline" floatingBehavior="enclosed" text="Cantidad"/>
<WORDBOX name="WordBox4_2" width="32.3514" alignment="baseline" floatingBehavior="enclosed" text="Material"/>
<WORDBOX name="WordBox4_3" width="40.1171" length="10.2883" alignment="baseline" floatingBehavior="enclosed" text="V.material"/>
<WORDBOX name="WordBox4_4" width="35.495" length="10.2883" alignment="baseline" floatingBehavior="enclosed" text="Labor"/>
<WORDBOX name="WordBox4_5_1" width="37.566" length="10.2883" alignment="baseline" floatingBehavior="enclosed" text="V.labor"/>
<WORDBOX name="WordBox4_5" width="33.566" length="10.2883" alignment="baseline" floatingBehavior="enclosed" text="Gasto"/>
<WORDBOX name="WordBox4_6" width="38.3124" length="10.2883" alignment="near" floatingBehavior="enclosed" text="V.gasto"/>
<WORDBOX name="WordBox4" width="23.9461" length="8.89765" alignment="center" floatingBehavior="enclosed" text="V.Total"/>
</MINIPAGE>
</LAYOUTNODE>
<rtl:match name="Group cod_cia" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:match name="Group cod_mov" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="titulo_mov" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="titulo_mov Value" width="234" fontSize="6" fontBold="true" floatingBehavior="enclosed" text="{{titulo_mov}}"/>
<rtl:match name="Group departamento" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="x.departamento" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="x.departamento Value" width="233.5" fontSize="6" fontBold="true" floatingBehavior="enclosed" text="{{x.departamento}}"/>
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="Data" width="min" length="538.746" fontSize="5" layoutDirection="leftToRight">
<rtl:input-variable name="producto" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="producto Value" width="262.827" alignment="baseline" fontSize="5" floatingBehavior="enclosed" text="{{producto}}"/>
<rtl:input-variable name="x.consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.consumo Value" width="26.2623" anchorX="1" alignment="baseline" fontSize="5" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,-----&amp;.&amp;&amp;" value="{{x.consumo}}"/>
<rtl:input-variable name="x.material" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.material Value" width="30.7929" anchorX="1" alignment="baseline" fontSize="5" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{x.material}}"/>
<rtl:input-variable name="v_material" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="v_material Value" width="38.6108" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{v_material}}"/>
<rtl:input-variable name="x.labor" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.labor Value" width="27.0502" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{x.labor}}"/>
<rtl:input-variable name="v_labor" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="v_labor Value" width="39.0459" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{v_labor}}"/>
<rtl:input-variable name="x.gastos" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.gastos Value" width="34.2279" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{x.gastos}}"/>
<rtl:input-variable name="v_gasto" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="v_gasto Value" width="39.5104" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{v_gasto}}"/>
<rtl:input-variable name="total_costo_st" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_costo_st Value" width="37.0251" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$---,---,-&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{total_costo_st}}"/>
</MINIPAGE>
</rtl:match>
<MINIPAGE name="total_departamento" width="min" length="538.703" alignment="near" fontSize="5" fontBold="true" layoutDirection="leftToRight" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox6" width="262.382" length="5.95578" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Total departamento: "/>
<rtl:input-variable name="t_consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_consumo Value" width="25.9289" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_consumo}}"/>
<rtl:input-variable name="t_material" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_material Value" width="30.5858" length="6.5" anchorX="1" alignment="far" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_material}}"/>
<rtl:input-variable name="total_material" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_material Value" width="39.5148" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{total_material}}"/>
<rtl:input-variable name="t_labor" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_labor Value" width="26.5356" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_labor}}"/>
<rtl:input-variable name="total_labor" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_labor Value" width="39.0208" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{total_labor}}"/>
<rtl:input-variable name="t_gasto" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_gasto Value" width="34.3137" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_gasto}}"/>
<rtl:input-variable name="total_gastos" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_gastos Value" width="39.9497" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{total_gastos}}"/>
<rtl:input-variable name="total_valor_departamento" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_valor_departamento Value" width="36.7678" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{total_valor_departamento}}"/>
</MINIPAGE>
</rtl:match>
<MINIPAGE name="total_movimiento" width="min" length="538.287" fontSize="5" fontBold="true" layoutDirection="leftToRight" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox8" width="262.382" length="6.10193" floatingBehavior="enclosed" textAlignment="right" text="Total Movimiento: "/>
<rtl:input-variable name="t_m_consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_m_consumo Value" width="25.636" length="5.04545" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_m_consumo}}"/>
<rtl:input-variable name="t_m_material" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_m_material Value" width="30.6465" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_m_material}}"/>
<rtl:input-variable name="total_material_movimiento" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_material_movimiento Value" width="39.3683" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{total_material_movimiento}}"/>
<rtl:input-variable name="t_m_labor" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_m_labor Value" width="26.6821" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_m_labor}}"/>
<rtl:input-variable name="total_labor_movimiento" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_labor_movimiento Value" width="39.8267" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{total_labor_movimiento}}"/>
<rtl:input-variable name="t_m_gasto" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_m_gasto Value" width="33.7784" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_m_gasto}}"/>
<rtl:input-variable name="total_gastos_movimiento" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_gastos_movimiento Value" width="39.8916" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{total_gastos_movimiento}}"/>
<rtl:input-variable name="total_valor_movimiento" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_valor_movimiento Value" width="37.4142" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{total_valor_movimiento}}"/>
</MINIPAGE>
</rtl:match>
<LAYOUTNODE name="CiaNode" width="min" length="min" fontSize="5" fontBold="true" layoutDirection="leftToRight" floatingBehavior="enclosed">
<rtl:input-variable name="titulo_cia" type="FGLString" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox9" width="3.5inch" alignment="near" floatingBehavior="enclosed" textAlignment="right" text="{{&quot;TOTAL ORIGEN: &quot;+titulo_cia.trim()}}"/>
<rtl:input-variable name="t_consumo_cia" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_consumo_cia Value" class="grwNumericValue" width=".5inch" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_consumo_cia}}"/>
<rtl:input-variable name="t_material_cia" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_material_cia Value" class="grwNumericValue" width="1inch" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="--,---,---,---,--&amp;.&amp;&amp;" value="{{t_material_cia}}"/>
<rtl:input-variable name="t_labor_cia" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_labor_cia Value" class="grwNumericValue" width=".9inch" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_labor_cia}}"/>
<rtl:input-variable name="t_gasto_cia" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_gasto_cia Value" class="grwNumericValue" width=".5inch" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,--&amp;.&amp;&amp;" value="{{t_gasto_cia}}"/>
<rtl:input-variable name="t_general_cia" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_general_cia Value" class="grwNumericValue" width="1inch" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="--,---,---,---,--&amp;.&amp;&amp;" value="{{t_general_cia}}"/>
</LAYOUTNODE>
</rtl:match>
<rtl:match name="OnLastRow" nameConstraint="OnLastRow" minOccurs="0" maxOccurs="1">
<LAYOUTNODE name="totalgeneral" width="min" length="min" fontSize="5" fontBold="true" layoutDirection="leftToRight" floatingBehavior="enclosed" roundedCorners="true" borderStyle="solid">
<WORDBOX name="WordBox10" width="3.5inch" floatingBehavior="enclosed" textAlignment="right" text="TOTAL GENERAL"/>
<rtl:input-variable name="total_consumo_gral" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_consumo_gral Value" class="grwNumericValue" width=".55inch" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="###,##&amp;.&amp;&amp;" value="{{total_consumo_gral}}"/>
<rtl:input-variable name="total_material_gral" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_material_gral Value" class="grwNumericValue" width="70.3951" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="###,###,#&amp;.&amp;&amp;" value="{{total_material_gral}}"/>
<rtl:input-variable name="total_labor_gral" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_labor_gral Value" class="grwNumericValue" width="55.2863" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="###,##&amp;.&amp;&amp;" value="{{total_labor_gral}}"/>
<rtl:input-variable name="total_gastos_gral" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_gastos_gral Value" class="grwNumericValue" width="60.1079" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="###,##&amp;.&amp;&amp;" value="{{total_gastos_gral}}"/>
<rtl:input-variable name="total_valor_gral" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_valor_gral Value" class="grwNumericValue" width="43.7298" length="6" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="#,###,###,##&amp;.&amp;&amp;" value="{{total_valor_gral}}"/>
</LAYOUTNODE>
</rtl:match>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>
+93
View File
@@ -0,0 +1,93 @@
<?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="../ipdir/IPPRRP048.rdd" RWFglReportName="opera"/>
<report:Conflicts/>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report">
<MINIPAGE name="Page Root" width="max" length="max" alignment="near">
<LAYOUTNODE name="Cabeceras" width="min" length="min" fontSize="8" fontBold="true" port="anyPageHeader" floatingBehavior="enclosed">
<LAYOUTNODE name="Enc.Principal" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox" width="38.5" floatingBehavior="enclosed" text="ipprrp048"/>
<rtl:input-variable name="p_companias.nombre" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="p_companias.nombre Value" width="459.302" floatingBehavior="enclosed" text="{{p_companias.nombre}}" textAlignment="center"/>
<WORDBOX name="WordBox3" floatingBehavior="enclosed" text="Pagina: "/>
<PAGENOBOX name="PageNoBox" width="9.5" floatingBehavior="enclosed"/>
</LAYOUTNODE>
<LAYOUTNODE name="Enc.Secundario" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.5" borderStyle="solid">
<rtl:input-variable name="rango_fecha" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="rango_fecha Value" width="width(&quot;M&quot;)*20" floatingBehavior="enclosed" text="{{rango_fecha}}"/>
<WORDBOX name="WordBox5" width="342.328" alignment="near" floatingBehavior="enclosed" text=" Reporte productos terminados"/>
<rtl:input-variable name="fecha_reporte" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="fecha_reporte Value" alignment="near" floatingBehavior="enclosed" text="{{fecha_reporte}}"/>
</LAYOUTNODE>
<MINIPAGE name="Titulo1" width="9.2883" length="537.324" fontSize="7" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox2" width="233.809" alignment="center" floatingBehavior="enclosed" text="Producto"/>
<WORDBOX name="WordBox4_1" width="33.3244" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Cantidad"/>
<WORDBOX name="WordBox9" width="36" floatingBehavior="enclosed" textAlignment="right" text="UM"/>
<WORDBOX name="WordBox10" width="50.5" floatingBehavior="enclosed" textAlignment="right" text="F.conversion"/>
<WORDBOX name="WordBox10_1" width="45.5" floatingBehavior="enclosed" textAlignment="right" text="F.Adicional"/>
<WORDBOX name="WordBox11" width="64.5" floatingBehavior="enclosed" textAlignment="right" text="Mts. Adicionales"/>
</MINIPAGE>
</LAYOUTNODE>
<rtl:match name="Group cod_mov" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="titulo_mov" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="titulo_mov Value" width="233.5" alignment="baseline" fontSize="6" fontBold="true" floatingBehavior="enclosed" text="{{titulo_mov}}"/>
<rtl:match name="Group departamento" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="x.departamento" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="x.departamento Value" width="233.5" fontSize="6" fontBold="true" floatingBehavior="enclosed" text="{{x.departamento}}"/>
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="Data" width="min" length="538.746" fontSize="5" layoutDirection="leftToRight">
<rtl:input-variable name="producto" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="producto Value" width="233.327" alignment="baseline" fontSize="5" floatingBehavior="enclosed" text="{{producto}}"/>
<rtl:input-variable name="x.consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.consumo Value" width="33.7623" anchorX="1" alignment="baseline" fontSize="5" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,-----&amp;.&amp;&amp;" value="{{x.consumo}}"/>
<rtl:input-variable name="x.unidad_med" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="x.unidad_med Value" width="37.5" alignment="baseline" floatingBehavior="enclosed" text="{{x.unidad_med}}" textAlignment="right"/>
<rtl:input-variable name="x.factor_conv" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.factor_conv Value" width="49.5" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;&amp;&amp;&amp;" value="{{x.factor_conv}}"/>
<rtl:input-variable name="x.factor_ad" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.factor_ad Value" width="47" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;&amp;&amp;&amp;" value="{{x.factor_ad}}"/>
<rtl:input-variable name="x.mtsAdicionales" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.mtsAdicionales Value" width="61.5" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{x.mtsAdicionales}}"/>
</MINIPAGE>
</rtl:match>
<MINIPAGE name="total_departamento" width="min" length="538.703" alignment="near" fontSize="5" fontBold="true" layoutDirection="leftToRight" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox6" width="223.28" length="5.95578" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Total departamento: "/>
<rtl:input-variable name="t_consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_consumo Value" width="42.4289" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_consumo}}"/>
<LAYOUTNODE name="LayoutNode2" width="5.85786" length="153.997" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
<rtl:input-variable name="t_mtsAdicionales" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_mtsAdicionales Value" width="41.4645" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_mtsAdicionales}}"/>
</MINIPAGE>
</rtl:match>
<MINIPAGE name="total_movimiento" width="min" length="538.287" fontSize="5" fontBold="true" layoutDirection="leftToRight" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox8" width="224.542" length="6.10193" floatingBehavior="enclosed" textAlignment="right" text="Total Movimiento: "/>
<rtl:input-variable name="t_m_consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_m_consumo Value" width="41.636" length="5.04545" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_m_consumo}}"/>
<LAYOUTNODE name="LayoutNode1" width="5.28431" length="154.438" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
<rtl:input-variable name="t_m_mtsAdicionales" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_m_mtsAdicionales Value" width="39.9792" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_m_mtsAdicionales}}"/>
</MINIPAGE>
</rtl:match>
<MINIPAGE name="total_general" width="min" length="538.287" fontSize="5" fontBold="true" layoutDirection="leftToRight" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox13" width="223.28" length="6.10193" floatingBehavior="enclosed" textAlignment="right" text="Total General: "/>
<rtl:input-variable name="t_t_consumo" type="FGLNumeric" expectedLocation="expectedAhead"/>
<DECIMALFORMATBOX name="t_t_consumo Value" width="42.5" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_t_consumo}}"/>
<LAYOUTNODE name="LayoutNode" width="5.70476" length="154.964" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
<rtl:input-variable name="t_t_mtsAdicionales" type="FGLNumeric" expectedLocation="expectedAhead"/>
<DECIMALFORMATBOX name="t_t_mtsAdicionales Value" width="40.2628" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_t_mtsAdicionales}}"/>
</MINIPAGE>
</MINIPAGE>
<rtl:match name="OnLastRow" nameConstraint="OnLastRow" minOccurs="0" maxOccurs="1"/>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>
+118
View File
@@ -0,0 +1,118 @@
<?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.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="../ipdir/IPPRRP051.rdd" RWFglReportName="opera"/>
<report:Conflicts/>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report">
<MINIPAGE name="Page Root" width="max" length="max" alignment="near">
<LAYOUTNODE name="Cabeceras" width="min" length="min" fontSize="8" fontBold="true" port="anyPageHeader" floatingBehavior="enclosed">
<LAYOUTNODE name="Enc.Principal" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox" width="38.5" floatingBehavior="enclosed" text="ipprrp051"/>
<rtl:input-variable name="p_companias.nombre" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="p_companias.nombre Value" width="459.302" floatingBehavior="enclosed" text="{{p_companias.nombre}}" textAlignment="center"/>
<WORDBOX name="WordBox3" floatingBehavior="enclosed" text="Pagina: "/>
<PAGENOBOX name="PageNoBox" width="9.5" floatingBehavior="enclosed"/>
</LAYOUTNODE>
<LAYOUTNODE name="Enc.Secundario" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.5" borderStyle="solid">
<rtl:input-variable name="rango_fecha" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="rango_fecha Value" width="width(&quot;M&quot;)*20" floatingBehavior="enclosed" text="{{rango_fecha}}"/>
<WORDBOX name="WordBox5" width="342.328" alignment="near" floatingBehavior="enclosed" text=" Reporte productos terminados"/>
<rtl:input-variable name="fecha_reporte" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="fecha_reporte Value" alignment="near" floatingBehavior="enclosed" text="{{fecha_reporte}}"/>
</LAYOUTNODE>
<MINIPAGE name="Titulo1" width="9.2883" length="537.324" fontSize="7" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox2" width="233.809" alignment="center" floatingBehavior="enclosed" text="Producto"/>
<WORDBOX name="WordBox4_1" width="33.3244" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Cantidad"/>
<WORDBOX name="WordBox9" width="36" floatingBehavior="enclosed" textAlignment="right" text="UM"/>
<WORDBOX name="WordBox10" width="50.5" floatingBehavior="enclosed" textAlignment="right" text="F.conversion"/>
<WORDBOX name="WordBox10_1" width="45.5" floatingBehavior="enclosed" textAlignment="right" text="F.Adicional"/>
<WORDBOX name="WordBox11" width="64.5" floatingBehavior="enclosed" textAlignment="right" text="Mts. Adicionales"/>
</MINIPAGE>
</LAYOUTNODE>
<rtl:match name="Group cod_mov" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="titulo_mov" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="titulo_mov Value" width="233.5" alignment="baseline" fontSize="6" fontBold="true" floatingBehavior="enclosed" text="{{titulo_mov}}"/>
<rtl:match name="Group departamento" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="x.departamento" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="x.departamento Value" width="233.5" fontSize="6" fontBold="true" floatingBehavior="enclosed" text="{{x.departamento}}"/>
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="Data" width="min" length="538.746" fontSize="5" layoutDirection="leftToRight">
<rtl:input-variable name="producto" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="producto Value" width="233.327" alignment="baseline" fontSize="5" floatingBehavior="enclosed" text="{{producto}}"/>
<rtl:input-variable name="x.consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.consumo Value" width="33.7623" anchorX="1" alignment="baseline" fontSize="5" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,-----&amp;.&amp;&amp;" value="{{x.consumo}}"/>
<rtl:input-variable name="x.unidad_med" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="x.unidad_med Value" width="37.5" alignment="baseline" floatingBehavior="enclosed" text="{{x.unidad_med}}" textAlignment="right"/>
<rtl:input-variable name="x.factor_conv" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.factor_conv Value" width="49.5" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;&amp;&amp;&amp;" value="{{x.factor_conv}}"/>
<rtl:input-variable name="x.factor_ad" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.factor_ad Value" width="47" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;&amp;&amp;&amp;" value="{{x.factor_ad}}"/>
<rtl:input-variable name="x.mtsAdicionales" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.mtsAdicionales Value" width="61.5" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{x.mtsAdicionales}}"/>
</MINIPAGE>
<MINIPAGE name="total_departamento1" width="min" length="538.703" alignment="near" fontSize="5" fontBold="true" layoutDirection="leftToRight" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="seccion" width="24.28" length="5.95578" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Seccion:"/>
<rtl:input-variable name="y.seccion" type="FGLNumeric" expectedLocation="expectedAhead"/>
<DECIMALFORMATBOX name="y.seccion Value" class="grwNumericValue" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="----------#" value="{{y.seccion}}"/>
<LAYOUTNODE name="LayoutNode4" width="5.85786" length="11.997" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
<WORDBOX name="tramo" width="24.28" length="5.95578" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Tramo:"/>
<rtl:input-variable name="y.tramo" type="FGLNumeric" expectedLocation="expectedAhead"/>
<DECIMALFORMATBOX name="y.tramo Value" class="grwNumericValue" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="----------#" value="{{y.tramo}}"/>
<LAYOUTNODE name="LayoutNode4_1" width="5.85786" length="11.997" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
<WORDBOX name="fila" width="24.28" length="5.95578" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Fila:"/>
<rtl:input-variable name="y.fila" type="FGLNumeric" expectedLocation="expectedAhead"/>
<DECIMALFORMATBOX name="y.fila Value" class="grwNumericValue" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="----------#" value="{{y.fila}}"/>
<LAYOUTNODE name="LayoutNode4_2" width="5.85786" length="11.997" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
<WORDBOX name="posicion" width="24.28" length="5.95578" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Posicion:"/>
<rtl:input-variable name="y.posicion" type="FGLNumeric" expectedLocation="expectedAhead"/>
<DECIMALFORMATBOX name="y.posicion Value" class="grwNumericValue" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="----------#" value="{{y.posicion}}"/>
<LAYOUTNODE name="LayoutNode4_3" width="5.85786" length="11.997" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
</MINIPAGE>
<rtl:match name="For" nameConstraint="For" minOccurs="1" maxOccurs="1">
<rtl:match name="ForItem" nameConstraint="ForItem" minOccurs="0" maxOccurs="unbounded">
<rtl:match name="If" nameConstraint="If" minOccurs="1" maxOccurs="1">
<rtl:match name="IfThen" nameConstraint="IfThen" minOccurs="0" maxOccurs="1"/>
</rtl:match>
</rtl:match>
</rtl:match>
</rtl:match>
<MINIPAGE name="total_departamento" width="min" length="538.703" alignment="near" fontSize="5" fontBold="true" layoutDirection="leftToRight" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox6" width="223.28" length="5.95578" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Total departamento: "/>
<rtl:input-variable name="t_consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_consumo Value" width="42.4289" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_consumo}}"/>
<LAYOUTNODE name="LayoutNode2" width="5.85786" length="153.997" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
<rtl:input-variable name="t_mtsAdicionales" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_mtsAdicionales Value" width="41.4645" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_mtsAdicionales}}"/>
</MINIPAGE>
</rtl:match>
<MINIPAGE name="total_movimiento" width="min" length="538.287" fontSize="5" fontBold="true" layoutDirection="leftToRight" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox8" width="224.542" length="6.10193" floatingBehavior="enclosed" textAlignment="right" text="Total Movimiento: "/>
<rtl:input-variable name="t_m_consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_m_consumo Value" width="41.636" length="5.04545" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_m_consumo}}"/>
<LAYOUTNODE name="LayoutNode1" width="5.28431" length="154.438" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
<rtl:input-variable name="t_m_mtsAdicionales" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_m_mtsAdicionales Value" width="39.9792" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_m_mtsAdicionales}}"/>
</MINIPAGE>
</rtl:match>
<MINIPAGE name="total_general" width="min" length="538.287" fontSize="5" fontBold="true" layoutDirection="leftToRight" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox13" width="223.28" length="6.10193" floatingBehavior="enclosed" textAlignment="right" text="Total General: "/>
<rtl:input-variable name="t_t_consumo" type="FGLNumeric" expectedLocation="expectedAhead"/>
<DECIMALFORMATBOX name="t_t_consumo Value" width="42.5" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_t_consumo}}"/>
<LAYOUTNODE name="LayoutNode" width="5.70476" length="154.964" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
<rtl:input-variable name="t_t_mtsAdicionales" type="FGLNumeric" expectedLocation="expectedAhead"/>
<DECIMALFORMATBOX name="t_t_mtsAdicionales Value" width="40.2628" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_t_mtsAdicionales}}"/>
</MINIPAGE>
</MINIPAGE>
<rtl:match name="OnLastRow" nameConstraint="OnLastRow" minOccurs="0" maxOccurs="1"/>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>
+65
View File
@@ -0,0 +1,65 @@
<?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="31405" version="6.00">
<report:Settings RWPageWidth="a4width" RWPageLength="a4length" RWLeftMargin="1.3cm" RWTopMargin="1.3cm" RWRightMargin="1.3cm" RWBottomMargin="1.3cm">
<report:FormatList>
<report:Format-SVG/>
<report:Format-PDF/>
<report:Format-image/>
</report:FormatList>
</report:Settings>
<report:Data RWDataLocation="../ipdir/ipprrp054.rdd" RWFglReportName="prt_co"/>
<report:Conflicts/>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report" minOccurs="1" maxOccurs="1">
<MINIPAGE name="Page Root" width="max" length="max">
<LAYOUTNODE name="Page Header" width="max" length="min" port="anyPageHeader">
<MINIPAGE name="StripeLayouter3" width="min" length="max" layoutDirection="leftToRight">
<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" baselineType="leftleft" floatingBehavior="enclosed" text="{{p_companias.nombre.trim()}}"/>
<PAGENOBOX name="PageNoBox" x="1.23857" y="max" anchorX="0" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="right"/>
<WORDBOX name="WordBox" floatingBehavior="enclosed" text="IPPRRP054"/>
<rtl:input-variable name="fecht" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox1" y="15cm" floatingBehavior="enclosed" text="{{fecht.trim()}}"/>
<WORDBOX name="WordBox10" x="1cm" y="7cm" fontBold="true" floatingBehavior="enclosed" text="Revision de Conduces"/>
<rtl:input-variable name="fecha1" type="FGLString" expectedLocation="expectedAhead"/>
<rtl:input-variable name="fecha2" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox11" x="1.5cm" y="7cm" floatingBehavior="enclosed" text="{{fecha1.trim()+&quot; AL &quot;+fecha2.trim()}}"/>
</MINIPAGE>
<MINIPAGE name="Separator1" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight"/>
<MINIPAGE name="Table Header" class="grwTableHeader" width="min" length="max" layoutDirection="leftToRight">
<WORDBOX name="Spacer" alignment="baseline" baselineType="leftleft" port="itemSeparator" text=" "/>
<WORDBOX name="WordBox2" floatingBehavior="enclosed" text="{{&quot;Num. Documento&quot;}}"/>
<WORDBOX name="WordBox3" y="4cm" floatingBehavior="enclosed" text="Cliente"/>
<WORDBOX name="WordBox8" y="11cm" floatingBehavior="enclosed" text="Estado"/>
<WORDBOX name="WordBox12" y="14cm" floatingBehavior="enclosed" text="Fecha Creacion"/>
</MINIPAGE>
<MINIPAGE name="Separator" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight"/>
</LAYOUTNODE>
<rtl:match name="Group cod_mov" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="Table Row1" class="grwTableRow" width="min" length="max" layoutDirection="leftToRight">
<WORDBOX name="Spacer_2" alignment="baseline" baselineType="leftleft" port="itemSeparator" text=" "/>
<rtl:input-variable name="titulo_mov" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox5" fontBold="true" floatingBehavior="enclosed" text="{{titulo_mov.trim()}}"/>
</MINIPAGE>
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="Table Row" class="grwTableRow" width="min" length="max" alignment="near" fontSize="8" layoutDirection="leftToRight">
<WORDBOX name="Spacer_1" alignment="baseline" baselineType="leftleft" port="itemSeparator" text=" "/>
<rtl:input-variable name="x.num_doc" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox6" width="2cm" floatingBehavior="enclosed" textAlignment="left" text="{{x.num_doc.format(&quot;&lt;&lt;&lt;&lt;&quot;)}}"/>
<rtl:input-variable name="x.cod_sp" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="x.cod_sp_sec" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="x.nombre" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox" y="4cm" width="max/3" alignment="baseline" floatingBehavior="enclosed" text="{{x.cod_sp.format(&quot;&lt;&lt;&quot;)+&quot;-&quot;+x.cod_sp_sec.format(&quot;&lt;&lt;&lt;&lt;&quot;)+&quot; &quot;+x.nombre.trim()}}"/>
<rtl:input-variable name="x.v_estado" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox9" y="11cm" floatingBehavior="enclosed" text="{{x.v_estado.trim()}}"/>
<rtl:input-variable name="x.fecha" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox13" y="14cm" floatingBehavior="enclosed" text="{{x.fecha.trim()}}"/>
</MINIPAGE>
</rtl:match>
</rtl:match>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>
Binary file not shown.
+20 -11
View File
@@ -20,6 +20,7 @@ DEFINE HANDLER om.SaxDocumentHandler, -- return value from fgl_report_commitCurr
DEFINE selec5 STRING
DEFINE anos CHAR(4)
DEFINE jdx INTEGER
DEFINE hay_filas SMALLINT
DEFINE fecha_inicio, fecha_corte, fecha1 DATE, reporte_tipo INT
MAIN
@@ -52,6 +53,7 @@ FUNCTION ctprrp004()
OPEN FORM ctfmrp004 FROM "ctfmrp004"
DISPLAY FORM ctfmrp004
CALL ui.Window.getCurrent().setText("Reporte Produccion Diaria")
CONSTRUCT criterio ON c.departamento, c.cod_prod FROM departamento, cod_prod
@@ -166,25 +168,28 @@ FUNCTION ctprrp004()
LET r_filename = 'ctprrp004.4rp'
IF fgl_report_loadCurrentSettings(r_filename) THEN
LET preview=1
CALL selectoutput() RETURNING r_output
CALL fgl_report_selectDevice(r_output) -- changing default
CALL fgl_report_selectPreview(preview) -- changing default
LET handler = fgl_report_commitCurrentSettings() -- commit changes
END IF
START REPORT reporte_detallado TO XML HANDLER HANDLER
LET fecha_actual = CURRENT YEAR TO FRACTION
DISPLAY selec5
PREPARE comando4 FROM selec5
DECLARE busca4 CURSOR FOR comando4
LET hay_filas = FALSE
FOREACH busca4 INTO prod_dia.*
IF NOT hay_filas THEN
IF fgl_report_loadCurrentSettings(r_filename) THEN
LET preview=1
CALL selectoutput() RETURNING r_output
CALL fgl_report_selectDevice(r_output)
CALL fgl_report_selectPreview(preview)
LET handler = fgl_report_commitCurrentSettings()
END IF
START REPORT reporte_detallado TO XML HANDLER HANDLER
LET hay_filas = TRUE
END IF
IF reporte_tipo <> 1 THEN
LET prod_dia.num_doc = 0
LET prod_dia.fecha = CURRENT
@@ -194,7 +199,11 @@ FUNCTION ctprrp004()
prod_dia.*, fecha_inicio, fecha_corte, fecha_actual)
END FOREACH
FINISH REPORT reporte_detallado
IF hay_filas THEN
FINISH REPORT reporte_detallado
ELSE
CALL fgl_winmessage("INFO", "NO EXISTEN REGISTROS PARA ESTOS PARAMETROS", "INFO")
END IF
IF abortar_reporte THEN
RETURN
+21 -11
View File
@@ -20,6 +20,8 @@ DEFINE HANDLER om.SaxDocumentHandler, -- return value from fgl_report_commitCurr
DEFINE selec5 STRING
DEFINE anos STRING
DEFINE hay_filas SMALLINT
MAIN
DEFER INTERRUPT
CALL ARG_VAL(1) RETURNING usuarios
@@ -55,6 +57,7 @@ FUNCTION ctprrp004()
OPEN FORM ctfmrp004 FROM "ctfmrp014"
DISPLAY FORM ctfmrp004
CALL ui.Window.getCurrent().setText("Reporte Produccion Mensual")
CONSTRUCT criterio ON c.cod_prod FROM cod_prod
@@ -128,25 +131,28 @@ FUNCTION ctprrp004()
LET r_filename = 'ctprrp014.4rp'
IF fgl_report_loadCurrentSettings(r_filename) THEN
LET preview=1
CALL selectoutput() RETURNING r_output
CALL fgl_report_selectDevice(r_output) -- changing default
CALL fgl_report_selectPreview(preview) -- changing default
LET handler = fgl_report_commitCurrentSettings() -- commit changes
END IF
START REPORT reporte_mensual TO XML HANDLER HANDLER
LET fecha_actual = CURRENT YEAR TO FRACTION
DISPLAY selec5
PREPARE comando4 FROM selec5
DECLARE busca4 CURSOR FOR comando4
LET hay_filas = FALSE
FOREACH busca4 INTO prod_dia.*
IF NOT hay_filas THEN
IF fgl_report_loadCurrentSettings(r_filename) THEN
LET preview=1
CALL selectoutput() RETURNING r_output
CALL fgl_report_selectDevice(r_output)
CALL fgl_report_selectPreview(preview)
LET handler = fgl_report_commitCurrentSettings()
END IF
START REPORT reporte_mensual TO XML HANDLER HANDLER
LET hay_filas = TRUE
END IF
IF prod_dia.semielaborado IS NULL THEN
LET abortar_reporte = TRUE;
END IF
@@ -154,7 +160,11 @@ FUNCTION ctprrp004()
OUTPUT TO REPORT reporte_mensual(prod_dia.*, anos, fecha_actual);
END FOREACH
FINISH REPORT reporte_mensual
IF hay_filas THEN
FINISH REPORT reporte_mensual
ELSE
CALL fgl_winmessage("INFO", "NO EXISTEN REGISTROS PARA ESTOS PARAMETROS", "INFO")
END IF
IF abortar_reporte THEN
RETURN
+18 -2
View File
@@ -75,6 +75,7 @@ FUNCTION ipprrp048()
OPEN FORM ipfmrp048 FROM "ipfmrp048"
DISPLAY FORM ipfmrp048
CALL ui.Window.getCurrent().setText("Transacciones de Inventario por Departamento")
DISPLAY "ipprrp048" AT 4,3
DISPLAY "Operacion Por Movimiento Detallado y Valorizado" AT 6,18
@@ -167,7 +168,7 @@ END INPUT
IF fgl_report_loadCurrentSettings(r_filename) THEN
LET preview=1
CALL seleccionarsalida() RETURNING r_output -- load the .4rp file
CALL selectOutputSimple() RETURNING r_output -- load the .4rp file
CALL fgl_report_selectDevice(r_output) -- changing default
CALL fgl_report_selectPreview(preview) -- changing default
LET handler = fgl_report_commitCurrentSettings() -- commit changes
@@ -296,5 +297,20 @@ FORMAT
PRINTX t_t_consumo,t_t_mtsAdicionales
END REPORT
FUNCTION busca_departamento()
DEFINE
pdepartamento ui.combobox,
kdepartamento SMALLINT,
kdescripcion CHAR(30)
LET pdepartamento = ui.combobox.forname("formonly.departamento")
CALL pdepartamento.clear()
DECLARE pagar CURSOR FOR
SELECT departamento, nom_dpto
FROM adtb00001
WHERE status_t IS NULL
ORDER BY nom_dpto
FOREACH pagar INTO kdepartamento, kdescripcion
CALL pdepartamento.additem(kdepartamento, kdescripcion)
END FOREACH
END FUNCTION
+3 -2
View File
@@ -155,6 +155,7 @@ FUNCTION ipprrp013()
OPEN FORM ipfmrp014 FROM "ipfmrp014"
DISPLAY FORM ipfmrp014
CALL ui.Window.getCurrent().setText("Dias de Inventarios Gerente Marcas")
DISPLAY "ipprrp014" AT 4, 3 ATTRIBUTE(RED)
DISPLAY "Dias de Inventarios Gerente Marcas" AT 6, 33 ATTRIBUTE(BLACK)
@@ -282,8 +283,8 @@ FUNCTION ipprrp013()
LET select_bal =
"SELECT a.cod_n, a.cod_grupo, a.cod_tipo, a.cod_sec, a.descrip_esp,",
" a.unidad_med, '0', d.descripcion, ' ', x.cod_categoria, x.descripcion,",
" convert(char(10), uv.fecha_v, 103),",
" convert(char(10), uc.fecha_oc, 103),",
" uv.fecha_v,",
" uc.fecha_oc,",
" ISNULL(uc.tcantidad, 0)",
" FROM iptb00002 a",
" INNER JOIN iptb00035 x1 ON a.cod_n = x1.cod_n",
+101
View File
@@ -0,0 +1,101 @@
<?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="letterlength" RWPageLength="letterwidth" RWLeftMargin="0.5cm" RWTopMargin="0.5cm" RWRightMargin="0.5cm" RWBottomMargin="0.5cm">
<report:FormatList>
<report:Format-SVG/>
<report:Format-PDF/>
<report:Format-image/>
</report:FormatList>
</report:Settings>
<report:Data RWDataLocation="../ipdir/ipprrp014.rdd" RWFglReportName="estadistica"/>
<report:Conflicts/>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report">
<MINIPAGE name="Page Root" width="max" length="max" alignment="center">
<LAYOUTNODE name="Page Header" width="max" length="min" port="anyPageHeader">
<MINIPAGE name="StripeLayouter3" width="min" length="max" layoutDirection="leftToRight">
<PAGENOBOX name="PageNoBox" x="1.23857" y="max" anchorX="0" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="right"/>
<WORDBOX name="WordBox4" floatingBehavior="enclosed" text="IPPRRP014"/>
<WORDBOX name="WordBox5" x="1.2386" y="453.061" anchorX="0" anchorY="0" floatingBehavior="enclosed" text="PAGINA"/>
<rtl:input-variable name="p_companias.nombre" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDWRAPBOX name="p_companias.nombre Value" x="1.2386" y="184.611" width="width(&quot;M&quot;)*20" anchorX="0" anchorY="0" floatingBehavior="enclosed" text="{{p_companias.nombre}}"/>
</MINIPAGE>
<MINIPAGE name="MiniPage7" width="1.5cm" length="max" fontBold="true" layoutDirection="leftToRight">
<WORDBOX name="WordBox9" x="5.539" y="40.8204" anchorX="0" anchorY="0" floatingBehavior="enclosed" text="SISTEMA DE INVENTARIO DE PRODUCTOS TERMINADOS"/>
<WORDBOX name="WordBox11" x="22.5047" y="143.465" anchorX="0" anchorY="0" floatingBehavior="enclosed" text="DIAS DE INVENTARIO"/>
<rtl:input-variable name="fecha" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox23" x="5.539" y="437.976" anchorX="0" anchorY="0" floatingBehavior="enclosed" text="{{&quot;FECHA: &quot;+fecha.value}}"/>
<rtl:input-variable name="hora" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox24" x="27.0497" y="437.976" anchorX="0" anchorY="0" floatingBehavior="enclosed" text="{{&quot;HORA: &quot;+hora.value}}"/>
</MINIPAGE>
<MINIPAGE name="Table Header" width="min" length="max" alignment="near" fontBold="true" layoutDirection="leftToRight">
<WORDBOX name="Spacer" alignment="baseline" baselineType="leftleft" port="itemSeparator" text=" "/>
<rtl:input-variable name="fecha1" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox" width="6cm" floatingBehavior="enclosed" text="{{&quot;Fecha Inicial: &quot;+fecha1.value}}"/>
<rtl:input-variable name="fecha2" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="WordBox40" width="4cm" floatingBehavior="enclosed" textAlignment="right" text="{{&quot;Fecha Final: &quot;+fecha2.value}}"/>
<MINIPAGE name="Separator1" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight"/>
<rtl:input-variable name="dias1" type="FGLNumeric" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox45" alignment="near" floatingBehavior="enclosed" text="{{&quot;DIAS PERIODO: &quot;+dias1}}"/>
<LAYOUTNODE name="LayoutNode3" width="min" length="max" alignment="near" fontSize="8" fontBold="true" layoutDirection="leftToRight" floatingBehavior="free">
<WORDBOX name="WordBox13" floatingBehavior="enclosed" text="CODIGO"/>
<WORDBOX name="WordBox14" width="1cm" floatingBehavior="enclosed" text=""/>
<WORDBOX name="WordBox15" floatingBehavior="enclosed" text="DESCRIPCION"/>
<WORDBOX name="WordBox16" width="3cm" alignment="center" floatingBehavior="enclosed" text=""/>
<WORDBOX name="WordBox17" alignment="baseline" floatingBehavior="enclosed" text="VENTAS DEL PERIODO"/>
<WORDBOX name="WordBox18" width="0.6cm" floatingBehavior="enclosed" text=""/>
<WORDBOX name="WordBox19" floatingBehavior="enclosed" text="EXISTENCIA"/>
<WORDBOX name="WordBox33_2" width="0.5cm" alignment="center" floatingBehavior="enclosed" text=""/>
<WORDBOX name="WordBox34" floatingBehavior="enclosed" text="DIAS INV"/>
<WORDBOX name="WordBox36" width="0.5cm" floatingBehavior="enclosed" text=""/>
<WORDBOX name="WordBox37" floatingBehavior="enclosed" text="FECHA VENTA"/>
<WORDBOX name="WordBox42" width="2cm" floatingBehavior="enclosed" textAlignment="right" text="FECHA C"/>
<WORDBOX name="WordBox43" width="2cm" floatingBehavior="enclosed" textAlignment="right" text="CANTIDAD C."/>
<WORDBOX name="WordBox44" width="2cm" floatingBehavior="enclosed" textAlignment="right" text="ROTACION"/>
</LAYOUTNODE>
<MINIPAGE name="Separator" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight"/>
</MINIPAGE>
</LAYOUTNODE>
<rtl:match name="FirstPageHeader" nameConstraint="FirstPageHeader" minOccurs="0" maxOccurs="1"/>
<rtl:match name="Group cod_grupo" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<LAYOUTNODE name="DETALLE" width="min" length="max" alignment="near" fontSize="7" layoutDirection="leftToRight" floatingBehavior="enclosed">
<rtl:input-variable name="x.cod_n" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="x.cod_grupo" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="x.cod_tipo" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="x.cod_sec" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox18_1" alignment="baseline" baselineType="leftleft" text="{{x.cod_n.format(&quot;&amp;&amp;&amp;&amp;&quot;)+&quot;-&quot;+x.cod_grupo.format(&quot;&amp;&amp;&amp;&amp;&amp;&quot;)+&quot;-&quot;+x.cod_tipo.format(&quot;&amp;&amp;&amp;&amp;&amp;&amp;&quot;)+&quot;-&quot;+x.cod_sec.format(&quot;&amp;&amp;&amp;&amp;&amp;&amp;&quot;)}}"/>
<WORDBOX name="WordBox19_1" width=".3cm" alignment="baseline" baselineType="leftleft"/>
<rtl:input-variable name="x.descrip_esp" type="FGLString" expectedLocation="expectedHere"/>
<rtl:input-variable name="x.unidad_med" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox" width="width(&quot;M&quot;)*25" alignment="baseline" floatingBehavior="enclosed" text="{{x.descrip_esp.trim()+&quot; &quot;+x.unidad_med.trim()}}"/>
<WORDBOX name="WordBox41" width="1cm" alignment="baseline" floatingBehavior="enclosed" text=""/>
<rtl:input-variable name="x.consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox29" width="1.5cm" alignment="baseline" floatingBehavior="enclosed" text="{{x.consumo.format(&quot;####.####&quot;)}}"/>
<rtl:input-variable name="x.existe" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox31_1" width="2cm" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{x.existe.format(&quot;###,###.####&quot;)}}"/>
<WORDBOX name="WordBox31_2" width="1cm" floatingBehavior="enclosed" text=""/>
<rtl:input-variable name="x.dias" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox32" width="1cm" color="{{x.dias&gt;200?Color.RED:Color.BLACK}}" floatingBehavior="enclosed" text="{{x.dias.format(&quot;###,###&quot;)}}"/>
<WORDBOX name="WordBox38" width="1cm" floatingBehavior="enclosed" text=""/>
<rtl:input-variable name="x.fecha_v" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox39" width="1.5cm" floatingBehavior="enclosed" text="{{x.fecha_v}}"/>
<rtl:input-variable name="x.fecha_oc" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="fecha_oc Value" width="1.5cm" floatingBehavior="enclosed" textAlignment="right" text="{{x.fecha_oc}}"/>
<rtl:input-variable name="x.tcantidad" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="tcantidad Value" width="1.5cm" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="----------#.####" value="{{x.tcantidad}}"/>
<rtl:input-variable name="rot_anual" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="rot_anual Value" class="grwNumericValue" width="3cm" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="{{&quot;--,--&amp;.&amp;&amp;&quot;}}" value="{{rot_anual}}"/>
</LAYOUTNODE>
</rtl:match>
</rtl:match>
<MINIPAGE name="TOTALES" width="min" length="min">
<rtl:input-variable name="total_registros" type="FGLNumeric" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox33_1" floatingBehavior="enclosed" text="{{&quot;TOTAL ARTICULOS IMPRESOS: &quot;+total_registros.format(&quot;&gt;&gt;&gt;&gt;&quot;)}}"/>
</MINIPAGE>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>
+16 -2
View File
@@ -53,6 +53,7 @@ FUNCTION ipprrp046()
OPEN FORM ipfmrp046 FROM "ipfmrp046"
DISPLAY FORM ipfmrp046
CALL ui.Window.getCurrent().setText("Relacion de Documentos")
# CALL pantalla()
DISPLAY "ipprrp046" AT 4,3 ATTRIBUTE(RED)
DISPLAY " Relacion de Documentos" AT 6,22 ATTRIBUTE(BLACK)
@@ -110,8 +111,8 @@ END INPUT
DISPLAY "<< Reporte Generandose ... Por Favor Espere. >>"
AT 19,14 ATTRIBUTE (REVERSE)
CALL seleccionarsalida() RETURNING r_output
CALL configureoutput(r_output) RETURNING handler
CALL selectOutputSimple() RETURNING r_output
LET handler = configurarSalidaClasica(r_output)
START REPORT relacion TO XML HANDLER handler
@@ -241,3 +242,16 @@ END FUNCTION
ON LAST ROW
END REPORT
FUNCTION configurarSalidaClasica(tipo_file)
DEFINE tipo_file CHAR(3)
IF NOT fgl_report_loadCurrentSettings(NULL) THEN
RETURN NULL
END IF
CALL fgl_report_setPageMargins("0.5cm", "0.5cm", "0.5cm", "0.5cm")
CALL fgl_report_configureCompatibilityOutput(160,"Monospaced",NULL,NULL,NULL,NULL)
CALL fgl_report_selectDevice(tipo_file)
CALL fgl_report_configurexlsxdevice(NULL, NULL, NULL, FALSE, FALSE, NULL, 1)
CALL fgl_report_selectPreview(TRUE)
RETURN fgl_report_commitCurrentSettings()
END FUNCTION
+18 -2
View File
@@ -78,6 +78,7 @@ FUNCTION ipprrp047()
OPEN FORM ipfmrp047 FROM "ipfmrp047"
DISPLAY FORM ipfmrp047
CALL ui.Window.getCurrent().setText("Transacciones de Inventario")
DISPLAY "ipprrp047" AT 4,3
DISPLAY "Operacion Por Movimiento Detallado y Valorizado" AT 6,18
@@ -200,7 +201,7 @@ END IF
IF fgl_report_loadCurrentSettings(r_filename) THEN
LET preview=1
CALL seleccionarsalida() RETURNING r_output -- load the .4rp file
CALL selectOutputSimple() RETURNING r_output -- load the .4rp file
CALL fgl_report_selectDevice(r_output) -- changing default
CALL fgl_report_selectPreview(preview) -- changing default
LET handler = fgl_report_commitCurrentSettings() -- commit changes
@@ -504,5 +505,20 @@ FORMAT
END REPORT
FUNCTION busca_departamento()
DEFINE
pdepartamento ui.combobox,
kdepartamento SMALLINT,
kdescripcion CHAR(30)
LET pdepartamento = ui.combobox.forname("formonly.departamento")
CALL pdepartamento.clear()
DECLARE pagar CURSOR FOR
SELECT departamento, nom_dpto
FROM adtb00001
WHERE status_t IS NULL
ORDER BY nom_dpto
FOREACH pagar INTO kdepartamento, kdescripcion
CALL pdepartamento.additem(kdepartamento, kdescripcion)
END FOREACH
END FUNCTION
+146
View File
@@ -0,0 +1,146 @@
<?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.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="../ipdir/ipprrp047.rdd" RWFglReportName="opera"/>
<report:Conflicts/>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report">
<MINIPAGE name="Page Root" width="max" length="max" alignment="near">
<LAYOUTNODE name="Cabeceras" width="min" length="min" fontSize="8" fontBold="true" port="anyPageHeader" floatingBehavior="enclosed">
<LAYOUTNODE name="Enc.Principal" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox" width="38.5" floatingBehavior="enclosed" text="ipprrp047"/>
<rtl:input-variable name="p_companias.nombre" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="p_companias.nombre Value" width="459.302" floatingBehavior="enclosed" text="{{p_companias.nombre}}" textAlignment="center"/>
<WORDBOX name="WordBox3" floatingBehavior="enclosed" text="Pagina: "/>
<PAGENOBOX name="PageNoBox" width="9.5" floatingBehavior="enclosed"/>
</LAYOUTNODE>
<LAYOUTNODE name="Enc.Secundario" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.5" borderStyle="solid">
<rtl:input-variable name="rango_fecha" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="rango_fecha Value" width="width(&quot;M&quot;)*20" floatingBehavior="enclosed" text="{{rango_fecha}}"/>
<WORDBOX name="WordBox5" width="342.328" alignment="near" floatingBehavior="enclosed" text=" Reporte productos terminados"/>
<rtl:input-variable name="fecha_reporte" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="fecha_reporte Value" alignment="near" floatingBehavior="enclosed" text="{{fecha_reporte}}"/>
</LAYOUTNODE>
<MINIPAGE name="Titulo1" width="9.2883" length="537.324" fontSize="7" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox2" width="260.309" alignment="center" floatingBehavior="enclosed" text="Producto"/>
<WORDBOX name="WordBox4_1" width="33.3244" alignment="baseline" floatingBehavior="enclosed" text="Cantidad"/>
<WORDBOX name="WordBox4_2" width="32.3514" alignment="baseline" floatingBehavior="enclosed" text="Material"/>
<WORDBOX name="WordBox4_3" width="40.1171" length="10.2883" alignment="baseline" floatingBehavior="enclosed" text="V.material"/>
<WORDBOX name="WordBox4_4" width="35.495" length="10.2883" alignment="baseline" floatingBehavior="enclosed" text="Labor"/>
<WORDBOX name="WordBox4_5_1" width="37.566" length="10.2883" alignment="baseline" floatingBehavior="enclosed" text="V.labor"/>
<WORDBOX name="WordBox4_5" width="33.566" length="10.2883" alignment="baseline" floatingBehavior="enclosed" text="Gasto"/>
<WORDBOX name="WordBox4_6" width="38.3124" length="10.2883" alignment="near" floatingBehavior="enclosed" text="V.gasto"/>
<WORDBOX name="WordBox4" width="23.9461" length="8.89765" alignment="center" floatingBehavior="enclosed" text="V.Total"/>
</MINIPAGE>
</LAYOUTNODE>
<rtl:match name="Group cod_cia" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:match name="Group cod_mov" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="titulo_mov" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="titulo_mov Value" width="234" fontSize="6" fontBold="true" floatingBehavior="enclosed" text="{{titulo_mov}}"/>
<rtl:match name="Group departamento" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="x.departamento" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="x.departamento Value" width="233.5" fontSize="6" fontBold="true" floatingBehavior="enclosed" text="{{x.departamento}}"/>
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="Data" width="min" length="538.746" fontSize="5" layoutDirection="leftToRight">
<rtl:input-variable name="producto" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="producto Value" width="262.827" alignment="baseline" fontSize="5" floatingBehavior="enclosed" text="{{producto}}"/>
<rtl:input-variable name="x.consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.consumo Value" width="26.2623" anchorX="1" alignment="baseline" fontSize="5" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,-----&amp;.&amp;&amp;" value="{{x.consumo}}"/>
<rtl:input-variable name="x.material" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.material Value" width="30.7929" anchorX="1" alignment="baseline" fontSize="5" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{x.material}}"/>
<rtl:input-variable name="v_material" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="v_material Value" width="38.6108" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{v_material}}"/>
<rtl:input-variable name="x.labor" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.labor Value" width="27.0502" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{x.labor}}"/>
<rtl:input-variable name="v_labor" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="v_labor Value" width="39.0459" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{v_labor}}"/>
<rtl:input-variable name="x.gastos" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.gastos Value" width="34.2279" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{x.gastos}}"/>
<rtl:input-variable name="v_gasto" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="v_gasto Value" width="39.5104" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{v_gasto}}"/>
<rtl:input-variable name="total_costo_st" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_costo_st Value" width="37.0251" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$---,---,-&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{total_costo_st}}"/>
</MINIPAGE>
</rtl:match>
<MINIPAGE name="total_departamento" width="min" length="538.703" alignment="near" fontSize="5" fontBold="true" layoutDirection="leftToRight" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox6" width="262.382" length="5.95578" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Total departamento: "/>
<rtl:input-variable name="t_consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_consumo Value" width="25.9289" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_consumo}}"/>
<rtl:input-variable name="t_material" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_material Value" width="30.5858" length="6.5" anchorX="1" alignment="far" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_material}}"/>
<rtl:input-variable name="total_material" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_material Value" width="39.5148" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{total_material}}"/>
<rtl:input-variable name="t_labor" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_labor Value" width="26.5356" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_labor}}"/>
<rtl:input-variable name="total_labor" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_labor Value" width="39.0208" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{total_labor}}"/>
<rtl:input-variable name="t_gasto" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_gasto Value" width="34.3137" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_gasto}}"/>
<rtl:input-variable name="total_gastos" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_gastos Value" width="39.9497" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{total_gastos}}"/>
<rtl:input-variable name="total_valor_departamento" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_valor_departamento Value" width="36.7678" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{total_valor_departamento}}"/>
</MINIPAGE>
</rtl:match>
<MINIPAGE name="total_movimiento" width="min" length="538.287" fontSize="5" fontBold="true" layoutDirection="leftToRight" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox8" width="262.382" length="6.10193" floatingBehavior="enclosed" textAlignment="right" text="Total Movimiento: "/>
<rtl:input-variable name="t_m_consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_m_consumo Value" width="25.636" length="5.04545" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_m_consumo}}"/>
<rtl:input-variable name="t_m_material" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_m_material Value" width="30.6465" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_m_material}}"/>
<rtl:input-variable name="total_material_movimiento" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_material_movimiento Value" width="39.3683" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{total_material_movimiento}}"/>
<rtl:input-variable name="t_m_labor" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_m_labor Value" width="26.6821" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_m_labor}}"/>
<rtl:input-variable name="total_labor_movimiento" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_labor_movimiento Value" width="39.8267" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{total_labor_movimiento}}"/>
<rtl:input-variable name="t_m_gasto" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_m_gasto Value" width="33.7784" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_m_gasto}}"/>
<rtl:input-variable name="total_gastos_movimiento" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_gastos_movimiento Value" width="39.8916" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{total_gastos_movimiento}}"/>
<rtl:input-variable name="total_valor_movimiento" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_valor_movimiento Value" width="37.4142" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="$&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&lt;,&lt;&lt;&amp;.&amp;&amp;" value="{{total_valor_movimiento}}"/>
</MINIPAGE>
</rtl:match>
<LAYOUTNODE name="CiaNode" width="min" length="min" fontSize="5" fontBold="true" layoutDirection="leftToRight" floatingBehavior="enclosed">
<rtl:input-variable name="titulo_cia" type="FGLString" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox9" width="3.5inch" alignment="near" floatingBehavior="enclosed" textAlignment="right" text="{{&quot;TOTAL ORIGEN: &quot;+titulo_cia.trim()}}"/>
<rtl:input-variable name="t_consumo_cia" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_consumo_cia Value" class="grwNumericValue" width=".5inch" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_consumo_cia}}"/>
<rtl:input-variable name="t_material_cia" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_material_cia Value" class="grwNumericValue" width="1inch" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="--,---,---,---,--&amp;.&amp;&amp;" value="{{t_material_cia}}"/>
<rtl:input-variable name="t_labor_cia" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_labor_cia Value" class="grwNumericValue" width=".9inch" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_labor_cia}}"/>
<rtl:input-variable name="t_gasto_cia" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_gasto_cia Value" class="grwNumericValue" width=".5inch" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,--&amp;.&amp;&amp;" value="{{t_gasto_cia}}"/>
<rtl:input-variable name="t_general_cia" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_general_cia Value" class="grwNumericValue" width="1inch" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="--,---,---,---,--&amp;.&amp;&amp;" value="{{t_general_cia}}"/>
</LAYOUTNODE>
</rtl:match>
<rtl:match name="OnLastRow" nameConstraint="OnLastRow" minOccurs="0" maxOccurs="1">
<LAYOUTNODE name="totalgeneral" width="min" length="min" fontSize="5" fontBold="true" layoutDirection="leftToRight" floatingBehavior="enclosed" roundedCorners="true" borderStyle="solid">
<WORDBOX name="WordBox10" width="3.5inch" floatingBehavior="enclosed" textAlignment="right" text="TOTAL GENERAL"/>
<rtl:input-variable name="total_consumo_gral" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_consumo_gral Value" class="grwNumericValue" width=".55inch" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="###,##&amp;.&amp;&amp;" value="{{total_consumo_gral}}"/>
<rtl:input-variable name="total_material_gral" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_material_gral Value" class="grwNumericValue" width="70.3951" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="###,###,#&amp;.&amp;&amp;" value="{{total_material_gral}}"/>
<rtl:input-variable name="total_labor_gral" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_labor_gral Value" class="grwNumericValue" width="55.2863" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="###,##&amp;.&amp;&amp;" value="{{total_labor_gral}}"/>
<rtl:input-variable name="total_gastos_gral" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_gastos_gral Value" class="grwNumericValue" width="60.1079" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="###,##&amp;.&amp;&amp;" value="{{total_gastos_gral}}"/>
<rtl:input-variable name="total_valor_gral" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_valor_gral Value" class="grwNumericValue" width="43.7298" length="6" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="#,###,###,##&amp;.&amp;&amp;" value="{{total_valor_gral}}"/>
</LAYOUTNODE>
</rtl:match>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>
+93
View File
@@ -0,0 +1,93 @@
<?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="../ipdir/IPPRRP048.rdd" RWFglReportName="opera"/>
<report:Conflicts/>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report">
<MINIPAGE name="Page Root" width="max" length="max" alignment="near">
<LAYOUTNODE name="Cabeceras" width="min" length="min" fontSize="8" fontBold="true" port="anyPageHeader" floatingBehavior="enclosed">
<LAYOUTNODE name="Enc.Principal" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox" width="38.5" floatingBehavior="enclosed" text="ipprrp048"/>
<rtl:input-variable name="p_companias.nombre" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="p_companias.nombre Value" width="459.302" floatingBehavior="enclosed" text="{{p_companias.nombre}}" textAlignment="center"/>
<WORDBOX name="WordBox3" floatingBehavior="enclosed" text="Pagina: "/>
<PAGENOBOX name="PageNoBox" width="9.5" floatingBehavior="enclosed"/>
</LAYOUTNODE>
<LAYOUTNODE name="Enc.Secundario" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.5" borderStyle="solid">
<rtl:input-variable name="rango_fecha" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="rango_fecha Value" width="width(&quot;M&quot;)*20" floatingBehavior="enclosed" text="{{rango_fecha}}"/>
<WORDBOX name="WordBox5" width="342.328" alignment="near" floatingBehavior="enclosed" text=" Reporte productos terminados"/>
<rtl:input-variable name="fecha_reporte" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="fecha_reporte Value" alignment="near" floatingBehavior="enclosed" text="{{fecha_reporte}}"/>
</LAYOUTNODE>
<MINIPAGE name="Titulo1" width="9.2883" length="537.324" fontSize="7" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox2" width="233.809" alignment="center" floatingBehavior="enclosed" text="Producto"/>
<WORDBOX name="WordBox4_1" width="33.3244" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Cantidad"/>
<WORDBOX name="WordBox9" width="36" floatingBehavior="enclosed" textAlignment="right" text="UM"/>
<WORDBOX name="WordBox10" width="50.5" floatingBehavior="enclosed" textAlignment="right" text="F.conversion"/>
<WORDBOX name="WordBox10_1" width="45.5" floatingBehavior="enclosed" textAlignment="right" text="F.Adicional"/>
<WORDBOX name="WordBox11" width="64.5" floatingBehavior="enclosed" textAlignment="right" text="Mts. Adicionales"/>
</MINIPAGE>
</LAYOUTNODE>
<rtl:match name="Group cod_mov" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="titulo_mov" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="titulo_mov Value" width="233.5" alignment="baseline" fontSize="6" fontBold="true" floatingBehavior="enclosed" text="{{titulo_mov}}"/>
<rtl:match name="Group departamento" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="x.departamento" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="x.departamento Value" width="233.5" fontSize="6" fontBold="true" floatingBehavior="enclosed" text="{{x.departamento}}"/>
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="Data" width="min" length="538.746" fontSize="5" layoutDirection="leftToRight">
<rtl:input-variable name="producto" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="producto Value" width="233.327" alignment="baseline" fontSize="5" floatingBehavior="enclosed" text="{{producto}}"/>
<rtl:input-variable name="x.consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.consumo Value" width="33.7623" anchorX="1" alignment="baseline" fontSize="5" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,-----&amp;.&amp;&amp;" value="{{x.consumo}}"/>
<rtl:input-variable name="x.unidad_med" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="x.unidad_med Value" width="37.5" alignment="baseline" floatingBehavior="enclosed" text="{{x.unidad_med}}" textAlignment="right"/>
<rtl:input-variable name="x.factor_conv" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.factor_conv Value" width="49.5" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;&amp;&amp;&amp;" value="{{x.factor_conv}}"/>
<rtl:input-variable name="x.factor_ad" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.factor_ad Value" width="47" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;&amp;&amp;&amp;" value="{{x.factor_ad}}"/>
<rtl:input-variable name="x.mtsAdicionales" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.mtsAdicionales Value" width="61.5" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{x.mtsAdicionales}}"/>
</MINIPAGE>
</rtl:match>
<MINIPAGE name="total_departamento" width="min" length="538.703" alignment="near" fontSize="5" fontBold="true" layoutDirection="leftToRight" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox6" width="223.28" length="5.95578" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Total departamento: "/>
<rtl:input-variable name="t_consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_consumo Value" width="42.4289" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_consumo}}"/>
<LAYOUTNODE name="LayoutNode2" width="5.85786" length="153.997" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
<rtl:input-variable name="t_mtsAdicionales" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_mtsAdicionales Value" width="41.4645" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_mtsAdicionales}}"/>
</MINIPAGE>
</rtl:match>
<MINIPAGE name="total_movimiento" width="min" length="538.287" fontSize="5" fontBold="true" layoutDirection="leftToRight" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox8" width="224.542" length="6.10193" floatingBehavior="enclosed" textAlignment="right" text="Total Movimiento: "/>
<rtl:input-variable name="t_m_consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_m_consumo Value" width="41.636" length="5.04545" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_m_consumo}}"/>
<LAYOUTNODE name="LayoutNode1" width="5.28431" length="154.438" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
<rtl:input-variable name="t_m_mtsAdicionales" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_m_mtsAdicionales Value" width="39.9792" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_m_mtsAdicionales}}"/>
</MINIPAGE>
</rtl:match>
<MINIPAGE name="total_general" width="min" length="538.287" fontSize="5" fontBold="true" layoutDirection="leftToRight" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox13" width="223.28" length="6.10193" floatingBehavior="enclosed" textAlignment="right" text="Total General: "/>
<rtl:input-variable name="t_t_consumo" type="FGLNumeric" expectedLocation="expectedAhead"/>
<DECIMALFORMATBOX name="t_t_consumo Value" width="42.5" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_t_consumo}}"/>
<LAYOUTNODE name="LayoutNode" width="5.70476" length="154.964" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
<rtl:input-variable name="t_t_mtsAdicionales" type="FGLNumeric" expectedLocation="expectedAhead"/>
<DECIMALFORMATBOX name="t_t_mtsAdicionales Value" width="40.2628" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_t_mtsAdicionales}}"/>
</MINIPAGE>
</MINIPAGE>
<rtl:match name="OnLastRow" nameConstraint="OnLastRow" minOccurs="0" maxOccurs="1"/>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>
+20 -2
View File
@@ -87,6 +87,7 @@ FUNCTION ipprrp051()
OPEN FORM ipfmrp051 FROM "ipfmrp051"
DISPLAY FORM ipfmrp051
CALL ui.Window.getCurrent().setText("Transacciones de Inventario")
DISPLAY "ipprrp051" AT 4, 3
DISPLAY "Operacion Por Movimiento Detallado y Valorizado" AT 6, 18
@@ -186,8 +187,7 @@ FUNCTION ipprrp051()
IF fgl_report_loadCurrentSettings(r_filename) THEN
LET preview = 1
CALL seleccionarsalida()
RETURNING r_output -- load the .4rp file
CALL selectOutputSimple() RETURNING r_output -- load the .4rp file
CALL fgl_report_selectDevice(r_output) -- changing default
CALL fgl_report_selectPreview(preview) -- changing default
LET handler =
@@ -381,3 +381,21 @@ REPORT opera(x, y)
LET t_t_mtsAdicionales = SUM(x.mtsAdicionales)
PRINTX t_t_consumo, t_t_mtsAdicionales
END REPORT
FUNCTION busca_departamento()
DEFINE
pdepartamento ui.combobox,
kdepartamento SMALLINT,
kdescripcion CHAR(30)
LET pdepartamento = ui.combobox.forname("formonly.departamento")
CALL pdepartamento.clear()
DECLARE pagar CURSOR FOR
SELECT departamento, nom_dpto
FROM adtb00001
WHERE status_t IS NULL
ORDER BY nom_dpto
FOREACH pagar INTO kdepartamento, kdescripcion
CALL pdepartamento.additem(kdepartamento, kdescripcion)
END FOREACH
END FUNCTION
+118
View File
@@ -0,0 +1,118 @@
<?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.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="../ipdir/IPPRRP051.rdd" RWFglReportName="opera"/>
<report:Conflicts/>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report">
<MINIPAGE name="Page Root" width="max" length="max" alignment="near">
<LAYOUTNODE name="Cabeceras" width="min" length="min" fontSize="8" fontBold="true" port="anyPageHeader" floatingBehavior="enclosed">
<LAYOUTNODE name="Enc.Principal" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox" width="38.5" floatingBehavior="enclosed" text="ipprrp051"/>
<rtl:input-variable name="p_companias.nombre" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="p_companias.nombre Value" width="459.302" floatingBehavior="enclosed" text="{{p_companias.nombre}}" textAlignment="center"/>
<WORDBOX name="WordBox3" floatingBehavior="enclosed" text="Pagina: "/>
<PAGENOBOX name="PageNoBox" width="9.5" floatingBehavior="enclosed"/>
</LAYOUTNODE>
<LAYOUTNODE name="Enc.Secundario" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.5" borderStyle="solid">
<rtl:input-variable name="rango_fecha" type="FGLString" expectedLocation="expectedAhead"/>
<WORDWRAPBOX name="rango_fecha Value" width="width(&quot;M&quot;)*20" floatingBehavior="enclosed" text="{{rango_fecha}}"/>
<WORDBOX name="WordBox5" width="342.328" alignment="near" floatingBehavior="enclosed" text=" Reporte productos terminados"/>
<rtl:input-variable name="fecha_reporte" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="fecha_reporte Value" alignment="near" floatingBehavior="enclosed" text="{{fecha_reporte}}"/>
</LAYOUTNODE>
<MINIPAGE name="Titulo1" width="9.2883" length="537.324" fontSize="7" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox2" width="233.809" alignment="center" floatingBehavior="enclosed" text="Producto"/>
<WORDBOX name="WordBox4_1" width="33.3244" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Cantidad"/>
<WORDBOX name="WordBox9" width="36" floatingBehavior="enclosed" textAlignment="right" text="UM"/>
<WORDBOX name="WordBox10" width="50.5" floatingBehavior="enclosed" textAlignment="right" text="F.conversion"/>
<WORDBOX name="WordBox10_1" width="45.5" floatingBehavior="enclosed" textAlignment="right" text="F.Adicional"/>
<WORDBOX name="WordBox11" width="64.5" floatingBehavior="enclosed" textAlignment="right" text="Mts. Adicionales"/>
</MINIPAGE>
</LAYOUTNODE>
<rtl:match name="Group cod_mov" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="titulo_mov" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="titulo_mov Value" width="233.5" alignment="baseline" fontSize="6" fontBold="true" floatingBehavior="enclosed" text="{{titulo_mov}}"/>
<rtl:match name="Group departamento" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="x.departamento" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="x.departamento Value" width="233.5" fontSize="6" fontBold="true" floatingBehavior="enclosed" text="{{x.departamento}}"/>
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="Data" width="min" length="538.746" fontSize="5" layoutDirection="leftToRight">
<rtl:input-variable name="producto" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="producto Value" width="233.327" alignment="baseline" fontSize="5" floatingBehavior="enclosed" text="{{producto}}"/>
<rtl:input-variable name="x.consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.consumo Value" width="33.7623" anchorX="1" alignment="baseline" fontSize="5" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,-----&amp;.&amp;&amp;" value="{{x.consumo}}"/>
<rtl:input-variable name="x.unidad_med" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="x.unidad_med Value" width="37.5" alignment="baseline" floatingBehavior="enclosed" text="{{x.unidad_med}}" textAlignment="right"/>
<rtl:input-variable name="x.factor_conv" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.factor_conv Value" width="49.5" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;&amp;&amp;&amp;" value="{{x.factor_conv}}"/>
<rtl:input-variable name="x.factor_ad" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.factor_ad Value" width="47" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;&amp;&amp;&amp;" value="{{x.factor_ad}}"/>
<rtl:input-variable name="x.mtsAdicionales" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.mtsAdicionales Value" width="61.5" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{x.mtsAdicionales}}"/>
</MINIPAGE>
<MINIPAGE name="total_departamento1" width="min" length="538.703" alignment="near" fontSize="5" fontBold="true" layoutDirection="leftToRight" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="seccion" width="24.28" length="5.95578" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Seccion:"/>
<rtl:input-variable name="y.seccion" type="FGLNumeric" expectedLocation="expectedAhead"/>
<DECIMALFORMATBOX name="y.seccion Value" class="grwNumericValue" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="----------#" value="{{y.seccion}}"/>
<LAYOUTNODE name="LayoutNode4" width="5.85786" length="11.997" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
<WORDBOX name="tramo" width="24.28" length="5.95578" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Tramo:"/>
<rtl:input-variable name="y.tramo" type="FGLNumeric" expectedLocation="expectedAhead"/>
<DECIMALFORMATBOX name="y.tramo Value" class="grwNumericValue" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="----------#" value="{{y.tramo}}"/>
<LAYOUTNODE name="LayoutNode4_1" width="5.85786" length="11.997" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
<WORDBOX name="fila" width="24.28" length="5.95578" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Fila:"/>
<rtl:input-variable name="y.fila" type="FGLNumeric" expectedLocation="expectedAhead"/>
<DECIMALFORMATBOX name="y.fila Value" class="grwNumericValue" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="----------#" value="{{y.fila}}"/>
<LAYOUTNODE name="LayoutNode4_2" width="5.85786" length="11.997" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
<WORDBOX name="posicion" width="24.28" length="5.95578" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Posicion:"/>
<rtl:input-variable name="y.posicion" type="FGLNumeric" expectedLocation="expectedAhead"/>
<DECIMALFORMATBOX name="y.posicion Value" class="grwNumericValue" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="----------#" value="{{y.posicion}}"/>
<LAYOUTNODE name="LayoutNode4_3" width="5.85786" length="11.997" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
</MINIPAGE>
<rtl:match name="For" nameConstraint="For" minOccurs="1" maxOccurs="1">
<rtl:match name="ForItem" nameConstraint="ForItem" minOccurs="0" maxOccurs="unbounded">
<rtl:match name="If" nameConstraint="If" minOccurs="1" maxOccurs="1">
<rtl:match name="IfThen" nameConstraint="IfThen" minOccurs="0" maxOccurs="1"/>
</rtl:match>
</rtl:match>
</rtl:match>
</rtl:match>
<MINIPAGE name="total_departamento" width="min" length="538.703" alignment="near" fontSize="5" fontBold="true" layoutDirection="leftToRight" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox6" width="223.28" length="5.95578" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Total departamento: "/>
<rtl:input-variable name="t_consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_consumo Value" width="42.4289" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_consumo}}"/>
<LAYOUTNODE name="LayoutNode2" width="5.85786" length="153.997" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
<rtl:input-variable name="t_mtsAdicionales" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_mtsAdicionales Value" width="41.4645" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_mtsAdicionales}}"/>
</MINIPAGE>
</rtl:match>
<MINIPAGE name="total_movimiento" width="min" length="538.287" fontSize="5" fontBold="true" layoutDirection="leftToRight" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox8" width="224.542" length="6.10193" floatingBehavior="enclosed" textAlignment="right" text="Total Movimiento: "/>
<rtl:input-variable name="t_m_consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_m_consumo Value" width="41.636" length="5.04545" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_m_consumo}}"/>
<LAYOUTNODE name="LayoutNode1" width="5.28431" length="154.438" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
<rtl:input-variable name="t_m_mtsAdicionales" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="t_m_mtsAdicionales Value" width="39.9792" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_m_mtsAdicionales}}"/>
</MINIPAGE>
</rtl:match>
<MINIPAGE name="total_general" width="min" length="538.287" fontSize="5" fontBold="true" layoutDirection="leftToRight" borderWidth="0.5" borderStyle="solid">
<WORDBOX name="WordBox13" width="223.28" length="6.10193" floatingBehavior="enclosed" textAlignment="right" text="Total General: "/>
<rtl:input-variable name="t_t_consumo" type="FGLNumeric" expectedLocation="expectedAhead"/>
<DECIMALFORMATBOX name="t_t_consumo Value" width="42.5" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_t_consumo}}"/>
<LAYOUTNODE name="LayoutNode" width="5.70476" length="154.964" layoutDirection="leftToRight" floatingBehavior="enclosed"/>
<rtl:input-variable name="t_t_mtsAdicionales" type="FGLNumeric" expectedLocation="expectedAhead"/>
<DECIMALFORMATBOX name="t_t_mtsAdicionales Value" width="40.2628" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{t_t_mtsAdicionales}}"/>
</MINIPAGE>
</MINIPAGE>
<rtl:match name="OnLastRow" nameConstraint="OnLastRow" minOccurs="0" maxOccurs="1"/>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>
+25 -17
View File
@@ -34,6 +34,7 @@ FUNCTION ipprrp054()
OPEN FORM ipfmrp054 FROM "ipfmrp054"
DISPLAY FORM ipfmrp054
CALL ui.Window.getCurrent().setText("Conduces con y sin Archivo")
INPUT BY NAME fecha1,fecha2
BEFORE INPUT
AFTER INPUT
@@ -50,27 +51,34 @@ FUNCTION ipprrp054()
LET r_filename = "ipprrp054.4rp"
CALL seleccionarsalida() RETURNING r_output
iF fgl_report_loadCurrentSettings(r_filename) THEN -- load the .4rp file
PREPARE comando FROM selec
DECLARE busca CURSOR FOR comando
OPEN busca USING fecha1,fecha2
LET idx = 0
FOREACH busca INTO co.*
IF idx = 0 THEN
CALL selectOutputSimple() RETURNING r_output
IF fgl_report_loadCurrentSettings(r_filename) THEN
LET preview = 1
CALL fgl_report_selectDevice(r_output)
CALL fgl_report_selectPreview(preview)
LET handler = fgl_report_commitCurrentSettings()
ELSE
EXIT PROGRAM
END IF
START REPORT prt_co TO XML HANDLER HANDLER
LET idx = 1
END IF
OUTPUT TO REPORT prt_co(co.*)
END FOREACH
LET preview=1
CALL fgl_report_selectDevice(r_output) -- changing default
CALL fgl_report_selectPreview(preview) -- changing default
LET handler = fgl_report_commitCurrentSettings() -- commit changes
ELSE
EXIT PROGRAM
IF idx = 1 THEN
FINISH REPORT prt_co
ELSE
CALL fgl_winmessage("INFO", "NO EXISTEN REGISTROS", "INFO")
END IF
START REPORT prt_co TO XML HANDLER HANDLER
PREPARE comando FROM selec
DECLARE busca CURSOR FOR comando
OPEN busca USING fecha1,fecha2
FOREACH busca INTO co.*
OUTPUT TO REPORT prt_co(co.*)
END FOREACH
FINISH REPORT prt_co
END INPUT
END FUNCTION
+65
View File
@@ -0,0 +1,65 @@
<?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="31405" version="6.00">
<report:Settings RWPageWidth="a4width" RWPageLength="a4length" RWLeftMargin="1.3cm" RWTopMargin="1.3cm" RWRightMargin="1.3cm" RWBottomMargin="1.3cm">
<report:FormatList>
<report:Format-SVG/>
<report:Format-PDF/>
<report:Format-image/>
</report:FormatList>
</report:Settings>
<report:Data RWDataLocation="../ipdir/ipprrp054.rdd" RWFglReportName="prt_co"/>
<report:Conflicts/>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report" minOccurs="1" maxOccurs="1">
<MINIPAGE name="Page Root" width="max" length="max">
<LAYOUTNODE name="Page Header" width="max" length="min" port="anyPageHeader">
<MINIPAGE name="StripeLayouter3" width="min" length="max" layoutDirection="leftToRight">
<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" baselineType="leftleft" floatingBehavior="enclosed" text="{{p_companias.nombre.trim()}}"/>
<PAGENOBOX name="PageNoBox" x="1.23857" y="max" anchorX="0" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="right"/>
<WORDBOX name="WordBox" floatingBehavior="enclosed" text="IPPRRP054"/>
<rtl:input-variable name="fecht" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox1" y="15cm" floatingBehavior="enclosed" text="{{fecht.trim()}}"/>
<WORDBOX name="WordBox10" x="1cm" y="7cm" fontBold="true" floatingBehavior="enclosed" text="Revision de Conduces"/>
<rtl:input-variable name="fecha1" type="FGLString" expectedLocation="expectedAhead"/>
<rtl:input-variable name="fecha2" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox11" x="1.5cm" y="7cm" floatingBehavior="enclosed" text="{{fecha1.trim()+&quot; AL &quot;+fecha2.trim()}}"/>
</MINIPAGE>
<MINIPAGE name="Separator1" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight"/>
<MINIPAGE name="Table Header" class="grwTableHeader" width="min" length="max" layoutDirection="leftToRight">
<WORDBOX name="Spacer" alignment="baseline" baselineType="leftleft" port="itemSeparator" text=" "/>
<WORDBOX name="WordBox2" floatingBehavior="enclosed" text="{{&quot;Num. Documento&quot;}}"/>
<WORDBOX name="WordBox3" y="4cm" floatingBehavior="enclosed" text="Cliente"/>
<WORDBOX name="WordBox8" y="11cm" floatingBehavior="enclosed" text="Estado"/>
<WORDBOX name="WordBox12" y="14cm" floatingBehavior="enclosed" text="Fecha Creacion"/>
</MINIPAGE>
<MINIPAGE name="Separator" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight"/>
</LAYOUTNODE>
<rtl:match name="Group cod_mov" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="Table Row1" class="grwTableRow" width="min" length="max" layoutDirection="leftToRight">
<WORDBOX name="Spacer_2" alignment="baseline" baselineType="leftleft" port="itemSeparator" text=" "/>
<rtl:input-variable name="titulo_mov" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox5" fontBold="true" floatingBehavior="enclosed" text="{{titulo_mov.trim()}}"/>
</MINIPAGE>
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="Table Row" class="grwTableRow" width="min" length="max" alignment="near" fontSize="8" layoutDirection="leftToRight">
<WORDBOX name="Spacer_1" alignment="baseline" baselineType="leftleft" port="itemSeparator" text=" "/>
<rtl:input-variable name="x.num_doc" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox6" width="2cm" floatingBehavior="enclosed" textAlignment="left" text="{{x.num_doc.format(&quot;&lt;&lt;&lt;&lt;&quot;)}}"/>
<rtl:input-variable name="x.cod_sp" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="x.cod_sp_sec" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="x.nombre" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox" y="4cm" width="max/3" alignment="baseline" floatingBehavior="enclosed" text="{{x.cod_sp.format(&quot;&lt;&lt;&quot;)+&quot;-&quot;+x.cod_sp_sec.format(&quot;&lt;&lt;&lt;&lt;&quot;)+&quot; &quot;+x.nombre.trim()}}"/>
<rtl:input-variable name="x.v_estado" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox9" y="11cm" floatingBehavior="enclosed" text="{{x.v_estado.trim()}}"/>
<rtl:input-variable name="x.fecha" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox13" y="14cm" floatingBehavior="enclosed" text="{{x.fecha.trim()}}"/>
</MINIPAGE>
</rtl:match>
</rtl:match>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>
File diff suppressed because one or more lines are too long
+14 -8
View File
@@ -363,7 +363,7 @@
<Configuration commandLineArguments="jpeguero Peguero2023" id="-554965098" label="Configuration"/>
<File compilerOptions="--build-rdd" filePath="lqdir/lqprmt002.4gl"/>
</Application>
<Application binaryName="lqprrp004" dependencies="2132467565,-1026233879,-764824792" externalDependencies="libgre.42x" id="-432861602" label="lqprrp004">
<Application binaryName="lqprrp004" dependencies="2132467565,-1026233879,-764824792,-1423229125" externalDependencies="libgre.42x" id="-432861602" label="lqprrp004">
<Configuration commandLineArguments="jpeguero Peguero2023" id="530364294" label="Configuration"/>
<File compilerOptions="--build-rdd" filePath="lqdir/lqprrp004.4gl"/>
</Application>
@@ -638,29 +638,35 @@
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp053.4gl"/>
<File filePath="ipdir/ipfmrp053.4fd"/>
</Application>
<Application binaryName="ipprrp014" dependencies="1763548104,-1026233879,-764824792" externalDependencies="libgre.42x" id="-960000028" label="ipprrp014">
<Application binaryName="ipprrp014" dependencies="1763548104,-1026233879,-764824792,-1423229125" externalDependencies="libgre.42x" id="-960000028" label="ipprrp014">
<Configuration commandLineArguments="jpeguero Peguero2023" id="-961000028" label="Configuration"/>
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp014.4gl"/>
<File filePath="ipdir/ipfmrp014.4fd"/>
</Application>
<Application binaryName="ipprrp046" dependencies="1763548104,-1026233879,-764824792" externalDependencies="libgre.42x" id="-960000029" label="ipprrp046">
<Application binaryName="ipprrp046" dependencies="1763548104,-1026233879,-764824792,-1423229125" externalDependencies="libgre.42x" id="-960000029" label="ipprrp046">
<Configuration commandLineArguments="jpeguero Peguero2023" id="-961000029" label="Configuration"/>
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp046.4gl"/>
<File filePath="ipdir/ipfmrp046.per"/>
</Application>
<Application binaryName="ipprrp047" dependencies="1763548104,-1026233879,-764824792" externalDependencies="libgre.42x" id="-960000030" label="ipprrp047">
<Application binaryName="ipprrp047" dependencies="1763548104,-1026233879,-764824792,-1423229125" externalDependencies="libgre.42x" id="-960000030" label="ipprrp047">
<Configuration commandLineArguments="jpeguero Peguero2023" id="-961000030" label="Configuration"/>
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp047.4gl"/>
<File filePath="ipdir/ipfmrp047.4fd"/>
</Application>
<Application binaryName="ipprrp048" dependencies="1763548104,-1026233879,-764824792" externalDependencies="libgre.42x" id="-960000031" label="ipprrp048">
<Application binaryName="ipprrp048" dependencies="1763548104,-1026233879,-764824792,-1423229125" externalDependencies="libgre.42x" id="-960000031" label="ipprrp048">
<Configuration commandLineArguments="jpeguero Peguero2023" id="-961000031" label="Configuration"/>
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp048.4gl"/>
<File filePath="ipdir/ipfmrp048.4fd"/>
</Application>
<Application binaryName="ipprrp051" dependencies="1763548104,-1026233879,-764824792" externalDependencies="libgre.42x" id="-960000032" label="ipprrp051">
<Application binaryName="ipprrp051" dependencies="1763548104,-1026233879,-764824792,-1423229125" externalDependencies="libgre.42x" id="-960000032" label="ipprrp051">
<Configuration commandLineArguments="jpeguero Peguero2023" id="-961000032" label="Configuration"/>
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp051.4gl"/>
<File filePath="ipdir/ipfmrp051.4fd"/>
</Application>
<Application binaryName="ipprrp054" dependencies="1763548104,-1026233879,-764824792" externalDependencies="libgre.42x" id="-960000033" label="ipprrp054">
<Application binaryName="ipprrp054" dependencies="1763548104,-1026233879,-764824792,-1423229125" externalDependencies="libgre.42x" id="-960000033" label="ipprrp054">
<Configuration commandLineArguments="jpeguero Peguero2023" id="-961000033" label="Configuration"/>
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp054.4gl"/>
<File filePath="ipdir/ipfmrp054.4fd"/>
</Application>
</Group>
<Group id="615555875" label="PRODUCCION">
@@ -680,7 +686,7 @@
<Configuration commandLineArguments="jpeguero Peguero2023" id="-211320415" label="Configuration"/>
<File filePath="PRDIR/prprmt010.4gl"/>
</Application>
<Application binaryName="prprmt011" dependencies="-837156229,-1026233879,-764824792" externalDependencies="libgre.42x" id="-284744691" label="prprmt011">
<Application binaryName="prprmt011" dependencies="-837156229,-1026233879,-764824792,-1423229125" externalDependencies="libgre.42x" id="-284744691" label="prprmt011">
<Configuration commandLineArguments="jpeguero Peguero2023" id="-569394285" label="Configuration"/>
<File compilerOptions="--build-rdd" filePath="PRDIR/prprmt011.4gl"/>
</Application>