This commit is contained in:
Abel López
2026-09-29 16:48:14 -04:00
15 changed files with 1052 additions and 138 deletions
+70
View File
@@ -0,0 +1,70 @@
<?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="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="ipprrp005.rdd" RWFglReportName="maestra_st"/>
<report:Conflicts/>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report" minOccurs="1" maxOccurs="1">
<MINIPAGE name="page root" width="max" length="max" alignment="near" fontName="Arial">
<LAYOUTNODE name="header" width="min" length="min" swapX="true" port="firstPageHeader">
<MINIPAGE name="StripeLayouter11" width="97.3906" alignment="near" layoutDirection="leftToRight">
<LAYOUTNODE name="Layout Node9" y="max-33.3652" width="214.531" length="26.3906" anchorY="1" alignment="center" layoutDirection="topToBottom" baselineType="leftleft" floatingBehavior="free" borderStyle="none">
<WORDBOX name="WordBox47" width="213.984" length="14.3281" alignment="far" fontSize="15" fontBold="true" underline="true" layoutDirection="topToBottom" baselineType="leftleft" textAlignment="center" text="MAESTRA COSTO STANDARD" trimText="both"/>
</LAYOUTNODE>
<IMAGEBOX name="ImageBox1_1" y="29.4882" width="221.836" length="92.4741" floatingBehavior="enclosed" url="logo.png" intendedResolution="120"/>
</MINIPAGE>
</LAYOUTNODE>
<rtl:match name="Group ventas" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="category" width="32.5063" length="max" alignment="center" layoutDirection="leftToRight">
<rtl:input-variable name="tipo_reporte" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="tipo_reporte Value" class="grwStringValue" x="2.72501" y="2.90761" width="189.563" length="25.7813" anchorX="0" anchorY="0" fontSize="16" floatingBehavior="enclosed" text="{{tipo_reporte}}" textAlignment="left" borderTopColor="#000000" borderRightColor="#000000" borderBottomColor="#000000" borderLeftColor="#000000"/>
</MINIPAGE>
<MINIPAGE name="encabezado" width="min" length="max" layoutDirection="leftToRight">
<MINIPAGE name="StripeLayouter23_1" width="6.83465" bgColor="#cc" layoutDirection="leftToRight"/>
<MINIPAGE name="encabezadodetalle1" width="13.3906" length="max" bgColor="#cccccc" fontBold="true" layoutDirection="leftToRight">
<WORDBOX name="WordBox161" width="190.688" length="12.3906" alignment="center" baselineType="leftleft" textAlignment="center" text="PRODUCTO"/>
<LAYOUTNODE name="espacio7" width="min" length="6.5197" layoutDirection="leftToRight"/>
<WORDBOX name="WordBox162" width="76.9055" length="12.7813" alignment="baseline" baselineType="leftleft" textAlignment="center" text="MATERIAL"/>
<LAYOUTNODE name="espacio8" width="min" length="6.5197" layoutDirection="leftToRight"/>
<WORDBOX name="WordBox163" width="70.6929" alignment="baseline" baselineType="leftleft" textAlignment="center" text="LABOR"/>
<LAYOUTNODE name="espacio9" width="min" length="6.5197" layoutDirection="leftToRight"/>
<WORDBOX name="WordBox164" width="64.5197" alignment="baseline" baselineType="leftleft" textAlignment="center" text="GASTO"/>
<LAYOUTNODE name="espacio10" width="min" length="6.5197" layoutDirection="leftToRight"/>
<WORDBOX name="WordBox165" width="74.8661" alignment="baseline" floatingBehavior="free" textAlignment="center" text="COSTO STD."/>
</MINIPAGE>
<MINIPAGE name="StripeLayouter25_1" width="6.83465" bgColor="#cc" layoutDirection="leftToRight"/>
</MINIPAGE>
<rtl:match name="Group cod_n" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<LAYOUTNODE name="LayoutNode31_1" width="37.278" length="max" alignment="near" fontSize="9" layoutDirection="leftToRight" borderWidth="1" borderStyle="solid" borderColor="#000000">
<LAYOUTNODE name="espacio6" width="min" length="11" layoutDirection="leftToRight"/>
<rtl:input-variable name="producto" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox13" width="178.359" length="29.3281" alignment="baseline" floatingBehavior="enclosed" text="{{producto}}" trimText="both" textAlignment="center"/>
<LAYOUTNODE name="espacio" width="min" length="6.5197" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.material" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.material Value1" class="grwNumericValue" width="75.9375" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="center" format="---,---,---,--&amp;.&amp;&amp;" value="{{x.material}}"/>
<LAYOUTNODE name="espacio1" width="min" length="7.5197" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.labor" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.labor Value1" class="grwNumericValue" width="70.9688" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="center" format="---,---,---,--&amp;.&amp;&amp;" value="{{x.labor}}"/>
<LAYOUTNODE name="espacio5" width="min" length="5.5197" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.gastos" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.gastos Value1" class="grwNumericValue" width="66.5" anchorX="1" floatingBehavior="enclosed" textAlignment="center" format="---,---,---,--&amp;.&amp;&amp;" value="{{x.gastos}}"/>
<LAYOUTNODE name="espacio5_1" width="27" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="costo_std" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="costo_std Value1" class="grwNumericValue" width="84.5" anchorX="1" floatingBehavior="enclosed" textAlignment="center" format="---,---,---,--&amp;.&amp;&amp;" value="{{costo_std}}"/>
</LAYOUTNODE>
</rtl:match>
</rtl:match>
</rtl:match>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>
+107
View File
@@ -0,0 +1,107 @@
<?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="23cm" RWPageLength="29cm" 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="ipprrp009.rdd" RWFglReportName="existencia_grafica"/>
<report:Conflicts>
<report:Conflict nodeName="Page Header" message="Node was in trigger &quot;FirstPageHeader [0; 1]&quot;, but trigger was removed during schema update"/>
<report:Conflict nodeName="Table Row" message="Node was in trigger &quot;If&quot;, but trigger was removed during schema update"/>
</report:Conflicts>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report" minOccurs="1" maxOccurs="1">
<MINIPAGE name="Page Root" width="623.459" length="max" alignment="near" layoutDirection="topToBottom">
<rtl:match name="FirstPageHeader" nameConstraint="FirstPageHeader" minOccurs="0" maxOccurs="1">
<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="expectedHere"/>
<WORDBOX name="Report Title" x="1.2386" y="max*0.5188" width="326.271" anchorX="0" anchorY="0.5" alignment="baseline" fontSize="25" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="center" text="{{p_companias.nombre.trim()}}"/>
<PAGENOBOX name="PageNoBox" x="1.2386" y="621.231" anchorX="0" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="right"/>
<WORDBOX name="WordBox3" fontBold="true" floatingBehavior="enclosed" text="ipprrp009"/>
</MINIPAGE>
<MINIPAGE name="MiniPage" width="47.1355" length="max" alignment="near" fontBold="true" layoutDirection="leftToRight">
<WORDBOX name="WordBox" y="228.252" floatingBehavior="enclosed" text="Sistema de Inventario Productos"/>
<WORDBOX name="WordBox1" x="12.7663" y="228.252" floatingBehavior="enclosed" text="Existencia de Diferentes Fechas"/>
<rtl:input-variable name="tipo" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox2" x="27.4321" y="264.185" width="109.16" alignment="baseline" floatingBehavior="enclosed" textAlignment="center" text="{{tipo.trim()}}"/>
<rtl:input-variable name="fecha" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="fecha Value" class="grwStringValue" x="0.2827" y="527.884" width="96.5238" anchorX="0" anchorY="0" floatingBehavior="enclosed" text="{{&quot;FECHA: &quot;+fecha}}"/>
<rtl:input-variable name="hora" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="hora Value" class="grwStringValue" x="12.7663" y="568.529" width="54.9531" anchorX="0" anchorY="0" floatingBehavior="enclosed" text="{{hora}}"/>
</MINIPAGE>
<MINIPAGE name="Separator_1_1" width="1" length="max" alignment="near" bgColor="#000000" layoutDirection="leftToRight" swapX="false"/>
<MINIPAGE name="Table Header" class="grwTableHeader" width="20.6336" length="max" alignment="near" fontSize="10" fontBold="true" layoutDirection="leftToRight">
<WORDBOX name="Spacer" alignment="baseline" baselineType="leftleft" port="itemSeparator" text=" "/>
<WORDBOX name="WordBox4" alignment="near" fontSize="8" floatingBehavior="enclosed" text="Codigo"/>
<WORDBOX name="WordBox5" y="4cm" width="139.438" alignment="near" fontSize="8" floatingBehavior="enclosed" text="Descripcion"/>
<WORDWRAPBOX name="WordWrapBox6" y="517.201" width="47.1379" length="10.0857" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{&quot;Costo std &quot;}}" textAlignment="center"/>
<WORDWRAPBOX name="WordWrapBox" y="479.356" width="33.8031" length="10.7166" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{&quot;Gasto&quot;}}" textAlignment="center"/>
<rtl:input-variable name="datos_cons.fech_fi" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox1" y="326.129" width="width(&quot;M&quot;)*7.5" length="24.8959" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{&quot;Existencia Al &quot;+datos_cons.fech_fi}}" textAlignment="center"/>
<WORDWRAPBOX name="WordWrapBox2" y="386.022" width="width(&quot;M&quot;)*7.5" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{&quot;Material &quot;}}" textAlignment="center"/>
<WORDWRAPBOX name="WordWrapBox3" y="439.3" width="37.0051" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{&quot;Labor&quot;}}" textAlignment="center"/>
<rtl:input-variable name="datos_cons.fech_fi" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox5" y="566.114" width="width(&quot;M&quot;)*7.5" length="18.6336" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{&quot;Total Al &quot;+datos_cons.fech_fi}}" textAlignment="center"/>
</MINIPAGE>
<MINIPAGE name="Separator" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight"/>
</LAYOUTNODE>
</rtl:match>
<rtl:match name="Group cod_cia" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="Table Header1" class="grwTableHeader" width="min" length="max" alignment="near" fontSize="10" fontBold="true" layoutDirection="leftToRight">
<rtl:input-variable name="x.descripcion" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox13_1" y="0" width="117.906" length="21.9219" fontSize="9" floatingBehavior="enclosed" text="{{&quot;ORIGEN: &quot;+x.descripcion}}"/>
</MINIPAGE>
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="Table Row" class="grwTableRow" width="12.5035" length="max" alignment="near" fontSize="8" layoutDirection="leftToRight">
<WORDBOX name="Spacer_1" alignment="baseline" baselineType="leftleft" port="itemSeparator" text=" "/>
<rtl:input-variable name="producto" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox12" width="104.474" alignment="baseline" fontSize="8" floatingBehavior="enclosed" text="{{producto}}"/>
<rtl:input-variable name="x.costo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="WordBox13_2" y="525.34" width="34.7517" length="11.1437" fontSize="8" floatingBehavior="enclosed" textAlignment="center" value="{{x.costo}}"/>
<rtl:input-variable name="x.descrip_esp" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox7" y="113.386" width="205.832" length="11.6248" alignment="near" fontSize="7" baselineType="leftleft" floatingBehavior="enclosed" text="{{x.descrip_esp.trim()}}"/>
<rtl:input-variable name="x.existe_act" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="DecimalFormatBox2" y="327.777" width="47.6094" fontSize="8" floatingBehavior="enclosed" textAlignment="center" value="{{x.existe_act}}"/>
<rtl:input-variable name="x.gasto" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="WordBox14_2" y="483.127" width="31.1503" fontSize="8" floatingBehavior="enclosed" textAlignment="center" value="{{x.gasto}}"/>
<rtl:input-variable name="x.material" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="DecimalFormatBox" y="390.866" width="41.1525" length="10.9219" alignment="baseline" fontSize="8" floatingBehavior="enclosed" textAlignment="center" value="{{x.material}}"/>
<rtl:input-variable name="x.labor" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="DecimalFormatBox1" y="440.987" width="32.6334" fontSize="8" floatingBehavior="enclosed" textAlignment="center" value="{{x.labor}}"/>
<rtl:input-variable name="x.total_c" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox19" y="566.114" width="50.6067" length="10.9219" fontSize="8" floatingBehavior="enclosed" text="{{x.total_c.format(&quot;###,###,###.&amp;&amp;&quot;)}}"/>
</MINIPAGE>
<MINIPAGE name="Separator1_1" width="4" length="max" layoutDirection="leftToRight"/>
</rtl:match>
<MINIPAGE name="MiniPage1_1" width="min" length="min" layoutDirection="leftToRight">
<rtl:input-variable name="x.descripcion" type="FGLString" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox28" width="192.906" alignment="baseline" fontSize="8" fontBold="true" floatingBehavior="enclosed" text="{{&quot;TOTAL &quot;+x.descripcion}}" borderColor="#000000"/>
<MINIPAGE name="Table Row2" class="grwTableRow" width="14" length="8.309" alignment="near" fontSize="8" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_cia" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_exit_act Value1" class="grwNumericValue" width="80.3125" anchorX="1" alignment="baseline" fontSize="8" fontBold="true" floatingBehavior="enclosed" textAlignment="left" format="---,---,---,--&amp;.&amp;&amp;" value="{{total_cia}}" borderColor="#000000"/>
<MINIPAGE name="Separator1_1_1" width="4" length="max" layoutDirection="leftToRight"/>
</MINIPAGE>
</rtl:match>
<rtl:match name="OnLastRow" nameConstraint="OnLastRow" minOccurs="0" maxOccurs="1">
<MINIPAGE name="Separator1" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight"/>
<MINIPAGE name="MiniPage1" width="min" length="min" layoutDirection="leftToRight">
<rtl:input-variable name="tt" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox20" width="148.906" alignment="baseline" fontSize="8" floatingBehavior="enclosed" text="{{&quot;Total De Registros: &quot;+tt}}"/>
<MINIPAGE name="Table Row1" class="grwTableRow" width="min" length="160.969" alignment="near" fontSize="8" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_exit_act" type="FGLNumeric" expectedLocation="expectedBefore"/>
<DECIMALFORMATBOX name="total_exit_act Value" class="grwNumericValue" anchorX="1" alignment="baseline" fontSize="8" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{total_exit_act}}"/>
<MINIPAGE name="Table Row1_1" class="grwTableRow" width="min" length="196.59" alignment="near" fontSize="8" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_gral" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="DecimalFormatBox3" width="64.9434" alignment="baseline" fontSize="8" floatingBehavior="enclosed" value="{{total_gral}}"/>
</MINIPAGE>
</rtl:match>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>
+63 -21
View File
@@ -1,29 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<report:Report xmlns:rtl="http://www.4js.com/2004/RTL" xmlns:report="http://www.4js.com/2007/REPORT" xmlns="http://www.4js.com/2004/PXML" version="1.0"> <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="60003" version="7.00">
<report:Settings RWPageWidth="1.5inch" RWPageLength="1.2inch" RWLeftMargin="0.1inch" RWTopMargin="0.1inch" RWRightMargin="0.2inch" RWBottomMargin="0.2inch"> <report:Settings RWPageWidth="a4width" RWPageLength="a4length" RWLeftMargin="1.3cm" RWTopMargin="1.3cm" RWRightMargin="1.3cm" RWBottomMargin="1.3cm">
<report:FormatList> <report:FormatList>
<report:Format-SVG></report:Format-SVG> <report:Format-SVG/>
<report:Format-PDF></report:Format-PDF> <report:Format-PDF/>
<report:Format-image></report:Format-image> <report:Format-image/>
</report:FormatList> </report:FormatList>
</report:Settings> </report:Settings>
<report:Data RWDataLocation="../../PROYECTOS/ipdir/ipprrp021.rdd" RWFglReportName="activos"></report:Data> <report:Data RWFglReportName="detalle"/>
<report:Conflicts/>
<rtl:stylesheet> <rtl:stylesheet>
<rtl:match nameConstraint="Report"> <PXML>
<PXML name="ipprrp010.4rp"> <rtl:match name="Report" nameConstraint="Report" minOccurs="1" maxOccurs="1">
<rtl:match nameConstraint="Group" minOccurs="0" maxOccurs="unbounded"> <MINIPAGE name="page root" width="max" length="max" alignment="near" fontName="Arial">
<MINIPAGE name="Page Root" width="max" length="max"> <LAYOUTNODE name="header" width="min" length="min" port="firstPageHeader">
<LAYOUTNODE name="Layout Node3" width="min" length="min" fontSize="10"> <WORDBOX name="Title" width="200" length="14" alignment="near" fontSize="15" fontBold="true" text="Operaciones Por Movimientos Al Standard"/>
<MINIPAGE name="MiniPage3" width="min" length="min" layoutDirection="leftToRight"> </LAYOUTNODE>
<WORDBOX name="WordBox5" width="100" alignment="baseline" fontSize="14" baselineType="leftleft" text="ELEMENTS"></WORDBOX> <rtl:match name="Group cod_mov" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<WORDWRAPBOX name="WordWrapBox1" width="81.0559" length="11.3479" alignment="baseline" fontSize="10" baselineType="leftleft" text="{{&quot;(&quot;+x.format(&quot;&amp;&amp;&amp;&amp;&amp;&amp;&quot;)+&quot;)&quot;+&quot; &quot;+descripcion.trim()}}"></WORDWRAPBOX> <MINIPAGE name="grupo header" width="min" length="12" layoutDirection="leftToRight" bgColor="#cccccc" fontBold="true">
<rtl:input-variable name="x.cod_mov" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="cod_mov Value" width="30" length="12" alignment="baseline" floatingBehavior="enclosed" text="{{x.cod_mov}}"/>
<rtl:input-variable name="x.descrip_mov" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="descrip_mov Value" width="150" length="12" alignment="baseline" floatingBehavior="enclosed" text="{{x.descrip_mov}}"/>
</MINIPAGE>
<MINIPAGE name="encabezado" width="min" length="12" bgColor="#eeeeee" fontBold="true" layoutDirection="leftToRight">
<WORDBOX name="h1" width="18" length="12" alignment="baseline" text="Docto."/>
<WORDBOX name="h2" width="14" length="12" alignment="baseline" text="Orden"/>
<WORDBOX name="h3" width="16" length="12" alignment="baseline" text="Fecha"/>
<WORDBOX name="h4" width="30" length="12" alignment="baseline" text="Proveedor"/>
<WORDBOX name="h5" width="18" length="12" alignment="baseline" text="Producto"/>
<WORDBOX name="h6" width="60" length="12" alignment="baseline" text="Descripcion"/>
<WORDBOX name="h7" width="20" length="12" alignment="baseline" textAlignment="right" text="Cantidad"/>
<WORDBOX name="h8" width="22" length="12" alignment="baseline" textAlignment="right" text="Costo"/>
<WORDBOX name="h9" width="24" length="12" alignment="baseline" textAlignment="right" text="Total"/>
</MINIPAGE>
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="fila" width="min" length="12" layoutDirection="leftToRight">
<rtl:input-variable name="pcodigo" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="pcodigo Value" width="18" length="12" alignment="baseline" floatingBehavior="enclosed" text="{{pcodigo}}"/>
<rtl:input-variable name="x.num_doc" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="num_doc Value" width="14" length="12" alignment="baseline" floatingBehavior="enclosed" format="&amp;&amp;&amp;&amp;&amp;&amp;" value="{{x.num_doc}}"/>
<rtl:input-variable name="x.orden" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="orden Value" width="16" length="12" alignment="baseline" floatingBehavior="enclosed" format="&amp;&amp;&amp;&amp;&amp;&amp;&amp;" value="{{x.orden}}"/>
<rtl:input-variable name="fecha_fmt" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="fecha_fmt Value" width="16" length="12" alignment="baseline" floatingBehavior="enclosed" text="{{fecha_fmt}}"/>
<rtl:input-variable name="x.proveedor" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="proveedor Value" width="30" length="12" alignment="baseline" floatingBehavior="enclosed" text="{{x.proveedor}}"/>
<rtl:input-variable name="x.descrip_esp" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="descrip_esp Value" width="60" length="12" alignment="baseline" floatingBehavior="enclosed" text="{{x.descrip_esp}}"/>
<rtl:input-variable name="x.consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="consumo Value" width="20" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="---,---,--&amp;.&amp;&amp;&amp;" value="{{x.consumo}}"/>
<rtl:input-variable name="x.costo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="costo Value" width="22" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="-,---,---,--&amp;.&amp;&amp;&amp;" value="{{x.costo}}"/>
<rtl:input-variable name="total_p" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_p Value" width="24" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="--,---,---,--&amp;.&amp;&amp;" value="{{total_p}}"/>
</MINIPAGE> </MINIPAGE>
<WORDBOX name="separator" alignment="baseline" baselineType="leftleft" port="itemSeparator" text=""></WORDBOX> </rtl:match>
<BARCODEBOX name="BarCodeBox1" anchorX="0" anchorY="0" codeType="code-128" codeValue="{{barcodigo_act.value}}" noText="false"></BARCODEBOX> <MINIPAGE name="grupo footer" width="min" length="12" layoutDirection="leftToRight" fontBold="true">
</LAYOUTNODE> <WORDBOX name="totalLabel" width="100" length="12" alignment="baseline" textAlignment="right" text="Total ---->"/>
</MINIPAGE> <rtl:input-variable name="total_consumo_m" type="FGLNumeric" expectedLocation="expectedHere"/>
</rtl:match> <DECIMALFORMATBOX name="total_consumo_m Value" width="20" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="---,---,--&amp;.&amp;&amp;&amp;" value="{{total_consumo_m}}"/>
</PXML> <rtl:input-variable name="total_m" type="FGLNumeric" expectedLocation="expectedHere"/>
</rtl:match> <DECIMALFORMATBOX name="total_m Value" width="46" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="--,---,---,--&amp;.&amp;&amp;" value="{{total_m}}"/>
</MINIPAGE>
</rtl:match>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet> </rtl:stylesheet>
</report:Report> </report:Report>
+140
View File
@@ -0,0 +1,140 @@
<?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="25.00cm" RWPageLength="29.70cm" RWLeftMargin="0.511993cm" RWTopMargin="1.3cm" RWRightMargin="0.430673cm" RWBottomMargin="1.3cm">
<report:FormatList>
<report:Format-SVG/>
<report:Format-PDF/>
<report:Format-image/>
</report:FormatList>
</report:Settings>
<report:Data RWDataLocation="../ipdir/ipprrp035.rdd" RWFglReportName="inv1"/>
<report:Conflicts>
<report:Conflict nodeName="LayoutNode31_1_1" message="Node was in trigger &quot;OnLastRow [0; 1]&quot;, but trigger was removed during schema update"/>
</report:Conflicts>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report" minOccurs="1" maxOccurs="1">
<MINIPAGE name="pageRoot" width="max" length="766.687" alignment="near" fontName="Arial">
<rtl:match name="FirstPageHeader" nameConstraint="FirstPageHeader" minOccurs="0" maxOccurs="1">
<LAYOUTNODE name="Layout Node7" width="min" length="min" alignment="center" swapX="true" port="firstPageHeader">
<LAYOUTNODE name="Titulo" width="min" length="max" fontBold="true" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.2" borderStyle="solid" borderColor="#828282">
<WORDBOX name="WordBox159" width="66" alignment="baseline" floatingBehavior="enclosed" text="ipprrp035"/>
<WORDWRAPBOX name="p_companias.nombre Value" width="549.417" length="14.7813" alignment="baseline" floatingBehavior="enclosed" text="{{&quot;MARMOTECH S.A.&quot;}}" textAlignment="center"/>
<WORDBOX name="WordBox159_1" width="66" alignment="baseline" floatingBehavior="enclosed" text=""/>
</LAYOUTNODE>
<MINIPAGE name="Enc.Secundario" width="min" length="min" alignment="near" layoutDirection="leftToRight" borderWidth="0.2" borderStyle="solid" borderColor="#828282">
<WORDBOX name="WordBox2" width="679.635" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" text="Reporte costos de calidad" borderWidth="0"/>
<rtl:input-variable name="fecha_actual" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="x.fecha_factura Value" width="141.56" length="22.3906" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="right" text="{{fecha_actual}}" borderWidth="0"/>
</MINIPAGE>
<MINIPAGE name="StripeLayouter14" width="24.7303" length="max" alignment="center" layoutDirection="leftToRight">
<WORDBOX name="WordBox2_1_1" width="146" alignment="baseline" fontBold="true" floatingBehavior="enclosed" textAlignment="left" text="Fecha desde:" borderWidth="0"/>
<WORDBOX name="WordBox2_1" width="153" alignment="baseline" fontBold="true" floatingBehavior="enclosed" textAlignment="left" text="Hasta:" borderWidth="0"/>
<rtl:input-variable name="fecha1" type="FGLString" expectedLocation="expectedHere"/>
<DATEFORMATBOX name="fech_inicio Value" class="grwDateValue" x="0.4891" y="80.0076" width="62.125" anchorX="0" anchorY="0" floatingBehavior="enclosed" format="{{&quot;dd/mm/yyyy&quot;}}" value="{{Date.fromIsoValue(fecha1.isoValue)}}"/>
<rtl:input-variable name="fecha2" type="FGLString" expectedLocation="expectedHere"/>
<DATEFORMATBOX name="fech_corte Value" class="grwDateValue" x="0.4891" y="186.04" width="102.969" anchorX="0" anchorY="0" floatingBehavior="enclosed" format="{{&quot;dd/mm/yyyy&quot;}}" value="{{Date.fromIsoValue(fecha2.isoValue)}}"/>
</MINIPAGE>
</LAYOUTNODE>
</rtl:match>
<rtl:match name="Group origen_producto" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<LAYOUTNODE name="espacio5_5_1" rtl:condition="x.origen_producto.length()&gt;1" width="6" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<LAYOUTNODE name="LayoutNode31_1" rtl:condition="x.origen_producto.length()&gt;1" width="26.5682" length="max" alignment="near" fontSize="9" layoutDirection="leftToRight" borderWidth="1" borderColor="#dfdfdf">
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="karr_ordenes.valor Value9" class="grwNumericValue" width="254.866" length="25.0469" anchorX="1" alignment="center" fontSize="10" fontBold="true" baselineType="leftleft" textAlignment="left" text="{{&quot;ORIGEN: &quot;+x.origen_producto}}"/>
</LAYOUTNODE>
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<LAYOUTNODE name="encabezadod" rtl:condition="x.origen_producto.length()&gt;1" width="max" length="min" swapX="true">
<MINIPAGE name="StripeLayouter23" width=".1cm" bgColor="#cc" layoutDirection="leftToRight"/>
<MINIPAGE name="encabezadodetalle" width="min" length="max" bgColor="#cccccc" fontBold="true" layoutDirection="leftToRight">
<rtl:input-variable name="titulo_columna1" type="FGLString" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox44" width="92.688" length="12.3906" alignment="center" fontSize="8" baselineType="leftleft" textAlignment="center" text="{{titulo_columna1}}"/>
<WORDWRAPBOX name="WordWrapBox17" width="113.52" alignment="center" fontSize="8" baselineType="leftleft" text="MOV44: REPOSICIONES" textAlignment="center"/>
<WORDWRAPBOX name="WordBox120_1_2" width="120.347" alignment="center" fontSize="8" floatingBehavior="enclosed" text="MOV12: DEVOLUCION BUEN ESTADO" textAlignment="center"/>
<WORDWRAPBOX name="WordBox120_4" width="100.347" alignment="center" fontSize="8" floatingBehavior="enclosed" text="MOV13: DEVOLUCION MAL ESTADO" textAlignment="center"/>
<WORDBOX name="WordBox120_1" width="73.3465" alignment="center" fontSize="8" floatingBehavior="enclosed" textAlignment="center" text="TOTAL $"/>
<WORDBOX name="WordBox120_3_1" width="67.4176" alignment="center" fontSize="8" floatingBehavior="enclosed" textAlignment="center" text="TOTAL FACT $"/>
<WORDBOX name="WordBox120_3" width="86.6228" alignment="center" fontSize="8" floatingBehavior="enclosed" textAlignment="center" text="COSTO CALIDAD"/>
</MINIPAGE>
<MINIPAGE name="StripeLayouter25" width=".1cm" bgColor="#cc" layoutDirection="leftToRight"/>
</LAYOUTNODE>
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<LAYOUTNODE name="LayoutNode31" rtl:condition="x.origen_producto.length()&gt;1" width="26.5682" length="max" alignment="near" fontSize="9" layoutDirection="leftToRight" borderWidth="1" borderStyle="solid" borderColor="#dfdfdf">
<rtl:input-variable name="x.tipo_producto" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox4" width="86.359" length="24.3281" alignment="baseline" fontSize="8" floatingBehavior="enclosed" text="{{x.tipo_producto}}" trimText="both" textAlignment="center"/>
<LAYOUTNODE name="espacio" width="min" length="3.5197" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.mov44" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="DecimalFormatBox" width="119.197" length="24.2783" alignment="baseline" fontSize="8" baselineType="leftleft" textAlignment="center" value="{{x.mov44}}"/>
<LAYOUTNODE name="espacio5_1" width="21" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.mov12" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="WordWrapBox4_2" width="109.359" length="24.3281" alignment="baseline" fontSize="8" floatingBehavior="enclosed" textAlignment="center" value="{{x.mov12}}"/>
<LAYOUTNODE name="espacio5_1_7" width="21" length="4" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.mov13" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value5" class="grwNumericValue" width="93.866" length="25.0469" anchorX="1" alignment="near" fontSize="8" floatingBehavior="enclosed" textAlignment="center" value="{{x.mov13}}"/>
<LAYOUTNODE name="espacio5_1_1" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.total" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="arr_costos.codigo_bloque Value4" class="grwStringValue" width="68.9844" length="23.0469" floatingBehavior="enclosed" textAlignment="center" value="{{x.total}}"/>
<LAYOUTNODE name="espacio5_1_2" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.total_fact" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.costo_lab1" class="grwStringValue" width="62.9531" length="24.0469" alignment="baseline" floatingBehavior="enclosed" textAlignment="center" value="{{x.total_fact}}"/>
<LAYOUTNODE name="espacio5_1_2_1" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="container" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="container Value3" class="grwStringValue" x="1.8655" y="568.132" width="71.1153" length="20.578" anchorX="0" anchorY="0" floatingBehavior="enclosed" textAlignment="center" text="{{container}}"/>
</LAYOUTNODE>
</rtl:match>
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedHere"/>
<LAYOUTNODE name="LayoutNode31_1_1_1" rtl:condition="x.origen_producto.length()&gt;1" width="25.433" length="max" alignment="near" fontSize="9" layoutDirection="leftToRight" borderWidth="1" borderStyle="solid" borderColor="#000000">
<rtl:input-variable name="registros_prod" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox14" width="87.359" length="24.3281" alignment="center" fontSize="8" fontBold="true" floatingBehavior="enclosed" text="{{&quot;Registros origen: &quot;+registros_prod}}" trimText="both" textAlignment="left"/>
<LAYOUTNODE name="espacio5_5" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_mov44" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4_3" class="grwNumericValue" width="117.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_mov44}}"/>
<LAYOUTNODE name="espacio5_3_3" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_mov12" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4_4" class="grwNumericValue" width="107.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_mov12}}"/>
<LAYOUTNODE name="espacio5_3_4" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_mov13" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value8" class="grwNumericValue" width="91.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_mov13}}"/>
<LAYOUTNODE name="espacio5_1_8" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_general" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="arr_costos.codigo_bloque Value7" class="grwStringValue" width="72.1736" length="25.0469" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_general}}"/>
<LAYOUTNODE name="espacio5_1_9" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_general_fact" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.costo_lab4" class="grwStringValue" width="61.9531" length="24.0469" alignment="baseline" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_general_fact}}"/>
<LAYOUTNODE name="espacio5_1_2_1_1" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="container" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="container Value4" class="grwStringValue" x="0.7731" y="570.969" width="69.0852" length="21.4189" anchorX="0" anchorY="0" fontBold="true" floatingBehavior="enclosed" textAlignment="center" text="{{container}}"/>
</LAYOUTNODE>
</rtl:match>
<rtl:match name="OnLastRow" nameConstraint="OnLastRow" minOccurs="0" maxOccurs="1">
<LAYOUTNODE name="LayoutNode31_1_1" width="25.433" length="max" alignment="near" fontSize="9" layoutDirection="leftToRight" borderWidth="1" borderStyle="solid" borderColor="#000000">
<rtl:input-variable name="total_registros" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox11" width="86.359" length="24.3281" alignment="center" fontBold="true" floatingBehavior="enclosed" text="{{&quot;Total registros: &quot;+total_registros}}" trimText="both" textAlignment="left"/>
<LAYOUTNODE name="espacio5_3" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_mov44" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4_2" class="grwNumericValue" width="117.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_mov44}}"/>
<LAYOUTNODE name="espacio5_3_1" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_mov12" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4_1" class="grwNumericValue" width="107.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_mov12}}"/>
<LAYOUTNODE name="espacio5_3_2" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_mov13" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4" class="grwNumericValue" width="91.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_mov13}}"/>
<LAYOUTNODE name="espacio5_1_5" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_general" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="arr_costos.codigo_bloque Value6" class="grwStringValue" width="72.1736" length="25.0469" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_general}}"/>
<LAYOUTNODE name="espacio5_1_6" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_general_fact" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.costo_lab3" class="grwStringValue" width="61.9531" length="24.0469" alignment="baseline" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_general_fact}}"/>
<LAYOUTNODE name="espacio5_1_2_1_2" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="container" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="container Value5" class="grwStringValue" x="1.93934" y="570.969" width="68.9614" length="20.578" anchorX="0" anchorY="0" fontBold="true" floatingBehavior="enclosed" textAlignment="center" text="{{container}}"/>
</LAYOUTNODE>
</rtl:match>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>
+145
View File
@@ -0,0 +1,145 @@
<?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="25.00cm" RWPageLength="29.70cm" RWLeftMargin="0.511993cm" RWTopMargin="1.3cm" RWRightMargin="0.430673cm" RWBottomMargin="1.3cm">
<report:FormatList>
<report:Format-SVG/>
<report:Format-PDF/>
<report:Format-image/>
</report:FormatList>
</report:Settings>
<report:Data RWDataLocation="../ipdir/ipprrp036.rdd" RWFglReportName="inv1"/>
<report:Conflicts>
<report:Conflict nodeName="LayoutNode31_1_1" message="Node was in trigger &quot;OnLastRow [0; 1]&quot;, but trigger was removed during schema update"/>
</report:Conflicts>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report" minOccurs="1" maxOccurs="1">
<MINIPAGE name="pageRoot" width="max" length="766.687" alignment="near" fontName="Arial">
<rtl:match name="FirstPageHeader" nameConstraint="FirstPageHeader" minOccurs="0" maxOccurs="1">
<LAYOUTNODE name="Layout Node7" width="min" length="min" alignment="center" swapX="true" port="firstPageHeader">
<LAYOUTNODE name="Titulo" width="min" length="max" fontBold="true" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.2" borderStyle="solid" borderColor="#828282">
<WORDBOX name="WordBox159" width="66" alignment="baseline" floatingBehavior="enclosed" text="ipprrp036"/>
<WORDWRAPBOX name="p_companias.nombre Value" width="549.417" length="14.7813" alignment="baseline" floatingBehavior="enclosed" text="{{&quot;MARMOTECH S.A.&quot;}}" textAlignment="center"/>
<WORDBOX name="WordBox159_1" width="66" alignment="baseline" floatingBehavior="enclosed" text=""/>
</LAYOUTNODE>
<MINIPAGE name="Enc.Secundario" width="min" length="min" alignment="near" layoutDirection="leftToRight" borderWidth="0.2" borderStyle="solid" borderColor="#828282">
<WORDBOX name="WordBox2" width="679.635" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" text="Reporte costos de calidad (con ventas)" borderWidth="0"/>
<rtl:input-variable name="fecha_actual" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="x.fecha_factura Value" width="141.56" length="22.3906" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="right" text="{{fecha_actual}}" borderWidth="0"/>
</MINIPAGE>
<MINIPAGE name="StripeLayouter14" width="24.7303" length="max" alignment="center" layoutDirection="leftToRight">
<WORDBOX name="WordBox2_1_1" width="146" alignment="baseline" fontBold="true" floatingBehavior="enclosed" textAlignment="left" text="Fecha desde:" borderWidth="0"/>
<WORDBOX name="WordBox2_1" width="153" alignment="baseline" fontBold="true" floatingBehavior="enclosed" textAlignment="left" text="Hasta:" borderWidth="0"/>
<rtl:input-variable name="fecha1" type="FGLString" expectedLocation="expectedHere"/>
<DATEFORMATBOX name="fech_inicio Value" class="grwDateValue" x="0.4891" y="80.0076" width="62.125" anchorX="0" anchorY="0" floatingBehavior="enclosed" format="{{&quot;dd/mm/yyyy&quot;}}" value="{{Date.fromIsoValue(fecha1.isoValue)}}"/>
<rtl:input-variable name="fecha2" type="FGLString" expectedLocation="expectedHere"/>
<DATEFORMATBOX name="fech_corte Value" class="grwDateValue" x="0.4891" y="186.04" width="102.969" anchorX="0" anchorY="0" floatingBehavior="enclosed" format="{{&quot;dd/mm/yyyy&quot;}}" value="{{Date.fromIsoValue(fecha2.isoValue)}}"/>
</MINIPAGE>
<MINIPAGE name="Enc.Ventas" width="min" length="min" alignment="near" layoutDirection="leftToRight" borderWidth="0.2" borderStyle="solid" borderColor="#828282">
<WORDBOX name="WordBox_VentasLbl" width="187" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="left" text="Facturado ventas a la fecha:" borderWidth="0"/>
<rtl:input-variable name="ventas_total" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="ventas_total Value" class="grwNumericValue" width="101" length="22.3906" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="right" format="{{&quot;---,---,---,--&amp;.&amp;&amp;&quot;}}" value="{{ventas_total}}"/>
</MINIPAGE>
</LAYOUTNODE>
</rtl:match>
<rtl:match name="Group origen_producto" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<LAYOUTNODE name="espacio5_5_1" rtl:condition="x.origen_producto.length()&gt;1" width="6" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<LAYOUTNODE name="LayoutNode31_1" rtl:condition="x.origen_producto.length()&gt;1" width="26.5682" length="max" alignment="near" fontSize="9" layoutDirection="leftToRight" borderWidth="1" borderColor="#dfdfdf">
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="karr_ordenes.valor Value9" class="grwNumericValue" width="254.866" length="25.0469" anchorX="1" alignment="center" fontSize="10" fontBold="true" baselineType="leftleft" textAlignment="left" text="{{&quot;ORIGEN: &quot;+x.origen_producto}}"/>
</LAYOUTNODE>
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<LAYOUTNODE name="encabezadod" rtl:condition="x.origen_producto.length()&gt;1" width="max" length="min" swapX="true">
<MINIPAGE name="StripeLayouter23" width=".1cm" bgColor="#cc" layoutDirection="leftToRight"/>
<MINIPAGE name="encabezadodetalle" width="min" length="max" bgColor="#cccccc" fontBold="true" layoutDirection="leftToRight">
<rtl:input-variable name="titulo_columna1" type="FGLString" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox44" width="92.688" length="12.3906" alignment="center" fontSize="8" baselineType="leftleft" textAlignment="center" text="{{titulo_columna1}}"/>
<WORDWRAPBOX name="WordWrapBox17" width="113.52" alignment="center" fontSize="8" baselineType="leftleft" text="MOV44: REPOSICIONES" textAlignment="center"/>
<WORDWRAPBOX name="WordBox120_1_2" width="120.347" alignment="center" fontSize="8" floatingBehavior="enclosed" text="MOV12: DEVOLUCION BUEN ESTADO" textAlignment="center"/>
<WORDWRAPBOX name="WordBox120_4" width="100.347" alignment="center" fontSize="8" floatingBehavior="enclosed" text="MOV13: DEVOLUCION MAL ESTADO" textAlignment="center"/>
<WORDBOX name="WordBox120_1" width="73.3465" alignment="center" fontSize="8" floatingBehavior="enclosed" textAlignment="center" text="TOTAL $"/>
<WORDBOX name="WordBox120_3_1" width="67.4176" alignment="center" fontSize="8" floatingBehavior="enclosed" textAlignment="center" text="TOTAL FACT $"/>
<WORDBOX name="WordBox120_3" width="86.6228" alignment="center" fontSize="8" floatingBehavior="enclosed" textAlignment="center" text="COSTO CALIDAD"/>
</MINIPAGE>
<MINIPAGE name="StripeLayouter25" width=".1cm" bgColor="#cc" layoutDirection="leftToRight"/>
</LAYOUTNODE>
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<LAYOUTNODE name="LayoutNode31" rtl:condition="x.origen_producto.length()&gt;1" width="26.5682" length="max" alignment="near" fontSize="9" layoutDirection="leftToRight" borderWidth="1" borderStyle="solid" borderColor="#dfdfdf">
<rtl:input-variable name="x.tipo_producto" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox4" width="86.359" length="24.3281" alignment="baseline" fontSize="8" floatingBehavior="enclosed" text="{{x.tipo_producto}}" trimText="both" textAlignment="center"/>
<LAYOUTNODE name="espacio" width="min" length="3.5197" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.mov44" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="DecimalFormatBox" width="119.197" length="24.2783" alignment="baseline" fontSize="8" baselineType="leftleft" textAlignment="center" value="{{x.mov44}}"/>
<LAYOUTNODE name="espacio5_1" width="21" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.mov12" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="WordWrapBox4_2" width="109.359" length="24.3281" alignment="baseline" fontSize="8" floatingBehavior="enclosed" textAlignment="center" value="{{x.mov12}}"/>
<LAYOUTNODE name="espacio5_1_7" width="21" length="4" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.mov13" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value5" class="grwNumericValue" width="93.866" length="25.0469" anchorX="1" alignment="near" fontSize="8" floatingBehavior="enclosed" textAlignment="center" value="{{x.mov13}}"/>
<LAYOUTNODE name="espacio5_1_1" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.total" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="arr_costos.codigo_bloque Value4" class="grwStringValue" width="68.9844" length="23.0469" floatingBehavior="enclosed" textAlignment="center" value="{{x.total}}"/>
<LAYOUTNODE name="espacio5_1_2" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.total_fact" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.costo_lab1" class="grwStringValue" width="62.9531" length="24.0469" alignment="baseline" floatingBehavior="enclosed" textAlignment="center" value="{{x.total_fact}}"/>
<LAYOUTNODE name="espacio5_1_2_1" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="container" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="container Value3" class="grwStringValue" x="1.8655" y="568.132" width="71.1153" length="20.578" anchorX="0" anchorY="0" floatingBehavior="enclosed" textAlignment="center" text="{{container}}"/>
</LAYOUTNODE>
</rtl:match>
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedHere"/>
<LAYOUTNODE name="LayoutNode31_1_1_1" rtl:condition="x.origen_producto.length()&gt;1" width="25.433" length="max" alignment="near" fontSize="9" layoutDirection="leftToRight" borderWidth="1" borderStyle="solid" borderColor="#000000">
<rtl:input-variable name="registros_prod" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox14" width="87.359" length="24.3281" alignment="center" fontSize="8" fontBold="true" floatingBehavior="enclosed" text="{{&quot;Registros origen: &quot;+registros_prod}}" trimText="both" textAlignment="left"/>
<LAYOUTNODE name="espacio5_5" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_mov44" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4_3" class="grwNumericValue" width="117.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_mov44}}"/>
<LAYOUTNODE name="espacio5_3_3" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_mov12" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4_4" class="grwNumericValue" width="107.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_mov12}}"/>
<LAYOUTNODE name="espacio5_3_4" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_mov13" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value8" class="grwNumericValue" width="91.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_mov13}}"/>
<LAYOUTNODE name="espacio5_1_8" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_general" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="arr_costos.codigo_bloque Value7" class="grwStringValue" width="72.1736" length="25.0469" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_general}}"/>
<LAYOUTNODE name="espacio5_1_9" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_general_fact" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.costo_lab4" class="grwStringValue" width="61.9531" length="24.0469" alignment="baseline" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_general_fact}}"/>
<LAYOUTNODE name="espacio5_1_2_1_1" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="container" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="container Value4" class="grwStringValue" x="0.7731" y="570.969" width="69.0852" length="21.4189" anchorX="0" anchorY="0" fontBold="true" floatingBehavior="enclosed" textAlignment="center" text="{{container}}"/>
</LAYOUTNODE>
</rtl:match>
<rtl:match name="OnLastRow" nameConstraint="OnLastRow" minOccurs="0" maxOccurs="1">
<LAYOUTNODE name="LayoutNode31_1_1" width="25.433" length="max" alignment="near" fontSize="9" layoutDirection="leftToRight" borderWidth="1" borderStyle="solid" borderColor="#000000">
<rtl:input-variable name="total_registros" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox11" width="86.359" length="24.3281" alignment="center" fontBold="true" floatingBehavior="enclosed" text="{{&quot;Total registros: &quot;+total_registros}}" trimText="both" textAlignment="left"/>
<LAYOUTNODE name="espacio5_3" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_mov44" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4_2" class="grwNumericValue" width="117.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_mov44}}"/>
<LAYOUTNODE name="espacio5_3_1" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_mov12" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4_1" width="107.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_mov12}}"/>
<LAYOUTNODE name="espacio5_3_2" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_mov13" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4" class="grwNumericValue" width="91.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_mov13}}"/>
<LAYOUTNODE name="espacio5_1_5" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_general" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="arr_costos.codigo_bloque Value6" class="grwStringValue" width="72.1736" length="25.0469" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_general}}"/>
<LAYOUTNODE name="espacio5_1_6" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_general_fact" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.costo_lab3" class="grwStringValue" width="61.9531" length="24.0469" alignment="baseline" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_general_fact}}"/>
<LAYOUTNODE name="espacio5_1_2_1_2" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="container" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="container Value5" class="grwStringValue" x="1.93934" y="570.969" width="68.9614" length="20.578" anchorX="0" anchorY="0" fontBold="true" floatingBehavior="enclosed" textAlignment="center" text="{{container}}"/>
</LAYOUTNODE>
</rtl:match>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>
+1
View File
@@ -53,6 +53,7 @@ FUNCTION ipprrp005()
OPEN FORM ipfmrp005 FROM "ipfmrp005" OPEN FORM ipfmrp005 FROM "ipfmrp005"
DISPLAY FORM ipfmrp005 DISPLAY FORM ipfmrp005
CALL ui.Window.getCurrent().setText("MAESTRA COSTO STANDARD")
#CALL pantalla() #CALL pantalla()
DISPLAY "ipprrp005" AT 4,3 DISPLAY "ipprrp005" AT 4,3
DISPLAY "Maestra Costos Std." AT 6,31 DISPLAY "Maestra Costos Std." AT 6,31
+1 -1
View File
@@ -18,7 +18,7 @@
<LAYOUTNODE name="Layout Node9" y="max-33.3652" width="214.531" length="26.3906" anchorY="1" alignment="center" layoutDirection="topToBottom" baselineType="leftleft" floatingBehavior="free" borderStyle="none"> <LAYOUTNODE name="Layout Node9" y="max-33.3652" width="214.531" length="26.3906" anchorY="1" alignment="center" layoutDirection="topToBottom" baselineType="leftleft" floatingBehavior="free" borderStyle="none">
<WORDBOX name="WordBox47" width="213.984" length="14.3281" alignment="far" fontSize="15" fontBold="true" underline="true" layoutDirection="topToBottom" baselineType="leftleft" textAlignment="center" text="MAESTRA COSTO STANDARD" trimText="both"/> <WORDBOX name="WordBox47" width="213.984" length="14.3281" alignment="far" fontSize="15" fontBold="true" underline="true" layoutDirection="topToBottom" baselineType="leftleft" textAlignment="center" text="MAESTRA COSTO STANDARD" trimText="both"/>
</LAYOUTNODE> </LAYOUTNODE>
<IMAGEBOX name="ImageBox1_1" y="29.4882" width="221.836" length="92.4741" floatingBehavior="enclosed" url="file:///E:/MARMOTECHC/IMAGENES/logo.png" intendedResolution="120"/> <IMAGEBOX name="ImageBox1_1" y="29.4882" width="221.836" length="92.4741" floatingBehavior="enclosed" url="logo.png" intendedResolution="120"/>
</MINIPAGE> </MINIPAGE>
</LAYOUTNODE> </LAYOUTNODE>
<rtl:match name="Group ventas" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded"> <rtl:match name="Group ventas" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
+1 -3
View File
@@ -414,9 +414,8 @@ END IF
START REPORT existencia TO archivo START REPORT existencia TO archivo
END IF END IF
DISPLAY select_act
PREPARE busca_act FROM select_act PREPARE busca_act FROM select_act
DECLARE busca_balan_act CURSOR FOR busca_act DECLARE busca_balan_act CURSOR FOR busca_act
OPEN busca_balan_act #USING datos_cons.fech_in,datos_cons.fech_fi,datos_cons.fech_fi,ano_ant, OPEN busca_balan_act #USING datos_cons.fech_in,datos_cons.fech_fi,datos_cons.fech_fi,ano_ant,
@@ -769,7 +768,6 @@ REPORT existencia_grafica(x)
LET descripcion = x.descrip_esp CLIPPED LET descripcion = x.descrip_esp CLIPPED
# IF x.total_c <> 0 THEN # IF x.total_c <> 0 THEN
DISPLAY "imprime"
LET tt = tt + 1 LET tt = tt + 1
LET producto = x.cod_n USING "&&&&","-",x.cod_grupo USING "&&&&","-", LET producto = x.cod_n USING "&&&&","-",x.cod_grupo USING "&&&&","-",
x.cod_tipo USING "&&&&","-",x.cod_sec USING "&&&&&&" x.cod_tipo USING "&&&&","-",x.cod_sec USING "&&&&&&"
+107
View File
@@ -0,0 +1,107 @@
<?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="23cm" RWPageLength="29cm" 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="ipprrp009.rdd" RWFglReportName="existencia_grafica"/>
<report:Conflicts>
<report:Conflict nodeName="Page Header" message="Node was in trigger &quot;FirstPageHeader [0; 1]&quot;, but trigger was removed during schema update"/>
<report:Conflict nodeName="Table Row" message="Node was in trigger &quot;If&quot;, but trigger was removed during schema update"/>
</report:Conflicts>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report" minOccurs="1" maxOccurs="1">
<MINIPAGE name="Page Root" width="623.459" length="max" alignment="near" layoutDirection="topToBottom">
<rtl:match name="FirstPageHeader" nameConstraint="FirstPageHeader" minOccurs="0" maxOccurs="1">
<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="expectedHere"/>
<WORDBOX name="Report Title" x="1.2386" y="max*0.5188" width="326.271" anchorX="0" anchorY="0.5" alignment="baseline" fontSize="25" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="center" text="{{p_companias.nombre.trim()}}"/>
<PAGENOBOX name="PageNoBox" x="1.2386" y="621.231" anchorX="0" anchorY="1" alignment="baseline" baselineType="leftleft" floatingBehavior="enclosed" textAlignment="right"/>
<WORDBOX name="WordBox3" fontBold="true" floatingBehavior="enclosed" text="ipprrp009"/>
</MINIPAGE>
<MINIPAGE name="MiniPage" width="47.1355" length="max" alignment="near" fontBold="true" layoutDirection="leftToRight">
<WORDBOX name="WordBox" y="228.252" floatingBehavior="enclosed" text="Sistema de Inventario Productos"/>
<WORDBOX name="WordBox1" x="12.7663" y="228.252" floatingBehavior="enclosed" text="Existencia de Diferentes Fechas"/>
<rtl:input-variable name="tipo" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox2" x="27.4321" y="264.185" width="109.16" alignment="baseline" floatingBehavior="enclosed" textAlignment="center" text="{{tipo.trim()}}"/>
<rtl:input-variable name="fecha" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="fecha Value" class="grwStringValue" x="0.2827" y="527.884" width="96.5238" anchorX="0" anchorY="0" floatingBehavior="enclosed" text="{{&quot;FECHA: &quot;+fecha}}"/>
<rtl:input-variable name="hora" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="hora Value" class="grwStringValue" x="12.7663" y="568.529" width="54.9531" anchorX="0" anchorY="0" floatingBehavior="enclosed" text="{{hora}}"/>
</MINIPAGE>
<MINIPAGE name="Separator_1_1" width="1" length="max" alignment="near" bgColor="#000000" layoutDirection="leftToRight" swapX="false"/>
<MINIPAGE name="Table Header" class="grwTableHeader" width="20.6336" length="max" alignment="near" fontSize="10" fontBold="true" layoutDirection="leftToRight">
<WORDBOX name="Spacer" alignment="baseline" baselineType="leftleft" port="itemSeparator" text=" "/>
<WORDBOX name="WordBox4" alignment="near" fontSize="8" floatingBehavior="enclosed" text="Codigo"/>
<WORDBOX name="WordBox5" y="4cm" width="139.438" alignment="near" fontSize="8" floatingBehavior="enclosed" text="Descripcion"/>
<WORDWRAPBOX name="WordWrapBox6" y="517.201" width="47.1379" length="10.0857" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{&quot;Costo std &quot;}}" textAlignment="center"/>
<WORDWRAPBOX name="WordWrapBox" y="479.356" width="33.8031" length="10.7166" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{&quot;Gasto&quot;}}" textAlignment="center"/>
<rtl:input-variable name="datos_cons.fech_fi" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox1" y="326.129" width="width(&quot;M&quot;)*7.5" length="24.8959" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{&quot;Existencia Al &quot;+datos_cons.fech_fi}}" textAlignment="center"/>
<WORDWRAPBOX name="WordWrapBox2" y="386.022" width="width(&quot;M&quot;)*7.5" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{&quot;Material &quot;}}" textAlignment="center"/>
<WORDWRAPBOX name="WordWrapBox3" y="439.3" width="37.0051" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{&quot;Labor&quot;}}" textAlignment="center"/>
<rtl:input-variable name="datos_cons.fech_fi" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox5" y="566.114" width="width(&quot;M&quot;)*7.5" length="18.6336" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{&quot;Total Al &quot;+datos_cons.fech_fi}}" textAlignment="center"/>
</MINIPAGE>
<MINIPAGE name="Separator" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight"/>
</LAYOUTNODE>
</rtl:match>
<rtl:match name="Group cod_cia" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="Table Header1" class="grwTableHeader" width="min" length="max" alignment="near" fontSize="10" fontBold="true" layoutDirection="leftToRight">
<rtl:input-variable name="x.descripcion" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox13_1" y="0" width="117.906" length="21.9219" fontSize="9" floatingBehavior="enclosed" text="{{&quot;ORIGEN: &quot;+x.descripcion}}"/>
</MINIPAGE>
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="Table Row" class="grwTableRow" width="12.5035" length="max" alignment="near" fontSize="8" layoutDirection="leftToRight">
<WORDBOX name="Spacer_1" alignment="baseline" baselineType="leftleft" port="itemSeparator" text=" "/>
<rtl:input-variable name="producto" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox12" width="104.474" alignment="baseline" fontSize="8" floatingBehavior="enclosed" text="{{producto}}"/>
<rtl:input-variable name="x.costo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="WordBox13_2" y="525.34" width="34.7517" length="11.1437" fontSize="8" floatingBehavior="enclosed" textAlignment="center" value="{{x.costo}}"/>
<rtl:input-variable name="x.descrip_esp" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox7" y="113.386" width="205.832" length="11.6248" alignment="near" fontSize="7" baselineType="leftleft" floatingBehavior="enclosed" text="{{x.descrip_esp.trim()}}"/>
<rtl:input-variable name="x.existe_act" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="DecimalFormatBox2" y="327.777" width="47.6094" fontSize="8" floatingBehavior="enclosed" textAlignment="center" value="{{x.existe_act}}"/>
<rtl:input-variable name="x.gasto" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="WordBox14_2" y="483.127" width="31.1503" fontSize="8" floatingBehavior="enclosed" textAlignment="center" value="{{x.gasto}}"/>
<rtl:input-variable name="x.material" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="DecimalFormatBox" y="390.866" width="41.1525" length="10.9219" alignment="baseline" fontSize="8" floatingBehavior="enclosed" textAlignment="center" value="{{x.material}}"/>
<rtl:input-variable name="x.labor" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="DecimalFormatBox1" y="440.987" width="32.6334" fontSize="8" floatingBehavior="enclosed" textAlignment="center" value="{{x.labor}}"/>
<rtl:input-variable name="x.total_c" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox19" y="566.114" width="50.6067" length="10.9219" fontSize="8" floatingBehavior="enclosed" text="{{x.total_c.format(&quot;###,###,###.&amp;&amp;&quot;)}}"/>
</MINIPAGE>
<MINIPAGE name="Separator1_1" width="4" length="max" layoutDirection="leftToRight"/>
</rtl:match>
<MINIPAGE name="MiniPage1_1" width="min" length="min" layoutDirection="leftToRight">
<rtl:input-variable name="x.descripcion" type="FGLString" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox28" width="192.906" alignment="baseline" fontSize="8" fontBold="true" floatingBehavior="enclosed" text="{{&quot;TOTAL &quot;+x.descripcion}}" borderColor="#000000"/>
<MINIPAGE name="Table Row2" class="grwTableRow" width="14" length="8.309" alignment="near" fontSize="8" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_cia" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_exit_act Value1" class="grwNumericValue" width="80.3125" anchorX="1" alignment="baseline" fontSize="8" fontBold="true" floatingBehavior="enclosed" textAlignment="left" format="---,---,---,--&amp;.&amp;&amp;" value="{{total_cia}}" borderColor="#000000"/>
<MINIPAGE name="Separator1_1_1" width="4" length="max" layoutDirection="leftToRight"/>
</MINIPAGE>
</rtl:match>
<rtl:match name="OnLastRow" nameConstraint="OnLastRow" minOccurs="0" maxOccurs="1">
<MINIPAGE name="Separator1" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight"/>
<MINIPAGE name="MiniPage1" width="min" length="min" layoutDirection="leftToRight">
<rtl:input-variable name="tt" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox20" width="148.906" alignment="baseline" fontSize="8" floatingBehavior="enclosed" text="{{&quot;Total De Registros: &quot;+tt}}"/>
<MINIPAGE name="Table Row1" class="grwTableRow" width="min" length="160.969" alignment="near" fontSize="8" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_exit_act" type="FGLNumeric" expectedLocation="expectedBefore"/>
<DECIMALFORMATBOX name="total_exit_act Value" class="grwNumericValue" anchorX="1" alignment="baseline" fontSize="8" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{total_exit_act}}"/>
<MINIPAGE name="Table Row1_1" class="grwTableRow" width="min" length="196.59" alignment="near" fontSize="8" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_gral" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="DecimalFormatBox3" width="64.9434" alignment="baseline" fontSize="8" floatingBehavior="enclosed" value="{{total_gral}}"/>
</MINIPAGE>
</rtl:match>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>
+24 -87
View File
@@ -78,6 +78,7 @@ FUNCTION ipprrp010()
OPEN FORM ipfmrp010 FROM "ipfmrp010" OPEN FORM ipfmrp010 FROM "ipfmrp010"
DISPLAY FORM ipfmrp010 DISPLAY FORM ipfmrp010
CALL ui.Window.getCurrent().setText("Operaciones Por Movimientos Al Standard")
DISPLAY "ipprrp010" AT 4,3 DISPLAY "ipprrp010" AT 4,3
DISPLAY "Operaciones Por Movimientos Al Standard" AT 6,22 DISPLAY "Operaciones Por Movimientos Al Standard" AT 6,22
@@ -163,7 +164,16 @@ END INPUT
doble_on,doble_off,comp_on,comp_off, doble_on,doble_off,comp_on,comp_off,
doce,normal,archivo,copia doce,normal,archivo,copia
CALL configureOutput("SVG") RETURNING handler LET r_filename = "ipprrp010.4rp"
IF fgl_report_loadCurrentSettings(r_filename) THEN
LET r_output = "SVG"
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 detalle TO XML HANDLER handler START REPORT detalle TO XML HANDLER handler
PREPARE busca_ant FROM select_ac PREPARE busca_ant FROM select_ac
@@ -246,110 +256,37 @@ END FUNCTION
proveedor VARCHAR(100) proveedor VARCHAR(100)
END RECORD END RECORD
DEFINE primera CHAR(1) DEFINE total_p,total_m,total_consumo_m DECIMAL(12,2)
DEFINE c_ano1 char(4) DEFINE pcodigo CHAR(30)
DEFINE negrillas_on CHAR(3) DEFINE fecha_fmt CHAR(10)
DEFINE negrillas_off CHAR(3)
DEFINE doce,comp_on,comp_off CHAR(3)
DEFINE hora CHAR(5)
DEFINE total_p,total_m DECIMAL(12,2)
OUTPUT
TOP MARGIN 0
LEFT MARGIN 0
BOTTOM MARGIN 2
PAGE LENGTH 150
ORDER BY x.cod_mov,x.num_doc ORDER BY x.cod_mov,x.num_doc
FORMAT FORMAT
PAGE HEADER
{ LET negrillas_on = ASCII 27, ASCII 69
LET negrillas_off = ASCII 27, ASCII 70
LET comp_on = ASCII 15
LET comp_off = ASCII 18
LET doce = ASCII 27, ASCII 77
}
LET hora = time
PRINT comp_on
LET lj = (100 - LENGTH(p_companias.nombre CLIPPED))/2
PRINT COLUMN 1, "ipprrp010",
COLUMN lj, p_companias.nombre CLIPPED,
COLUMN 93, "Pag. ",pageno using "###"
PRINT COLUMN 28, " Sistema de Inventario de Productos Terminados",
COLUMN 93, today using "dd/mm/yyyy"
PRINT COLUMN 28, " Operacion por Tipo de Movimiento Al Standard",
COLUMN 96, hora
SKIP 1 LINES
PRINT COLUMN 2, "Desde ",datos_cons.fech_in using "dd/mm/yyyy",
COLUMN 21, "Hasta ", datos_cons.fech_fi using "dd/mm/yyyy"
PRINT COLUMN 1, "--------------------------------------------------",
"--------------------------------------------------",
"------------------"
PRINT COLUMN 96, "Material +"
PRINT COLUMN 96, "Labor +"
PRINT COLUMN 1, "Docto.",
COLUMN 10, "ORDEN",
COLUMN 20, "Fecha",
COLUMN 32, "Producto",
COLUMN 85, "Cantidad",
COLUMN 98, "Gasto ",
COLUMN 112, "Total"
PRINT COLUMN 1, "--------------------------------------------------",
"--------------------------------------------------",
"------------------"
PRINT negrillas_off
BEFORE GROUP OF x.cod_mov BEFORE GROUP OF x.cod_mov
LET total_m = 0 LET total_m = 0
LET total_consumo_m = 0
SELECT descrip_mov INTO x.descrip_mov FROM iptb00005 SELECT descrip_mov INTO x.descrip_mov FROM iptb00005
WHERE cod_mov = x.cod_mov WHERE cod_mov = x.cod_mov
PRINT negrillas_on PRINTX x.cod_mov, x.descrip_mov
PRINT COLUMN 1, "Movimiento: ",x.cod_mov using "##"," ",
x.descrip_mov
PRINT negrillas_off
BEFORE GROUP OF x.num_doc
PRINT COLUMN 1, x.num_doc USING "######",
COLUMN 10, x.orden USING "#######",
COLUMN 20, x.fecha USING "dd/mm/yyyy",
2 SPACES, x.proveedor CLIPPED
SKIP 1 LINE
ON EVERY ROW ON EVERY ROW
LET total_p = x.costo * x.consumo LET total_p = x.costo * x.consumo
IF total_p IS NULL THEN IF total_p IS NULL THEN
LET total_p = 0 LET total_p = 0
END IF END IF
LET total_m = total_m + total_p LET total_m = total_m + total_p
LET total_consumo_m = total_consumo_m + x.consumo
PRINT COLUMN 1, x.cod_n USING "&&&&","-",x.cod_grupo USING "&&&&","-", LET pcodigo = x.cod_n USING "&&&&","-",x.cod_grupo USING "&&&&","-",
x.cod_tipo USING "&&&&&&&&","-",x.cod_sec USING "&&&&&&&&", x.cod_tipo USING "&&&&&&&&","-",x.cod_sec USING "&&&&&&&&"
" ",x.descrip_esp, LET fecha_fmt = x.fecha USING "dd/mm/yyyy"
COLUMN 80, x.consumo USING "###,###.###",
2 SPACES, x.costo USING "#,###,###.###",
2 SPACES, total_p USING "##,###,###.##"
AFTER GROUP OF x.num_doc PRINTX pcodigo, x.descrip_esp, x.num_doc, x.orden, fecha_fmt, x.proveedor,
SKIP 1 LINE x.consumo, x.costo, total_p
AFTER GROUP OF x.cod_mov AFTER GROUP OF x.cod_mov
PRINT COLUMN 80, "-------------", PRINTX total_consumo_m, total_m
COLUMN 109,"-------------"
PRINT COLUMN 50, "Total ---->",
COLUMN 80, GROUP SUM(x.consumo) USING "###,###.###",
COLUMN 109, total_m USING "##,###,###.##"
SKIP TO TOP OF PAGE
AFTER GROUP OF x.orden
PRINT COLUMN 80, "-------------",
COLUMN 109,"-------------"
PRINT COLUMN 50, "Total ---->",
COLUMN 80, GROUP SUM(x.consumo) USING "###,###.###",
COLUMN 106, GROUP SUM(x.consumo*X.costo) USING "###,###,###.###"
ON LAST ROW ON LAST ROW
PRINT ASCII 27, ASCII 80
END REPORT END REPORT
+63 -21
View File
@@ -1,29 +1,71 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<report:Report xmlns:rtl="http://www.4js.com/2004/RTL" xmlns:report="http://www.4js.com/2007/REPORT" xmlns="http://www.4js.com/2004/PXML" version="1.0"> <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="60003" version="7.00">
<report:Settings RWPageWidth="1.5inch" RWPageLength="1.2inch" RWLeftMargin="0.1inch" RWTopMargin="0.1inch" RWRightMargin="0.2inch" RWBottomMargin="0.2inch"> <report:Settings RWPageWidth="a4width" RWPageLength="a4length" RWLeftMargin="1.3cm" RWTopMargin="1.3cm" RWRightMargin="1.3cm" RWBottomMargin="1.3cm">
<report:FormatList> <report:FormatList>
<report:Format-SVG></report:Format-SVG> <report:Format-SVG/>
<report:Format-PDF></report:Format-PDF> <report:Format-PDF/>
<report:Format-image></report:Format-image> <report:Format-image/>
</report:FormatList> </report:FormatList>
</report:Settings> </report:Settings>
<report:Data RWDataLocation="ipprrp021.rdd" RWFglReportName="activos"></report:Data> <report:Data RWFglReportName="detalle"/>
<report:Conflicts/>
<rtl:stylesheet> <rtl:stylesheet>
<rtl:match nameConstraint="Report"> <PXML>
<PXML name="ipprrp010.4rp"> <rtl:match name="Report" nameConstraint="Report" minOccurs="1" maxOccurs="1">
<rtl:match nameConstraint="Group" minOccurs="0" maxOccurs="unbounded"> <MINIPAGE name="page root" width="max" length="max" alignment="near" fontName="Arial">
<MINIPAGE name="Page Root" width="max" length="max"> <LAYOUTNODE name="header" width="min" length="min" port="firstPageHeader">
<LAYOUTNODE name="Layout Node3" width="min" length="min" fontSize="10"> <WORDBOX name="Title" width="200" length="14" alignment="near" fontSize="15" fontBold="true" text="Operaciones Por Movimientos Al Standard"/>
<MINIPAGE name="MiniPage3" width="min" length="min" layoutDirection="leftToRight"> </LAYOUTNODE>
<WORDBOX name="WordBox5" width="100" alignment="baseline" fontSize="14" baselineType="leftleft" text="ELEMENTS"></WORDBOX> <rtl:match name="Group cod_mov" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<WORDWRAPBOX name="WordWrapBox1" width="81.0559" length="11.3479" alignment="baseline" fontSize="10" baselineType="leftleft" text="{{&quot;(&quot;+x.format(&quot;&amp;&amp;&amp;&amp;&amp;&amp;&quot;)+&quot;)&quot;+&quot; &quot;+descripcion.trim()}}"></WORDWRAPBOX> <MINIPAGE name="grupo header" width="min" length="12" layoutDirection="leftToRight" bgColor="#cccccc" fontBold="true">
<rtl:input-variable name="x.cod_mov" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="cod_mov Value" width="30" length="12" alignment="baseline" floatingBehavior="enclosed" text="{{x.cod_mov}}"/>
<rtl:input-variable name="x.descrip_mov" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="descrip_mov Value" width="150" length="12" alignment="baseline" floatingBehavior="enclosed" text="{{x.descrip_mov}}"/>
</MINIPAGE>
<MINIPAGE name="encabezado" width="min" length="12" bgColor="#eeeeee" fontBold="true" layoutDirection="leftToRight">
<WORDBOX name="h1" width="18" length="12" alignment="baseline" text="Docto."/>
<WORDBOX name="h2" width="14" length="12" alignment="baseline" text="Orden"/>
<WORDBOX name="h3" width="16" length="12" alignment="baseline" text="Fecha"/>
<WORDBOX name="h4" width="30" length="12" alignment="baseline" text="Proveedor"/>
<WORDBOX name="h5" width="18" length="12" alignment="baseline" text="Producto"/>
<WORDBOX name="h6" width="60" length="12" alignment="baseline" text="Descripcion"/>
<WORDBOX name="h7" width="20" length="12" alignment="baseline" textAlignment="right" text="Cantidad"/>
<WORDBOX name="h8" width="22" length="12" alignment="baseline" textAlignment="right" text="Costo"/>
<WORDBOX name="h9" width="24" length="12" alignment="baseline" textAlignment="right" text="Total"/>
</MINIPAGE>
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="fila" width="min" length="12" layoutDirection="leftToRight">
<rtl:input-variable name="pcodigo" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="pcodigo Value" width="18" length="12" alignment="baseline" floatingBehavior="enclosed" text="{{pcodigo}}"/>
<rtl:input-variable name="x.num_doc" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="num_doc Value" width="14" length="12" alignment="baseline" floatingBehavior="enclosed" format="&amp;&amp;&amp;&amp;&amp;&amp;" value="{{x.num_doc}}"/>
<rtl:input-variable name="x.orden" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="orden Value" width="16" length="12" alignment="baseline" floatingBehavior="enclosed" format="&amp;&amp;&amp;&amp;&amp;&amp;&amp;" value="{{x.orden}}"/>
<rtl:input-variable name="fecha_fmt" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="fecha_fmt Value" width="16" length="12" alignment="baseline" floatingBehavior="enclosed" text="{{fecha_fmt}}"/>
<rtl:input-variable name="x.proveedor" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="proveedor Value" width="30" length="12" alignment="baseline" floatingBehavior="enclosed" text="{{x.proveedor}}"/>
<rtl:input-variable name="x.descrip_esp" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="descrip_esp Value" width="60" length="12" alignment="baseline" floatingBehavior="enclosed" text="{{x.descrip_esp}}"/>
<rtl:input-variable name="x.consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="consumo Value" width="20" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="---,---,--&amp;.&amp;&amp;&amp;" value="{{x.consumo}}"/>
<rtl:input-variable name="x.costo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="costo Value" width="22" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="-,---,---,--&amp;.&amp;&amp;&amp;" value="{{x.costo}}"/>
<rtl:input-variable name="total_p" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_p Value" width="24" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="--,---,---,--&amp;.&amp;&amp;" value="{{total_p}}"/>
</MINIPAGE> </MINIPAGE>
<WORDBOX name="separator" alignment="baseline" baselineType="leftleft" port="itemSeparator" text=""></WORDBOX> </rtl:match>
<BARCODEBOX name="BarCodeBox1" anchorX="0" anchorY="0" codeType="code-128" codeValue="{{barcodigo_act.value}}" noText="false"></BARCODEBOX> <MINIPAGE name="grupo footer" width="min" length="12" layoutDirection="leftToRight" fontBold="true">
</LAYOUTNODE> <WORDBOX name="totalLabel" width="100" length="12" alignment="baseline" textAlignment="right" text="Total ---->"/>
</MINIPAGE> <rtl:input-variable name="total_consumo_m" type="FGLNumeric" expectedLocation="expectedHere"/>
</rtl:match> <DECIMALFORMATBOX name="total_consumo_m Value" width="20" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="---,---,--&amp;.&amp;&amp;&amp;" value="{{total_consumo_m}}"/>
</PXML> <rtl:input-variable name="total_m" type="FGLNumeric" expectedLocation="expectedHere"/>
</rtl:match> <DECIMALFORMATBOX name="total_m Value" width="46" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="--,---,---,--&amp;.&amp;&amp;" value="{{total_m}}"/>
</MINIPAGE>
</rtl:match>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet> </rtl:stylesheet>
</report:Report> </report:Report>
+140
View File
@@ -0,0 +1,140 @@
<?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="25.00cm" RWPageLength="29.70cm" RWLeftMargin="0.511993cm" RWTopMargin="1.3cm" RWRightMargin="0.430673cm" RWBottomMargin="1.3cm">
<report:FormatList>
<report:Format-SVG/>
<report:Format-PDF/>
<report:Format-image/>
</report:FormatList>
</report:Settings>
<report:Data RWDataLocation="../ipdir/ipprrp035.rdd" RWFglReportName="inv1"/>
<report:Conflicts>
<report:Conflict nodeName="LayoutNode31_1_1" message="Node was in trigger &quot;OnLastRow [0; 1]&quot;, but trigger was removed during schema update"/>
</report:Conflicts>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report" minOccurs="1" maxOccurs="1">
<MINIPAGE name="pageRoot" width="max" length="766.687" alignment="near" fontName="Arial">
<rtl:match name="FirstPageHeader" nameConstraint="FirstPageHeader" minOccurs="0" maxOccurs="1">
<LAYOUTNODE name="Layout Node7" width="min" length="min" alignment="center" swapX="true" port="firstPageHeader">
<LAYOUTNODE name="Titulo" width="min" length="max" fontBold="true" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.2" borderStyle="solid" borderColor="#828282">
<WORDBOX name="WordBox159" width="66" alignment="baseline" floatingBehavior="enclosed" text="ipprrp035"/>
<WORDWRAPBOX name="p_companias.nombre Value" width="549.417" length="14.7813" alignment="baseline" floatingBehavior="enclosed" text="{{&quot;MARMOTECH S.A.&quot;}}" textAlignment="center"/>
<WORDBOX name="WordBox159_1" width="66" alignment="baseline" floatingBehavior="enclosed" text=""/>
</LAYOUTNODE>
<MINIPAGE name="Enc.Secundario" width="min" length="min" alignment="near" layoutDirection="leftToRight" borderWidth="0.2" borderStyle="solid" borderColor="#828282">
<WORDBOX name="WordBox2" width="679.635" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" text="Reporte costos de calidad" borderWidth="0"/>
<rtl:input-variable name="fecha_actual" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="x.fecha_factura Value" width="141.56" length="22.3906" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="right" text="{{fecha_actual}}" borderWidth="0"/>
</MINIPAGE>
<MINIPAGE name="StripeLayouter14" width="24.7303" length="max" alignment="center" layoutDirection="leftToRight">
<WORDBOX name="WordBox2_1_1" width="146" alignment="baseline" fontBold="true" floatingBehavior="enclosed" textAlignment="left" text="Fecha desde:" borderWidth="0"/>
<WORDBOX name="WordBox2_1" width="153" alignment="baseline" fontBold="true" floatingBehavior="enclosed" textAlignment="left" text="Hasta:" borderWidth="0"/>
<rtl:input-variable name="fecha1" type="FGLString" expectedLocation="expectedHere"/>
<DATEFORMATBOX name="fech_inicio Value" class="grwDateValue" x="0.4891" y="80.0076" width="62.125" anchorX="0" anchorY="0" floatingBehavior="enclosed" format="{{&quot;dd/mm/yyyy&quot;}}" value="{{Date.fromIsoValue(fecha1.isoValue)}}"/>
<rtl:input-variable name="fecha2" type="FGLString" expectedLocation="expectedHere"/>
<DATEFORMATBOX name="fech_corte Value" class="grwDateValue" x="0.4891" y="186.04" width="102.969" anchorX="0" anchorY="0" floatingBehavior="enclosed" format="{{&quot;dd/mm/yyyy&quot;}}" value="{{Date.fromIsoValue(fecha2.isoValue)}}"/>
</MINIPAGE>
</LAYOUTNODE>
</rtl:match>
<rtl:match name="Group origen_producto" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<LAYOUTNODE name="espacio5_5_1" rtl:condition="x.origen_producto.length()&gt;1" width="6" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<LAYOUTNODE name="LayoutNode31_1" rtl:condition="x.origen_producto.length()&gt;1" width="26.5682" length="max" alignment="near" fontSize="9" layoutDirection="leftToRight" borderWidth="1" borderColor="#dfdfdf">
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="karr_ordenes.valor Value9" class="grwNumericValue" width="254.866" length="25.0469" anchorX="1" alignment="center" fontSize="10" fontBold="true" baselineType="leftleft" textAlignment="left" text="{{&quot;ORIGEN: &quot;+x.origen_producto}}"/>
</LAYOUTNODE>
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<LAYOUTNODE name="encabezadod" rtl:condition="x.origen_producto.length()&gt;1" width="max" length="min" swapX="true">
<MINIPAGE name="StripeLayouter23" width=".1cm" bgColor="#cc" layoutDirection="leftToRight"/>
<MINIPAGE name="encabezadodetalle" width="min" length="max" bgColor="#cccccc" fontBold="true" layoutDirection="leftToRight">
<rtl:input-variable name="titulo_columna1" type="FGLString" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox44" width="92.688" length="12.3906" alignment="center" fontSize="8" baselineType="leftleft" textAlignment="center" text="{{titulo_columna1}}"/>
<WORDWRAPBOX name="WordWrapBox17" width="113.52" alignment="center" fontSize="8" baselineType="leftleft" text="MOV44: REPOSICIONES" textAlignment="center"/>
<WORDWRAPBOX name="WordBox120_1_2" width="120.347" alignment="center" fontSize="8" floatingBehavior="enclosed" text="MOV12: DEVOLUCION BUEN ESTADO" textAlignment="center"/>
<WORDWRAPBOX name="WordBox120_4" width="100.347" alignment="center" fontSize="8" floatingBehavior="enclosed" text="MOV13: DEVOLUCION MAL ESTADO" textAlignment="center"/>
<WORDBOX name="WordBox120_1" width="73.3465" alignment="center" fontSize="8" floatingBehavior="enclosed" textAlignment="center" text="TOTAL $"/>
<WORDBOX name="WordBox120_3_1" width="67.4176" alignment="center" fontSize="8" floatingBehavior="enclosed" textAlignment="center" text="TOTAL FACT $"/>
<WORDBOX name="WordBox120_3" width="86.6228" alignment="center" fontSize="8" floatingBehavior="enclosed" textAlignment="center" text="COSTO CALIDAD"/>
</MINIPAGE>
<MINIPAGE name="StripeLayouter25" width=".1cm" bgColor="#cc" layoutDirection="leftToRight"/>
</LAYOUTNODE>
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<LAYOUTNODE name="LayoutNode31" rtl:condition="x.origen_producto.length()&gt;1" width="26.5682" length="max" alignment="near" fontSize="9" layoutDirection="leftToRight" borderWidth="1" borderStyle="solid" borderColor="#dfdfdf">
<rtl:input-variable name="x.tipo_producto" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox4" width="86.359" length="24.3281" alignment="baseline" fontSize="8" floatingBehavior="enclosed" text="{{x.tipo_producto}}" trimText="both" textAlignment="center"/>
<LAYOUTNODE name="espacio" width="min" length="3.5197" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.mov44" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="DecimalFormatBox" width="119.197" length="24.2783" alignment="baseline" fontSize="8" baselineType="leftleft" textAlignment="center" value="{{x.mov44}}"/>
<LAYOUTNODE name="espacio5_1" width="21" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.mov12" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="WordWrapBox4_2" width="109.359" length="24.3281" alignment="baseline" fontSize="8" floatingBehavior="enclosed" textAlignment="center" value="{{x.mov12}}"/>
<LAYOUTNODE name="espacio5_1_7" width="21" length="4" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.mov13" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value5" class="grwNumericValue" width="93.866" length="25.0469" anchorX="1" alignment="near" fontSize="8" floatingBehavior="enclosed" textAlignment="center" value="{{x.mov13}}"/>
<LAYOUTNODE name="espacio5_1_1" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.total" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="arr_costos.codigo_bloque Value4" class="grwStringValue" width="68.9844" length="23.0469" floatingBehavior="enclosed" textAlignment="center" value="{{x.total}}"/>
<LAYOUTNODE name="espacio5_1_2" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.total_fact" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.costo_lab1" class="grwStringValue" width="62.9531" length="24.0469" alignment="baseline" floatingBehavior="enclosed" textAlignment="center" value="{{x.total_fact}}"/>
<LAYOUTNODE name="espacio5_1_2_1" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="container" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="container Value3" class="grwStringValue" x="1.8655" y="568.132" width="71.1153" length="20.578" anchorX="0" anchorY="0" floatingBehavior="enclosed" textAlignment="center" text="{{container}}"/>
</LAYOUTNODE>
</rtl:match>
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedHere"/>
<LAYOUTNODE name="LayoutNode31_1_1_1" rtl:condition="x.origen_producto.length()&gt;1" width="25.433" length="max" alignment="near" fontSize="9" layoutDirection="leftToRight" borderWidth="1" borderStyle="solid" borderColor="#000000">
<rtl:input-variable name="registros_prod" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox14" width="87.359" length="24.3281" alignment="center" fontSize="8" fontBold="true" floatingBehavior="enclosed" text="{{&quot;Registros origen: &quot;+registros_prod}}" trimText="both" textAlignment="left"/>
<LAYOUTNODE name="espacio5_5" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_mov44" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4_3" class="grwNumericValue" width="117.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_mov44}}"/>
<LAYOUTNODE name="espacio5_3_3" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_mov12" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4_4" class="grwNumericValue" width="107.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_mov12}}"/>
<LAYOUTNODE name="espacio5_3_4" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_mov13" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value8" class="grwNumericValue" width="91.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_mov13}}"/>
<LAYOUTNODE name="espacio5_1_8" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_general" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="arr_costos.codigo_bloque Value7" class="grwStringValue" width="72.1736" length="25.0469" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_general}}"/>
<LAYOUTNODE name="espacio5_1_9" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_general_fact" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.costo_lab4" class="grwStringValue" width="61.9531" length="24.0469" alignment="baseline" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_general_fact}}"/>
<LAYOUTNODE name="espacio5_1_2_1_1" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="container" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="container Value4" class="grwStringValue" x="0.7731" y="570.969" width="69.0852" length="21.4189" anchorX="0" anchorY="0" fontBold="true" floatingBehavior="enclosed" textAlignment="center" text="{{container}}"/>
</LAYOUTNODE>
</rtl:match>
<rtl:match name="OnLastRow" nameConstraint="OnLastRow" minOccurs="0" maxOccurs="1">
<LAYOUTNODE name="LayoutNode31_1_1" width="25.433" length="max" alignment="near" fontSize="9" layoutDirection="leftToRight" borderWidth="1" borderStyle="solid" borderColor="#000000">
<rtl:input-variable name="total_registros" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox11" width="86.359" length="24.3281" alignment="center" fontBold="true" floatingBehavior="enclosed" text="{{&quot;Total registros: &quot;+total_registros}}" trimText="both" textAlignment="left"/>
<LAYOUTNODE name="espacio5_3" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_mov44" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4_2" class="grwNumericValue" width="117.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_mov44}}"/>
<LAYOUTNODE name="espacio5_3_1" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_mov12" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4_1" class="grwNumericValue" width="107.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_mov12}}"/>
<LAYOUTNODE name="espacio5_3_2" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_mov13" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4" class="grwNumericValue" width="91.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_mov13}}"/>
<LAYOUTNODE name="espacio5_1_5" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_general" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="arr_costos.codigo_bloque Value6" class="grwStringValue" width="72.1736" length="25.0469" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_general}}"/>
<LAYOUTNODE name="espacio5_1_6" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_general_fact" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.costo_lab3" class="grwStringValue" width="61.9531" length="24.0469" alignment="baseline" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_general_fact}}"/>
<LAYOUTNODE name="espacio5_1_2_1_2" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="container" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="container Value5" class="grwStringValue" x="1.93934" y="570.969" width="68.9614" length="20.578" anchorX="0" anchorY="0" fontBold="true" floatingBehavior="enclosed" textAlignment="center" text="{{container}}"/>
</LAYOUTNODE>
</rtl:match>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>
+145
View File
@@ -0,0 +1,145 @@
<?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="25.00cm" RWPageLength="29.70cm" RWLeftMargin="0.511993cm" RWTopMargin="1.3cm" RWRightMargin="0.430673cm" RWBottomMargin="1.3cm">
<report:FormatList>
<report:Format-SVG/>
<report:Format-PDF/>
<report:Format-image/>
</report:FormatList>
</report:Settings>
<report:Data RWDataLocation="../ipdir/ipprrp036.rdd" RWFglReportName="inv1"/>
<report:Conflicts>
<report:Conflict nodeName="LayoutNode31_1_1" message="Node was in trigger &quot;OnLastRow [0; 1]&quot;, but trigger was removed during schema update"/>
</report:Conflicts>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report" minOccurs="1" maxOccurs="1">
<MINIPAGE name="pageRoot" width="max" length="766.687" alignment="near" fontName="Arial">
<rtl:match name="FirstPageHeader" nameConstraint="FirstPageHeader" minOccurs="0" maxOccurs="1">
<LAYOUTNODE name="Layout Node7" width="min" length="min" alignment="center" swapX="true" port="firstPageHeader">
<LAYOUTNODE name="Titulo" width="min" length="max" fontBold="true" layoutDirection="leftToRight" floatingBehavior="enclosed" borderWidth="0.2" borderStyle="solid" borderColor="#828282">
<WORDBOX name="WordBox159" width="66" alignment="baseline" floatingBehavior="enclosed" text="ipprrp036"/>
<WORDWRAPBOX name="p_companias.nombre Value" width="549.417" length="14.7813" alignment="baseline" floatingBehavior="enclosed" text="{{&quot;MARMOTECH S.A.&quot;}}" textAlignment="center"/>
<WORDBOX name="WordBox159_1" width="66" alignment="baseline" floatingBehavior="enclosed" text=""/>
</LAYOUTNODE>
<MINIPAGE name="Enc.Secundario" width="min" length="min" alignment="near" layoutDirection="leftToRight" borderWidth="0.2" borderStyle="solid" borderColor="#828282">
<WORDBOX name="WordBox2" width="679.635" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" text="Reporte costos de calidad (con ventas)" borderWidth="0"/>
<rtl:input-variable name="fecha_actual" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="x.fecha_factura Value" width="141.56" length="22.3906" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="right" text="{{fecha_actual}}" borderWidth="0"/>
</MINIPAGE>
<MINIPAGE name="StripeLayouter14" width="24.7303" length="max" alignment="center" layoutDirection="leftToRight">
<WORDBOX name="WordBox2_1_1" width="146" alignment="baseline" fontBold="true" floatingBehavior="enclosed" textAlignment="left" text="Fecha desde:" borderWidth="0"/>
<WORDBOX name="WordBox2_1" width="153" alignment="baseline" fontBold="true" floatingBehavior="enclosed" textAlignment="left" text="Hasta:" borderWidth="0"/>
<rtl:input-variable name="fecha1" type="FGLString" expectedLocation="expectedHere"/>
<DATEFORMATBOX name="fech_inicio Value" class="grwDateValue" x="0.4891" y="80.0076" width="62.125" anchorX="0" anchorY="0" floatingBehavior="enclosed" format="{{&quot;dd/mm/yyyy&quot;}}" value="{{Date.fromIsoValue(fecha1.isoValue)}}"/>
<rtl:input-variable name="fecha2" type="FGLString" expectedLocation="expectedHere"/>
<DATEFORMATBOX name="fech_corte Value" class="grwDateValue" x="0.4891" y="186.04" width="102.969" anchorX="0" anchorY="0" floatingBehavior="enclosed" format="{{&quot;dd/mm/yyyy&quot;}}" value="{{Date.fromIsoValue(fecha2.isoValue)}}"/>
</MINIPAGE>
<MINIPAGE name="Enc.Ventas" width="min" length="min" alignment="near" layoutDirection="leftToRight" borderWidth="0.2" borderStyle="solid" borderColor="#828282">
<WORDBOX name="WordBox_VentasLbl" width="187" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="left" text="Facturado ventas a la fecha:" borderWidth="0"/>
<rtl:input-variable name="ventas_total" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="ventas_total Value" class="grwNumericValue" width="101" length="22.3906" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="right" format="{{&quot;---,---,---,--&amp;.&amp;&amp;&quot;}}" value="{{ventas_total}}"/>
</MINIPAGE>
</LAYOUTNODE>
</rtl:match>
<rtl:match name="Group origen_producto" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<LAYOUTNODE name="espacio5_5_1" rtl:condition="x.origen_producto.length()&gt;1" width="6" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<LAYOUTNODE name="LayoutNode31_1" rtl:condition="x.origen_producto.length()&gt;1" width="26.5682" length="max" alignment="near" fontSize="9" layoutDirection="leftToRight" borderWidth="1" borderColor="#dfdfdf">
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<WORDBOX name="karr_ordenes.valor Value9" class="grwNumericValue" width="254.866" length="25.0469" anchorX="1" alignment="center" fontSize="10" fontBold="true" baselineType="leftleft" textAlignment="left" text="{{&quot;ORIGEN: &quot;+x.origen_producto}}"/>
</LAYOUTNODE>
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<LAYOUTNODE name="encabezadod" rtl:condition="x.origen_producto.length()&gt;1" width="max" length="min" swapX="true">
<MINIPAGE name="StripeLayouter23" width=".1cm" bgColor="#cc" layoutDirection="leftToRight"/>
<MINIPAGE name="encabezadodetalle" width="min" length="max" bgColor="#cccccc" fontBold="true" layoutDirection="leftToRight">
<rtl:input-variable name="titulo_columna1" type="FGLString" expectedLocation="expectedBefore"/>
<WORDBOX name="WordBox44" width="92.688" length="12.3906" alignment="center" fontSize="8" baselineType="leftleft" textAlignment="center" text="{{titulo_columna1}}"/>
<WORDWRAPBOX name="WordWrapBox17" width="113.52" alignment="center" fontSize="8" baselineType="leftleft" text="MOV44: REPOSICIONES" textAlignment="center"/>
<WORDWRAPBOX name="WordBox120_1_2" width="120.347" alignment="center" fontSize="8" floatingBehavior="enclosed" text="MOV12: DEVOLUCION BUEN ESTADO" textAlignment="center"/>
<WORDWRAPBOX name="WordBox120_4" width="100.347" alignment="center" fontSize="8" floatingBehavior="enclosed" text="MOV13: DEVOLUCION MAL ESTADO" textAlignment="center"/>
<WORDBOX name="WordBox120_1" width="73.3465" alignment="center" fontSize="8" floatingBehavior="enclosed" textAlignment="center" text="TOTAL $"/>
<WORDBOX name="WordBox120_3_1" width="67.4176" alignment="center" fontSize="8" floatingBehavior="enclosed" textAlignment="center" text="TOTAL FACT $"/>
<WORDBOX name="WordBox120_3" width="86.6228" alignment="center" fontSize="8" floatingBehavior="enclosed" textAlignment="center" text="COSTO CALIDAD"/>
</MINIPAGE>
<MINIPAGE name="StripeLayouter25" width=".1cm" bgColor="#cc" layoutDirection="leftToRight"/>
</LAYOUTNODE>
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
<LAYOUTNODE name="LayoutNode31" rtl:condition="x.origen_producto.length()&gt;1" width="26.5682" length="max" alignment="near" fontSize="9" layoutDirection="leftToRight" borderWidth="1" borderStyle="solid" borderColor="#dfdfdf">
<rtl:input-variable name="x.tipo_producto" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox4" width="86.359" length="24.3281" alignment="baseline" fontSize="8" floatingBehavior="enclosed" text="{{x.tipo_producto}}" trimText="both" textAlignment="center"/>
<LAYOUTNODE name="espacio" width="min" length="3.5197" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.mov44" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="DecimalFormatBox" width="119.197" length="24.2783" alignment="baseline" fontSize="8" baselineType="leftleft" textAlignment="center" value="{{x.mov44}}"/>
<LAYOUTNODE name="espacio5_1" width="21" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.mov12" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="WordWrapBox4_2" width="109.359" length="24.3281" alignment="baseline" fontSize="8" floatingBehavior="enclosed" textAlignment="center" value="{{x.mov12}}"/>
<LAYOUTNODE name="espacio5_1_7" width="21" length="4" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.mov13" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value5" class="grwNumericValue" width="93.866" length="25.0469" anchorX="1" alignment="near" fontSize="8" floatingBehavior="enclosed" textAlignment="center" value="{{x.mov13}}"/>
<LAYOUTNODE name="espacio5_1_1" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.total" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="arr_costos.codigo_bloque Value4" class="grwStringValue" width="68.9844" length="23.0469" floatingBehavior="enclosed" textAlignment="center" value="{{x.total}}"/>
<LAYOUTNODE name="espacio5_1_2" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="x.total_fact" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.costo_lab1" class="grwStringValue" width="62.9531" length="24.0469" alignment="baseline" floatingBehavior="enclosed" textAlignment="center" value="{{x.total_fact}}"/>
<LAYOUTNODE name="espacio5_1_2_1" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="container" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="container Value3" class="grwStringValue" x="1.8655" y="568.132" width="71.1153" length="20.578" anchorX="0" anchorY="0" floatingBehavior="enclosed" textAlignment="center" text="{{container}}"/>
</LAYOUTNODE>
</rtl:match>
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedHere"/>
<LAYOUTNODE name="LayoutNode31_1_1_1" rtl:condition="x.origen_producto.length()&gt;1" width="25.433" length="max" alignment="near" fontSize="9" layoutDirection="leftToRight" borderWidth="1" borderStyle="solid" borderColor="#000000">
<rtl:input-variable name="registros_prod" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox14" width="87.359" length="24.3281" alignment="center" fontSize="8" fontBold="true" floatingBehavior="enclosed" text="{{&quot;Registros origen: &quot;+registros_prod}}" trimText="both" textAlignment="left"/>
<LAYOUTNODE name="espacio5_5" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_mov44" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4_3" class="grwNumericValue" width="117.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_mov44}}"/>
<LAYOUTNODE name="espacio5_3_3" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_mov12" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4_4" class="grwNumericValue" width="107.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_mov12}}"/>
<LAYOUTNODE name="espacio5_3_4" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_mov13" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value8" class="grwNumericValue" width="91.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_mov13}}"/>
<LAYOUTNODE name="espacio5_1_8" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_general" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="arr_costos.codigo_bloque Value7" class="grwStringValue" width="72.1736" length="25.0469" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_general}}"/>
<LAYOUTNODE name="espacio5_1_9" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="prod_general_fact" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.costo_lab4" class="grwStringValue" width="61.9531" length="24.0469" alignment="baseline" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{prod_general_fact}}"/>
<LAYOUTNODE name="espacio5_1_2_1_1" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="container" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="container Value4" class="grwStringValue" x="0.7731" y="570.969" width="69.0852" length="21.4189" anchorX="0" anchorY="0" fontBold="true" floatingBehavior="enclosed" textAlignment="center" text="{{container}}"/>
</LAYOUTNODE>
</rtl:match>
<rtl:match name="OnLastRow" nameConstraint="OnLastRow" minOccurs="0" maxOccurs="1">
<LAYOUTNODE name="LayoutNode31_1_1" width="25.433" length="max" alignment="near" fontSize="9" layoutDirection="leftToRight" borderWidth="1" borderStyle="solid" borderColor="#000000">
<rtl:input-variable name="total_registros" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="WordWrapBox11" width="86.359" length="24.3281" alignment="center" fontBold="true" floatingBehavior="enclosed" text="{{&quot;Total registros: &quot;+total_registros}}" trimText="both" textAlignment="left"/>
<LAYOUTNODE name="espacio5_3" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_mov44" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4_2" class="grwNumericValue" width="117.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_mov44}}"/>
<LAYOUTNODE name="espacio5_3_1" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_mov12" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4_1" width="107.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_mov12}}"/>
<LAYOUTNODE name="espacio5_3_2" width="21" length="5.811" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_mov13" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="karr_ordenes.valor Value4" class="grwNumericValue" width="91.812" length="25.0469" anchorX="1" alignment="near" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_mov13}}"/>
<LAYOUTNODE name="espacio5_1_5" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_general" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="arr_costos.codigo_bloque Value6" class="grwStringValue" width="72.1736" length="25.0469" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_general}}"/>
<LAYOUTNODE name="espacio5_1_6" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="total_general_fact" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.costo_lab3" class="grwStringValue" width="61.9531" length="24.0469" alignment="baseline" fontBold="true" floatingBehavior="enclosed" textAlignment="center" value="{{total_general_fact}}"/>
<LAYOUTNODE name="espacio5_1_2_1_2" width="20" length="5" layoutDirection="leftToRight"/>
<rtl:input-variable name="container" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="container Value5" class="grwStringValue" x="1.93934" y="570.969" width="68.9614" length="20.578" anchorX="0" anchorY="0" fontBold="true" floatingBehavior="enclosed" textAlignment="center" text="{{container}}"/>
</LAYOUTNODE>
</rtl:match>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>
+12 -5
View File
@@ -142,6 +142,7 @@
</Library> </Library>
<Library binaryName="FUNCIONESREPORT" id="-1423229125" label="FUNCIONESREPORT"> <Library binaryName="FUNCIONESREPORT" id="-1423229125" label="FUNCIONESREPORT">
<File filePath="otrodir/msgrp000.4gl"/> <File filePath="otrodir/msgrp000.4gl"/>
<File filePath="otrodir/selectoutput_simple.4gl"/>
<File filePath="otrodir/seleccionarsalida.4gl"/> <File filePath="otrodir/seleccionarsalida.4gl"/>
<File filePath="otrodir/vesalidaimpresora.4gl"/> <File filePath="otrodir/vesalidaimpresora.4gl"/>
<File filePath="vedir/veprrp049_1.4gl"/> <File filePath="vedir/veprrp049_1.4gl"/>
@@ -301,6 +302,7 @@
<Application binaryName="cpprmt001" dependencies="-594793224,-1026233879,-764824792" id="-93012595" label="cpprmt001"> <Application binaryName="cpprmt001" dependencies="-594793224,-1026233879,-764824792" id="-93012595" label="cpprmt001">
<Configuration commandLineArguments="jsoto lmmjvsd2014" id="2059119033" label="Configuration"/> <Configuration commandLineArguments="jsoto lmmjvsd2014" id="2059119033" label="Configuration"/>
<File filePath="cpdir/cpprmt001.4gl"/> <File filePath="cpdir/cpprmt001.4gl"/>
<File filePath="ipdir/ipprrp010.4rp"/>
</Application> </Application>
<Application binaryName="cpprmt002" dependencies="-594793224,-1026233879,-764824792,1811699727" id="-1772765857" label="cpprmt002"> <Application binaryName="cpprmt002" dependencies="-594793224,-1026233879,-764824792,1811699727" id="-1772765857" label="cpprmt002">
<Configuration commandLineArguments="alopez Lopez2023" id="106388225" label="Configuration"/> <Configuration commandLineArguments="alopez Lopez2023" id="106388225" label="Configuration"/>
@@ -716,25 +718,30 @@
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp050.4gl"/> <File compilerOptions="--build-rdd" filePath="ipdir/ipprrp050.4gl"/>
<File filePath="ipdir/ipfmrp050.4fd"/> <File filePath="ipdir/ipfmrp050.4fd"/>
</Application> </Application>
<Application binaryName="ipprrp010" dependencies="1763548104,-1026233879,-764824792" externalDependencies="libgre.42x" id="-960000021" label="ipprrp010"> <Application binaryName="ipprrp010" dependencies="1763548104,-1026233879,-764824792,-1423229125,-801525068" externalDependencies="libgre.42x" id="-960000021" label="ipprrp010">
<Configuration commandLineArguments="jpeguero Peguero2023" id="-961000021" label="Configuration"/> <Configuration commandLineArguments="jpeguero Peguero2023" id="-961000021" label="Configuration"/>
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp010.4gl"/> <File compilerOptions="--build-rdd" filePath="ipdir/ipprrp010.4gl"/>
<File filePath="ipdir/ipfmrp010.per"/>
</Application> </Application>
<Application binaryName="ipprrp005" dependencies="1763548104,-1026233879,-764824792" externalDependencies="libgre.42x" id="-960000022" label="ipprrp005"> <Application binaryName="ipprrp005" dependencies="1763548104,-1026233879,-764824792,-1423229125" externalDependencies="libgre.42x" id="-960000022" label="ipprrp005">
<Configuration commandLineArguments="jpeguero Peguero2023" id="-961000022" label="Configuration"/> <Configuration commandLineArguments="jpeguero Peguero2023" id="-961000022" label="Configuration"/>
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp005.4gl"/> <File compilerOptions="--build-rdd" filePath="ipdir/ipprrp005.4gl"/>
<File filePath="ipdir/ipfmrp005.4fd"/>
</Application> </Application>
<Application binaryName="ipprrp009" dependencies="1763548104,-1026233879,-764824792" externalDependencies="libgre.42x" id="-960000023" label="ipprrp009"> <Application binaryName="ipprrp009" dependencies="1763548104,-1026233879,-764824792,-1423229125,-801525068" externalDependencies="libgre.42x" id="-960000023" label="ipprrp009">
<Configuration commandLineArguments="jpeguero Peguero2023" id="-961000023" label="Configuration"/> <Configuration commandLineArguments="jpeguero Peguero2023" id="-961000023" label="Configuration"/>
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp009.4gl"/> <File compilerOptions="--build-rdd" filePath="ipdir/ipprrp009.4gl"/>
<File filePath="ipdir/ipfmrp009.4fd"/>
</Application> </Application>
<Application binaryName="ipprrp035" dependencies="1763548104,-1026233879,-764824792" externalDependencies="libgre.42x" id="-960000024" label="ipprrp035"> <Application binaryName="ipprrp035" dependencies="1763548104,-1026233879,-764824792,-1423229125" externalDependencies="libgre.42x" id="-960000024" label="ipprrp035">
<Configuration commandLineArguments="jpeguero Peguero2023" id="-961000024" label="Configuration"/> <Configuration commandLineArguments="jpeguero Peguero2023" id="-961000024" label="Configuration"/>
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp035.4gl"/> <File compilerOptions="--build-rdd" filePath="ipdir/ipprrp035.4gl"/>
<File filePath="ipdir/ipfmrp035.4fd"/>
</Application> </Application>
<Application binaryName="ipprrp036" dependencies="1763548104,-1026233879,-764824792" externalDependencies="libgre.42x" id="-960000025" label="ipprrp036"> <Application binaryName="ipprrp036" dependencies="1763548104,-1026233879,-764824792,-1423229125" externalDependencies="libgre.42x" id="-960000025" label="ipprrp036">
<Configuration commandLineArguments="jpeguero Peguero2023" id="-961000025" label="Configuration"/> <Configuration commandLineArguments="jpeguero Peguero2023" id="-961000025" label="Configuration"/>
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp036.4gl"/> <File compilerOptions="--build-rdd" filePath="ipdir/ipprrp036.4gl"/>
<File filePath="ipdir/ipfmrp036.4fd"/>
</Application> </Application>
<Application binaryName="ipprrp013" dependencies="1763548104,-1026233879,-764824792" externalDependencies="libgre.42x" id="-960000026" label="ipprrp013"> <Application binaryName="ipprrp013" dependencies="1763548104,-1026233879,-764824792" externalDependencies="libgre.42x" id="-960000026" label="ipprrp013">
<Configuration commandLineArguments="jpeguero Peguero2023" id="-961000026" label="Configuration"/> <Configuration commandLineArguments="jpeguero Peguero2023" id="-961000026" label="Configuration"/>
+33
View File
@@ -0,0 +1,33 @@
FUNCTION selectOutput()
DEFINE
r_output STRING, -- output format option
r_action STRING, -- used to set preview option
r_filename STRING, -- filename of Report Design document (the .4rp filename)
preview INTEGER -- preview option TRUE/FALSE, to display report in Report Viewer
-- display form allowing user to select the .4rp filename and output options
OPTIONS INPUT WRAP
OPEN WINDOW f_configuration WITH FORM "Configuration"
LET INT_FLAG=FALSE
LET preview = FALSE
INPUT BY NAME r_output
ON ACTION CANCEL
EXIT PROGRAM
ON ACTION CLOSE
EXIT PROGRAM
END INPUT
CLOSE WINDOW f_configuration
CALL ui.interface.refresh()
-- set preview variable to match output option r_action
IF r_action IS NOT NULL THEN
IF r_action == "preview" THEN
LET preview = TRUE
END IF
END IF
--return output option variable to be used to configure the report engine
RETURN r_output
END FUNCTION