Merge branch 'main' of https://git.fulldetord.com/jsoto/mbs
# Conflicts: # PROYECTO/mbsERP.4pw
This commit is contained in:
@@ -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="---,---,---,--&.&&" 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="---,---,---,--&.&&" 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="---,---,---,--&.&&" 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="---,---,---,--&.&&" value="{{costo_std}}"/>
|
||||
</LAYOUTNODE>
|
||||
</rtl:match>
|
||||
</rtl:match>
|
||||
</rtl:match>
|
||||
</MINIPAGE>
|
||||
</rtl:match>
|
||||
</PXML>
|
||||
</rtl:stylesheet>
|
||||
</report:Report>
|
||||
@@ -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 "FirstPageHeader [0; 1]", but trigger was removed during schema update"/>
|
||||
<report:Conflict nodeName="Table Row" message="Node was in trigger "If", 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="{{"FECHA: "+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="{{"Costo std "}}" textAlignment="center"/>
|
||||
<WORDWRAPBOX name="WordWrapBox" y="479.356" width="33.8031" length="10.7166" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{"Gasto"}}" textAlignment="center"/>
|
||||
<rtl:input-variable name="datos_cons.fech_fi" type="FGLString" expectedLocation="expectedHere"/>
|
||||
<WORDWRAPBOX name="WordWrapBox1" y="326.129" width="width("M")*7.5" length="24.8959" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{"Existencia Al "+datos_cons.fech_fi}}" textAlignment="center"/>
|
||||
<WORDWRAPBOX name="WordWrapBox2" y="386.022" width="width("M")*7.5" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{"Material "}}" textAlignment="center"/>
|
||||
<WORDWRAPBOX name="WordWrapBox3" y="439.3" width="37.0051" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{"Labor"}}" textAlignment="center"/>
|
||||
<rtl:input-variable name="datos_cons.fech_fi" type="FGLString" expectedLocation="expectedHere"/>
|
||||
<WORDWRAPBOX name="WordWrapBox5" y="566.114" width="width("M")*7.5" length="18.6336" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{"Total Al "+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="{{"ORIGEN: "+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("###,###,###.&&")}}"/>
|
||||
</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="{{"TOTAL "+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="---,---,---,--&.&&" 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="{{"Total De Registros: "+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="---,---,---,--&.&&" 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
@@ -1,29 +1,71 @@
|
||||
<?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:Settings RWPageWidth="1.5inch" RWPageLength="1.2inch" RWLeftMargin="0.1inch" RWTopMargin="0.1inch" RWRightMargin="0.2inch" RWBottomMargin="0.2inch">
|
||||
<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="a4width" RWPageLength="a4length" RWLeftMargin="1.3cm" RWTopMargin="1.3cm" RWRightMargin="1.3cm" RWBottomMargin="1.3cm">
|
||||
<report:FormatList>
|
||||
<report:Format-SVG></report:Format-SVG>
|
||||
<report:Format-PDF></report:Format-PDF>
|
||||
<report:Format-image></report:Format-image>
|
||||
<report:Format-SVG/>
|
||||
<report:Format-PDF/>
|
||||
<report:Format-image/>
|
||||
</report:FormatList>
|
||||
</report:Settings>
|
||||
<report:Data RWDataLocation="../../PROYECTOS/ipdir/ipprrp021.rdd" RWFglReportName="activos"></report:Data>
|
||||
<report:Data RWFglReportName="detalle"/>
|
||||
<report:Conflicts/>
|
||||
<rtl:stylesheet>
|
||||
<rtl:match nameConstraint="Report">
|
||||
<PXML name="ipprrp010.4rp">
|
||||
<rtl:match nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
|
||||
<MINIPAGE name="Page Root" width="max" length="max">
|
||||
<LAYOUTNODE name="Layout Node3" width="min" length="min" fontSize="10">
|
||||
<MINIPAGE name="MiniPage3" width="min" length="min" layoutDirection="leftToRight">
|
||||
<WORDBOX name="WordBox5" width="100" alignment="baseline" fontSize="14" baselineType="leftleft" text="ELEMENTS"></WORDBOX>
|
||||
<WORDWRAPBOX name="WordWrapBox1" width="81.0559" length="11.3479" alignment="baseline" fontSize="10" baselineType="leftleft" text="{{"("+x.format("&&&&&&")+")"+" "+descripcion.trim()}}"></WORDWRAPBOX>
|
||||
<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" port="firstPageHeader">
|
||||
<WORDBOX name="Title" width="200" length="14" alignment="near" fontSize="15" fontBold="true" text="Operaciones Por Movimientos Al Standard"/>
|
||||
</LAYOUTNODE>
|
||||
<rtl:match name="Group cod_mov" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
|
||||
<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="&&&&&&" 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="&&&&&&&" 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="---,---,--&.&&&" 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="-,---,---,--&.&&&" 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="--,---,---,--&.&&" value="{{total_p}}"/>
|
||||
</MINIPAGE>
|
||||
<WORDBOX name="separator" alignment="baseline" baselineType="leftleft" port="itemSeparator" text=""></WORDBOX>
|
||||
<BARCODEBOX name="BarCodeBox1" anchorX="0" anchorY="0" codeType="code-128" codeValue="{{barcodigo_act.value}}" noText="false"></BARCODEBOX>
|
||||
</LAYOUTNODE>
|
||||
</MINIPAGE>
|
||||
</rtl:match>
|
||||
</PXML>
|
||||
</rtl:match>
|
||||
</rtl:match>
|
||||
<MINIPAGE name="grupo footer" width="min" length="12" layoutDirection="leftToRight" fontBold="true">
|
||||
<WORDBOX name="totalLabel" width="100" length="12" alignment="baseline" textAlignment="right" text="Total ---->"/>
|
||||
<rtl:input-variable name="total_consumo_m" type="FGLNumeric" expectedLocation="expectedHere"/>
|
||||
<DECIMALFORMATBOX name="total_consumo_m Value" width="20" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="---,---,--&.&&&" value="{{total_consumo_m}}"/>
|
||||
<rtl:input-variable name="total_m" type="FGLNumeric" expectedLocation="expectedHere"/>
|
||||
<DECIMALFORMATBOX name="total_m Value" width="46" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="--,---,---,--&.&&" value="{{total_m}}"/>
|
||||
</MINIPAGE>
|
||||
</rtl:match>
|
||||
</MINIPAGE>
|
||||
</rtl:match>
|
||||
</PXML>
|
||||
</rtl:stylesheet>
|
||||
</report:Report>
|
||||
|
||||
@@ -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 "OnLastRow [0; 1]", 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="{{"MARMOTECH S.A."}}" 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="{{"dd/mm/yyyy"}}" 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="{{"dd/mm/yyyy"}}" 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()>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()>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="{{"ORIGEN: "+x.origen_producto}}"/>
|
||||
</LAYOUTNODE>
|
||||
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
|
||||
<LAYOUTNODE name="encabezadod" rtl:condition="x.origen_producto.length()>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()>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()>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="{{"Registros origen: "+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="{{"Total registros: "+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>
|
||||
@@ -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 "OnLastRow [0; 1]", 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="{{"MARMOTECH S.A."}}" 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="{{"dd/mm/yyyy"}}" 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="{{"dd/mm/yyyy"}}" 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="{{"---,---,---,--&.&&"}}" 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()>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()>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="{{"ORIGEN: "+x.origen_producto}}"/>
|
||||
</LAYOUTNODE>
|
||||
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
|
||||
<LAYOUTNODE name="encabezadod" rtl:condition="x.origen_producto.length()>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()>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()>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="{{"Registros origen: "+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="{{"Total registros: "+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>
|
||||
@@ -0,0 +1,76 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<report:Report xmlns:rtl="http://www.4js.com/2004/RTL" xmlns:report="http://www.4js.com/2007/REPORT" xmlns="http://www.4js.com/2004/PXML" gstVersion="3140a" version="6.00">
|
||||
<report:Settings RWPageWidth="letterwidth" RWPageLength="letterlength" RWLeftMargin="0.5inch" RWTopMargin="0.5inch" RWRightMargin="0.5inch" RWBottomMargin="0.5inch">
|
||||
<report:FormatList>
|
||||
<report:Format-SVG/>
|
||||
<report:Format-PDF/>
|
||||
<report:Format-image/>
|
||||
</report:FormatList>
|
||||
</report:Settings>
|
||||
<report:Data RWDataLocation="../nodir/noprrp015.rdd" RWFglReportName="prestamo"/>
|
||||
<rtl:stylesheet>
|
||||
<PXML>
|
||||
<rtl:match name="Report" nameConstraint="Report" minOccurs="1" maxOccurs="1">
|
||||
<MINIPAGE name="Page Root" width="max" length="max" alignment="near">
|
||||
<LAYOUTNODE name="Page Header" width="max" length="min" port="anyPageHeader">
|
||||
<MINIPAGE name="StripeLayouter3" width="min" length="min" layoutDirection="leftToRight">
|
||||
<rtl:input-variable name="nombre_cia" type="FGLString" expectedLocation="expectedAhead"/>
|
||||
<WORDBOX name="Report Title" width="max-3cm" alignment="baseline" fontSize="20" floatingBehavior="enclosed" text="{{nombre_cia}}"/>
|
||||
<PAGENOBOX name="PageNoBox" width="3cm" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="Pagina no."/>
|
||||
</MINIPAGE>
|
||||
<MINIPAGE name="MiniPage" width="min" length="min" alignment="near" layoutDirection="leftToRight">
|
||||
<WORDBOX name="WordBox2" width="12cm" fontBold="true" floatingBehavior="enclosed" text="Descuentos Cooperativa"/>
|
||||
<rtl:input-variable name="hora" type="FGLString" expectedLocation="expectedAhead"/>
|
||||
<WORDBOX name="WordBoxHora" floatingBehavior="enclosed" text="{{hora}}"/>
|
||||
</MINIPAGE>
|
||||
<MINIPAGE name="MiniPage1" width="min" length="min" alignment="near" layoutDirection="leftToRight">
|
||||
<rtl:input-variable name="x.num_nomi" type="FGLNumeric" expectedLocation="expectedAhead"/>
|
||||
<rtl:input-variable name="fecha_al_ch" type="FGLString" expectedLocation="expectedAhead"/>
|
||||
<WORDBOX name="WordBoxNomina" width="10cm" fontBold="true" floatingBehavior="enclosed" text="{{"Nomina No.: "+x.num_nomi.format("<<<<")+" Al: "+fecha_al_ch}}"/>
|
||||
<rtl:input-variable name="descr" type="FGLString" expectedLocation="expectedAhead"/>
|
||||
<WORDBOX name="WordBoxTipo" floatingBehavior="enclosed" text="{{descr}}"/>
|
||||
</MINIPAGE>
|
||||
<MINIPAGE name="MiniPage2" width="min" length="min" fontSize="10" fontBold="true" layoutDirection="leftToRight">
|
||||
<WORDBOX name="WordBoxCod" width="3.5cm" alignment="baseline" floatingBehavior="enclosed" text="Codigo No." roundedCorners="true" borderWidth="1" borderStyle="solid"/>
|
||||
<WORDBOX name="WordBoxNom" width="6cm" alignment="baseline" floatingBehavior="enclosed" text="Nombre" roundedCorners="true" borderWidth="1" borderStyle="solid"/>
|
||||
<WORDBOX name="WordBoxVal" width="3cm" alignment="far" floatingBehavior="enclosed" textAlignment="right" text="Valor" roundedCorners="true" borderWidth="1" borderStyle="solid"/>
|
||||
<WORDBOX name="WordBoxInt" width="2cm" alignment="far" floatingBehavior="enclosed" textAlignment="right" text="Interes" roundedCorners="true" borderWidth="1" borderStyle="solid"/>
|
||||
<WORDBOX name="WordBoxBal" width="3cm" alignment="far" floatingBehavior="enclosed" textAlignment="right" text="Balance" roundedCorners="true" borderWidth="1" borderStyle="solid"/>
|
||||
</MINIPAGE>
|
||||
<MINIPAGE name="Separator" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight"/>
|
||||
</LAYOUTNODE>
|
||||
<rtl:match name="FirstPageHeader" nameConstraint="FirstPageHeader" minOccurs="0" maxOccurs="1"/>
|
||||
<rtl:match name="Group cod_mov" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
|
||||
<MINIPAGE name="movimiento" width="min" length="max" layoutDirection="leftToRight">
|
||||
<rtl:input-variable name="x.descrip_mov" type="FGLString" expectedLocation="expectedHere"/>
|
||||
<WORDBOX name="x.descrip_mov Value" fontSize="11" fontBold="true" floatingBehavior="enclosed" text="{{x.descrip_mov}}"/>
|
||||
</MINIPAGE>
|
||||
<rtl:match name="Group num_emp" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
|
||||
<MINIPAGE name="Table Row" class="grwTableRow" width="min" length="max" fontSize="9" layoutDirection="leftToRight">
|
||||
<rtl:input-variable name="codigo_emp" type="FGLString" expectedLocation="expectedHere"/>
|
||||
<WORDBOX name="codigo_emp Value" width="3.5cm" floatingBehavior="enclosed" text="{{codigo_emp}}"/>
|
||||
<rtl:input-variable name="nombre_completo" type="FGLString" expectedLocation="expectedHere"/>
|
||||
<WORDBOX name="nombre_completo Value" width="6cm" floatingBehavior="enclosed" text="{{nombre_completo}}"/>
|
||||
<rtl:input-variable name="x.valor" type="FGLNumeric" expectedLocation="expectedHere"/>
|
||||
<DECIMALFORMATBOX name="x.valor Value" width="3cm" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="-,---,---,--&.&&" value="{{x.valor}}"/>
|
||||
<rtl:input-variable name="interes" type="FGLNumeric" expectedLocation="expectedHere"/>
|
||||
<DECIMALFORMATBOX name="interes Value" width="2cm" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="-,---,---,--&.&&" value="{{interes}}"/>
|
||||
<rtl:input-variable name="x.balance" type="FGLNumeric" expectedLocation="expectedHere"/>
|
||||
<DECIMALFORMATBOX name="x.balance Value" width="3cm" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="-,---,---,--&.&&" value="{{x.balance}}"/>
|
||||
</MINIPAGE>
|
||||
</rtl:match>
|
||||
<MINIPAGE name="totalgrupo" width="min" length="max" layoutDirection="leftToRight" roundedCorners="true" borderWidth="1" borderStyle="outset">
|
||||
<WORDBOX name="WordBoxTotal" width="9.5cm" fontBold="true" floatingBehavior="enclosed" text="TOTAL GENERAL"/>
|
||||
<rtl:input-variable name="total1" type="FGLNumeric" expectedLocation="expectedHere"/>
|
||||
<DECIMALFORMATBOX name="total1 Value" width="3cm" anchorX="1" fontBold="true" floatingBehavior="enclosed" textAlignment="right" format="-,---,---,--&.&&" value="{{total1}}"/>
|
||||
<rtl:input-variable name="t_interes" type="FGLNumeric" expectedLocation="expectedHere"/>
|
||||
<DECIMALFORMATBOX name="t_interes Value" width="2cm" anchorX="1" fontBold="true" floatingBehavior="enclosed" textAlignment="right" format="-,---,---,--&.&&" value="{{t_interes}}"/>
|
||||
<rtl:input-variable name="total" type="FGLNumeric" expectedLocation="expectedHere"/>
|
||||
<DECIMALFORMATBOX name="total Value" width="3cm" anchorX="1" fontBold="true" floatingBehavior="enclosed" textAlignment="right" format="-,---,---,--&.&&" value="{{total}}"/>
|
||||
</MINIPAGE>
|
||||
</rtl:match>
|
||||
</MINIPAGE>
|
||||
</rtl:match>
|
||||
</PXML>
|
||||
</rtl:stylesheet>
|
||||
</report:Report>
|
||||
@@ -32,7 +32,7 @@
|
||||
<MINIPAGE name="Separator" width="1" length="max" color="#ffffff" bgColor="#ffffff" layoutDirection="leftToRight"/>
|
||||
<WORDBOX name="WordBox7" length=".2inch" bgColor="#54565a" floatingBehavior="enclosed"/>
|
||||
<LAYOUTNODE name="logo1" width="max" length="min" alignment="none" bgColor="#54565a" layoutDirection="bottomToTop" floatingBehavior="enclosed">
|
||||
<IMAGEBOX name="ImageBox3" width="1.5inch" alignment="center" baselineType="leftleft" floatingBehavior="enclosed" url="{{"file:///F:/MARMOTECHC/BIN320/IMAGENES/marmotech.png"}}" fill="preserveAspectRatio" intendedResolution="72"/>
|
||||
<IMAGEBOX name="ImageBox3" width="1.5inch" alignment="center" baselineType="leftleft" floatingBehavior="enclosed" url="{{"IMAGENES/Logo.png"}}" fill="preserveAspectRatio" intendedResolution="72"/>
|
||||
</LAYOUTNODE>
|
||||
</LAYOUTNODE>
|
||||
</MINIPAGE>
|
||||
@@ -40,7 +40,7 @@
|
||||
<MINIPAGE name="objetivos1" width="max" length="max" bgColor="#54565a" layoutDirection="topToBottom" floatingBehavior="free" marginTopWidth="0">
|
||||
<LAYOUTNODE name="logo" width="min" length="min" alignment="center" layoutDirection="topToBottom" floatingBehavior="enclosed">
|
||||
<WORDBOX name="WordBox8" length=".5inch" floatingBehavior="enclosed"/>
|
||||
<IMAGEBOX name="ImageBox" width="1.5inch" alignment="center" transformTransparently="true" floatingBehavior="enclosed" url="{{"file:///F:/MARMOTECHC/BIN320/IMAGENES/marmotech.png"}}" fill="completely" intendedResolution="72"/>
|
||||
<IMAGEBOX name="ImageBox" width="1.5inch" alignment="center" transformTransparently="true" floatingBehavior="enclosed" url="{{"IMAGENES/Logo.png"}}" fill="completely" intendedResolution="72"/>
|
||||
</LAYOUTNODE>
|
||||
<LAYOUTNODE name="direccion" width="min" length="min" fontName="Raleway" fontSize="7" layoutDirection="topToBottom" floatingBehavior="enclosed">
|
||||
<WORDBOX name="WordBox9" length=".4inch" floatingBehavior="enclosed"/>
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
dbi.default.driver = "dbmsqt"
|
||||
dbi.database.mydatabase.source = "mydatabase.db"
|
||||
|
||||
# --- MBS ERP: conexion smarmotech -> .250/marmotech (DSN ODBC18 marmotech250s) ---
|
||||
# --- MBS ERP: conexion smarmotech -> .250/marmotech (DSN ODBC18 marmotech18) ---
|
||||
# La autenticacion la provee el login (CONNECT ... USER usuario USING clave).
|
||||
# OJO: el runtime debe tener el driver dbmsnc (esta en fgl602, NO en el 6.00.01 de GST603).
|
||||
dbi.database.smarmotech.source = "marmotech250s"
|
||||
dbi.database.smarmotech.source = "marmotech18"
|
||||
dbi.database.smarmotech.driver = "dbmsnc"
|
||||
|
||||
# --- MBS ERP: conexion marmotech -> .250/EXTERIOR (DSN ODBC18 marmotech) ---
|
||||
|
||||
@@ -53,6 +53,7 @@ FUNCTION ipprrp005()
|
||||
|
||||
OPEN FORM ipfmrp005 FROM "ipfmrp005"
|
||||
DISPLAY FORM ipfmrp005
|
||||
CALL ui.Window.getCurrent().setText("MAESTRA COSTO STANDARD")
|
||||
#CALL pantalla()
|
||||
DISPLAY "ipprrp005" AT 4,3
|
||||
DISPLAY "Maestra Costos Std." AT 6,31
|
||||
@@ -156,7 +157,7 @@ END IF
|
||||
LET r_filename ='ipprrp005.4rp'
|
||||
LET preview = 1
|
||||
|
||||
CALL selectOutput() RETURNING r_output
|
||||
CALL selectOutputSimple() RETURNING r_output
|
||||
|
||||
IF fgl_report_loadCurrentSettings(r_filename) THEN -- load the .4rp file
|
||||
CALL fgl_report_selectDevice(r_output) -- changing default
|
||||
|
||||
@@ -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">
|
||||
<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="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>
|
||||
</LAYOUTNODE>
|
||||
<rtl:match name="Group ventas" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
|
||||
|
||||
@@ -393,7 +393,7 @@ END IF
|
||||
IF grafico = "SI" THEN
|
||||
LET r_filename ='ipprrp009.4rp'
|
||||
LET preview = 1
|
||||
CALL selectOutput() RETURNING r_output
|
||||
CALL selectOutputSimple() RETURNING r_output
|
||||
|
||||
IF fgl_report_loadCurrentSettings(r_filename) THEN -- load the .4rp file
|
||||
CALL fgl_report_selectDevice(r_output) -- changing default
|
||||
@@ -414,9 +414,8 @@ END IF
|
||||
|
||||
START REPORT existencia TO archivo
|
||||
|
||||
END IF
|
||||
END IF
|
||||
|
||||
DISPLAY select_act
|
||||
PREPARE busca_act FROM select_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,
|
||||
@@ -769,7 +768,6 @@ REPORT existencia_grafica(x)
|
||||
LET descripcion = x.descrip_esp CLIPPED
|
||||
|
||||
# IF x.total_c <> 0 THEN
|
||||
DISPLAY "imprime"
|
||||
LET tt = tt + 1
|
||||
LET producto = x.cod_n USING "&&&&","-",x.cod_grupo USING "&&&&","-",
|
||||
x.cod_tipo USING "&&&&","-",x.cod_sec USING "&&&&&&"
|
||||
|
||||
@@ -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 "FirstPageHeader [0; 1]", but trigger was removed during schema update"/>
|
||||
<report:Conflict nodeName="Table Row" message="Node was in trigger "If", 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="{{"FECHA: "+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="{{"Costo std "}}" textAlignment="center"/>
|
||||
<WORDWRAPBOX name="WordWrapBox" y="479.356" width="33.8031" length="10.7166" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{"Gasto"}}" textAlignment="center"/>
|
||||
<rtl:input-variable name="datos_cons.fech_fi" type="FGLString" expectedLocation="expectedHere"/>
|
||||
<WORDWRAPBOX name="WordWrapBox1" y="326.129" width="width("M")*7.5" length="24.8959" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{"Existencia Al "+datos_cons.fech_fi}}" textAlignment="center"/>
|
||||
<WORDWRAPBOX name="WordWrapBox2" y="386.022" width="width("M")*7.5" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{"Material "}}" textAlignment="center"/>
|
||||
<WORDWRAPBOX name="WordWrapBox3" y="439.3" width="37.0051" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{"Labor"}}" textAlignment="center"/>
|
||||
<rtl:input-variable name="datos_cons.fech_fi" type="FGLString" expectedLocation="expectedHere"/>
|
||||
<WORDWRAPBOX name="WordWrapBox5" y="566.114" width="width("M")*7.5" length="18.6336" alignment="near" fontSize="8" floatingBehavior="enclosed" text="{{"Total Al "+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="{{"ORIGEN: "+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("###,###,###.&&")}}"/>
|
||||
</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="{{"TOTAL "+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="---,---,---,--&.&&" 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="{{"Total De Registros: "+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="---,---,---,--&.&&" 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>
|
||||
@@ -78,6 +78,7 @@ FUNCTION ipprrp010()
|
||||
|
||||
OPEN FORM ipfmrp010 FROM "ipfmrp010"
|
||||
DISPLAY FORM ipfmrp010
|
||||
CALL ui.Window.getCurrent().setText("Operaciones Por Movimientos Al Standard")
|
||||
DISPLAY "ipprrp010" AT 4,3
|
||||
DISPLAY "Operaciones Por Movimientos Al Standard" AT 6,22
|
||||
|
||||
@@ -163,7 +164,16 @@ END INPUT
|
||||
doble_on,doble_off,comp_on,comp_off,
|
||||
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
|
||||
|
||||
PREPARE busca_ant FROM select_ac
|
||||
@@ -246,110 +256,37 @@ END FUNCTION
|
||||
proveedor VARCHAR(100)
|
||||
END RECORD
|
||||
|
||||
DEFINE primera CHAR(1)
|
||||
DEFINE c_ano1 char(4)
|
||||
DEFINE negrillas_on CHAR(3)
|
||||
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
|
||||
DEFINE total_p,total_m,total_consumo_m DECIMAL(12,2)
|
||||
DEFINE pcodigo CHAR(30)
|
||||
DEFINE fecha_fmt CHAR(10)
|
||||
ORDER BY x.cod_mov,x.num_doc
|
||||
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
|
||||
LET total_m = 0
|
||||
LET total_consumo_m = 0
|
||||
|
||||
SELECT descrip_mov INTO x.descrip_mov FROM iptb00005
|
||||
WHERE cod_mov = x.cod_mov
|
||||
|
||||
PRINT negrillas_on
|
||||
PRINT COLUMN 1, "Movimiento: ",x.cod_mov using "##"," ",
|
||||
x.descrip_mov
|
||||
PRINT negrillas_off
|
||||
PRINTX x.cod_mov, x.descrip_mov
|
||||
|
||||
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
|
||||
LET total_p = x.costo * x.consumo
|
||||
LET total_p = x.costo * x.consumo
|
||||
IF total_p IS NULL THEN
|
||||
LET total_p = 0
|
||||
END IF
|
||||
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 "&&&&","-",
|
||||
x.cod_tipo USING "&&&&&&&&","-",x.cod_sec USING "&&&&&&&&",
|
||||
" ",x.descrip_esp,
|
||||
COLUMN 80, x.consumo USING "###,###.###",
|
||||
2 SPACES, x.costo USING "#,###,###.###",
|
||||
2 SPACES, total_p USING "##,###,###.##"
|
||||
LET pcodigo = x.cod_n USING "&&&&","-",x.cod_grupo USING "&&&&","-",
|
||||
x.cod_tipo USING "&&&&&&&&","-",x.cod_sec USING "&&&&&&&&"
|
||||
LET fecha_fmt = x.fecha USING "dd/mm/yyyy"
|
||||
|
||||
AFTER GROUP OF x.num_doc
|
||||
SKIP 1 LINE
|
||||
PRINTX pcodigo, x.descrip_esp, x.num_doc, x.orden, fecha_fmt, x.proveedor,
|
||||
x.consumo, x.costo, total_p
|
||||
|
||||
AFTER GROUP OF x.cod_mov
|
||||
PRINT COLUMN 80, "-------------",
|
||||
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 "###,###,###.###"
|
||||
PRINTX total_consumo_m, total_m
|
||||
ON LAST ROW
|
||||
PRINT ASCII 27, ASCII 80
|
||||
END REPORT
|
||||
|
||||
@@ -1,29 +1,71 @@
|
||||
<?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:Settings RWPageWidth="1.5inch" RWPageLength="1.2inch" RWLeftMargin="0.1inch" RWTopMargin="0.1inch" RWRightMargin="0.2inch" RWBottomMargin="0.2inch">
|
||||
<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="a4width" RWPageLength="a4length" RWLeftMargin="1.3cm" RWTopMargin="1.3cm" RWRightMargin="1.3cm" RWBottomMargin="1.3cm">
|
||||
<report:FormatList>
|
||||
<report:Format-SVG></report:Format-SVG>
|
||||
<report:Format-PDF></report:Format-PDF>
|
||||
<report:Format-image></report:Format-image>
|
||||
<report:Format-SVG/>
|
||||
<report:Format-PDF/>
|
||||
<report:Format-image/>
|
||||
</report:FormatList>
|
||||
</report:Settings>
|
||||
<report:Data RWDataLocation="ipprrp021.rdd" RWFglReportName="activos"></report:Data>
|
||||
<report:Data RWFglReportName="detalle"/>
|
||||
<report:Conflicts/>
|
||||
<rtl:stylesheet>
|
||||
<rtl:match nameConstraint="Report">
|
||||
<PXML name="ipprrp010.4rp">
|
||||
<rtl:match nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
|
||||
<MINIPAGE name="Page Root" width="max" length="max">
|
||||
<LAYOUTNODE name="Layout Node3" width="min" length="min" fontSize="10">
|
||||
<MINIPAGE name="MiniPage3" width="min" length="min" layoutDirection="leftToRight">
|
||||
<WORDBOX name="WordBox5" width="100" alignment="baseline" fontSize="14" baselineType="leftleft" text="ELEMENTS"></WORDBOX>
|
||||
<WORDWRAPBOX name="WordWrapBox1" width="81.0559" length="11.3479" alignment="baseline" fontSize="10" baselineType="leftleft" text="{{"("+x.format("&&&&&&")+")"+" "+descripcion.trim()}}"></WORDWRAPBOX>
|
||||
<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" port="firstPageHeader">
|
||||
<WORDBOX name="Title" width="200" length="14" alignment="near" fontSize="15" fontBold="true" text="Operaciones Por Movimientos Al Standard"/>
|
||||
</LAYOUTNODE>
|
||||
<rtl:match name="Group cod_mov" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
|
||||
<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="&&&&&&" 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="&&&&&&&" 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="---,---,--&.&&&" 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="-,---,---,--&.&&&" 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="--,---,---,--&.&&" value="{{total_p}}"/>
|
||||
</MINIPAGE>
|
||||
<WORDBOX name="separator" alignment="baseline" baselineType="leftleft" port="itemSeparator" text=""></WORDBOX>
|
||||
<BARCODEBOX name="BarCodeBox1" anchorX="0" anchorY="0" codeType="code-128" codeValue="{{barcodigo_act.value}}" noText="false"></BARCODEBOX>
|
||||
</LAYOUTNODE>
|
||||
</MINIPAGE>
|
||||
</rtl:match>
|
||||
</PXML>
|
||||
</rtl:match>
|
||||
</rtl:match>
|
||||
<MINIPAGE name="grupo footer" width="min" length="12" layoutDirection="leftToRight" fontBold="true">
|
||||
<WORDBOX name="totalLabel" width="100" length="12" alignment="baseline" textAlignment="right" text="Total ---->"/>
|
||||
<rtl:input-variable name="total_consumo_m" type="FGLNumeric" expectedLocation="expectedHere"/>
|
||||
<DECIMALFORMATBOX name="total_consumo_m Value" width="20" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="---,---,--&.&&&" value="{{total_consumo_m}}"/>
|
||||
<rtl:input-variable name="total_m" type="FGLNumeric" expectedLocation="expectedHere"/>
|
||||
<DECIMALFORMATBOX name="total_m Value" width="46" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="--,---,---,--&.&&" value="{{total_m}}"/>
|
||||
</MINIPAGE>
|
||||
</rtl:match>
|
||||
</MINIPAGE>
|
||||
</rtl:match>
|
||||
</PXML>
|
||||
</rtl:stylesheet>
|
||||
</report:Report>
|
||||
|
||||
@@ -149,6 +149,7 @@ DEFINE prev_cod_n INTEGER
|
||||
|
||||
OPEN FORM ipfmrp013 FROM "ipfmrp013"
|
||||
DISPLAY FORM ipfmrp013
|
||||
CALL ui.Window.getCurrent().setText("Dias de Inventario")
|
||||
#CALL pantalla()
|
||||
DISPLAY "ipprrp013" AT 4,3 ATTRIBUTE(RED)
|
||||
DISPLAY "Dias de Inventarios" AT 6,33 ATTRIBUTE(BLACK)
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
===============================================================
|
||||
PROGRAMA : IPPRRP035
|
||||
OBJETIVO : COSTOS DE CALIDAD
|
||||
DESARROLLADOR : Ing. Elvis García
|
||||
DESARROLLADOR : Ing. Elvis Garc�a
|
||||
===============================================================
|
||||
}
|
||||
|
||||
@@ -177,7 +177,7 @@ FUNCTION ipprrp035()
|
||||
LET r_filename = "ipprrp035.4rp"
|
||||
IF fgl_report_loadCurrentSettings(r_filename) THEN
|
||||
LET preview=1
|
||||
CALL selectoutput() RETURNING r_output
|
||||
CALL selectOutputSimple() RETURNING r_output
|
||||
CALL fgl_report_selectDevice(r_output) -- changing default
|
||||
CALL fgl_report_selectPreview(preview) -- changing default
|
||||
LET handler = fgl_report_commitCurrentSettings() -- commit changes
|
||||
|
||||
@@ -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 "OnLastRow [0; 1]", 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="{{"MARMOTECH S.A."}}" 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="{{"dd/mm/yyyy"}}" 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="{{"dd/mm/yyyy"}}" 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()>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()>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="{{"ORIGEN: "+x.origen_producto}}"/>
|
||||
</LAYOUTNODE>
|
||||
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
|
||||
<LAYOUTNODE name="encabezadod" rtl:condition="x.origen_producto.length()>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()>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()>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="{{"Registros origen: "+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="{{"Total registros: "+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>
|
||||
@@ -135,7 +135,7 @@ FUNCTION ipprrp036()
|
||||
LET r_filename = "ipprrp036.4rp"
|
||||
IF fgl_report_loadCurrentSettings(r_filename) THEN
|
||||
LET preview=1
|
||||
CALL selectoutput() RETURNING r_output
|
||||
CALL selectOutputSimple() RETURNING r_output
|
||||
CALL fgl_report_selectDevice(r_output) -- changing default
|
||||
CALL fgl_report_selectPreview(preview) -- changing default
|
||||
LET handler = fgl_report_commitCurrentSettings() -- commit changes
|
||||
|
||||
@@ -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 "OnLastRow [0; 1]", 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="{{"MARMOTECH S.A."}}" 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="{{"dd/mm/yyyy"}}" 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="{{"dd/mm/yyyy"}}" 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="{{"---,---,---,--&.&&"}}" 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()>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()>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="{{"ORIGEN: "+x.origen_producto}}"/>
|
||||
</LAYOUTNODE>
|
||||
<rtl:input-variable name="x.origen_producto" type="FGLString" expectedLocation="expectedWayAhead"/>
|
||||
<LAYOUTNODE name="encabezadod" rtl:condition="x.origen_producto.length()>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()>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()>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="{{"Registros origen: "+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="{{"Total registros: "+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>
|
||||
+93
-9
@@ -142,7 +142,9 @@
|
||||
</Library>
|
||||
<Library binaryName="FUNCIONESREPORT" id="-1423229125" label="FUNCIONESREPORT">
|
||||
<File filePath="otrodir/msgrp000.4gl"/>
|
||||
<File filePath="otrodir/selectoutput_simple.4gl"/>
|
||||
<File filePath="otrodir/seleccionarsalida.4gl"/>
|
||||
<File filePath="otrodir/vesalidaimpresora.4gl"/>
|
||||
<File filePath="vedir/veprrp049_1.4gl"/>
|
||||
<File filePath="otrodir/Configuration.4fd"/>
|
||||
</Library>
|
||||
@@ -300,6 +302,7 @@
|
||||
<Application binaryName="cpprmt001" dependencies="-594793224,-1026233879,-764824792" id="-93012595" label="cpprmt001">
|
||||
<Configuration commandLineArguments="jsoto lmmjvsd2014" id="2059119033" label="Configuration"/>
|
||||
<File filePath="cpdir/cpprmt001.4gl"/>
|
||||
<File filePath="ipdir/ipprrp010.4rp"/>
|
||||
</Application>
|
||||
<Application binaryName="cpprmt002" dependencies="-594793224,-1026233879,-764824792,1811699727" id="-1772765857" label="cpprmt002">
|
||||
<Configuration commandLineArguments="alopez Lopez2023" id="106388225" label="Configuration"/>
|
||||
@@ -480,6 +483,20 @@
|
||||
<File filePath="nodir/nofmmt016.per"/>
|
||||
<File filePath="nodir/nofmmt018.per"/>
|
||||
<File filePath="nodir/nofmmt019.per"/>
|
||||
<File filePath="nodir/nofmmt023.4fd"/>
|
||||
<File filePath="nodir/nofmmt024.per"/>
|
||||
<File filePath="nodir/nofmmt025.4fd"/>
|
||||
<File filePath="nodir/nofmcs002.per"/>
|
||||
<File filePath="nodir/nofmcs004.4fd"/>
|
||||
<File filePath="nodir/nofmcs006.4fd"/>
|
||||
<File filePath="nodir/nofmrp002.4fd"/>
|
||||
<File filePath="nodir/nofmrp003.4fd"/>
|
||||
<File filePath="nodir/nofmrp039.4fd"/>
|
||||
<File filePath="nodir/nofmrp044.4fd"/>
|
||||
<File filePath="nodir/nofmrp008.4fd"/>
|
||||
<File filePath="nodir/nofmrp043.4fd"/>
|
||||
<File filePath="nodir/nofmrp009.per"/>
|
||||
<File filePath="nodir/nofmrp015.per"/>
|
||||
</Library>
|
||||
<Library binaryName="FUNCIONES_NO" id="-306412216" label="FUNCIONES_NO">
|
||||
<File filePath="nodir/noprgb000.4gl"/>
|
||||
@@ -522,6 +539,70 @@
|
||||
<Configuration commandLineArguments="alopez Lopez2023" id="-700000062" label="Configuration"/>
|
||||
<File filePath="nodir/noprmt019.4gl"/>
|
||||
</Application>
|
||||
<Application binaryName="noprmt023" dependencies="-1026233879,-764824792,-306412216,-335228674" environment="file:FGLPROFILE=$(ProjectDir)/config/fglprofile" id="-700000063" label="noprmt023">
|
||||
<Configuration commandLineArguments="alopez Lopez2023" id="-700000064" label="Configuration"/>
|
||||
<File filePath="nodir/noprmt023.4gl"/>
|
||||
</Application>
|
||||
<Application binaryName="noprmt024" dependencies="-1026233879,-764824792,-306412216,-335228674" id="-700000065" label="noprmt024">
|
||||
<Configuration commandLineArguments="alopez Lopez2023" id="-700000066" label="Configuration"/>
|
||||
<File filePath="nodir/noprmt024.4gl"/>
|
||||
</Application>
|
||||
<Application binaryName="noprmt025" dependencies="-1026233879,-764824792,-306412216,-335228674" id="-700000067" label="noprmt025">
|
||||
<Configuration commandLineArguments="alopez Lopez2023" id="-700000068" label="Configuration"/>
|
||||
<File filePath="nodir/noprmt025.4gl"/>
|
||||
</Application>
|
||||
<Application binaryName="noprcs002" dependencies="-1026233879,-764824792,-306412216,-335228674" id="-700000069" label="noprcs002">
|
||||
<Configuration commandLineArguments="alopez Lopez2023" id="-700000070" label="Configuration"/>
|
||||
<File filePath="nodir/noprcs002.4gl"/>
|
||||
</Application>
|
||||
<Application binaryName="noprcs004" dependencies="-1026233879,-764824792,-306412216,-335228674" id="-700000071" label="noprcs004">
|
||||
<Configuration commandLineArguments="alopez Lopez2023" id="-700000072" label="Configuration"/>
|
||||
<File filePath="nodir/noprcs004.4gl"/>
|
||||
<File filePath="addir/adfunciones.4gl"/>
|
||||
</Application>
|
||||
<Application binaryName="noprcs006" dependencies="-1026233879,-764824792,-306412216,-335228674,-1423229125" externalDependencies="libgre.42x" id="-700000073" label="noprcs006">
|
||||
<Configuration commandLineArguments="alopez Lopez2023" id="-700000074" label="Configuration"/>
|
||||
<File filePath="nodir/noprcs006.4gl"/>
|
||||
<File filePath="bin/noprcs006.4rp"/>
|
||||
</Application>
|
||||
<Application binaryName="noprrp002" dependencies="-1026233879,-764824792,-306412216,-335228674,-1423229125" externalDependencies="libgre.42x" id="-700000075" label="noprrp002">
|
||||
<Configuration commandLineArguments="alopez Lopez2023" id="-700000076" label="Configuration"/>
|
||||
<File filePath="nodir/noprrp002.4gl"/>
|
||||
<File filePath="bin/noprrp002.4rp"/>
|
||||
</Application>
|
||||
<Application binaryName="noprrp003" dependencies="-1026233879,-764824792,-306412216,-335228674,-1423229125" externalDependencies="libgre.42x" id="-700000077" label="noprrp003">
|
||||
<Configuration commandLineArguments="alopez Lopez2023" id="-700000078" label="Configuration"/>
|
||||
<File filePath="nodir/noprrp003.4gl"/>
|
||||
<File filePath="bin/noprrp003.4rp"/>
|
||||
</Application>
|
||||
<Application binaryName="noprrp039" dependencies="-1026233879,-764824792,-306412216,-335228674,-1423229125" externalDependencies="libgre.42x" id="-700000079" label="noprrp039">
|
||||
<Configuration commandLineArguments="alopez Lopez2023" id="-700000080" label="Configuration"/>
|
||||
<File filePath="nodir/noprrp039.4gl"/>
|
||||
<File filePath="bin/noprrp039.4rp"/>
|
||||
</Application>
|
||||
<Application binaryName="noprrp044" dependencies="-1026233879,-764824792,-306412216,-335228674,-1423229125" externalDependencies="libgre.42x" id="-700000081" label="noprrp044">
|
||||
<Configuration commandLineArguments="alopez Lopez2023" id="-700000082" label="Configuration"/>
|
||||
<File filePath="nodir/noprrp044.4gl"/>
|
||||
<File filePath="bin/noprrp044.4rp"/>
|
||||
</Application>
|
||||
<Application binaryName="noprrp038" dependencies="-1026233879,-764824792,-306412216,-335228674" environment="dir:FGLSPOOL=$(ProjectDir)/spool" id="-700000085" label="noprrp038">
|
||||
<Configuration commandLineArguments="alopez Lopez2023" id="-700000086" label="Configuration"/>
|
||||
<File filePath="nodir/noprrp038.4gl"/>
|
||||
</Application>
|
||||
<Application binaryName="noprrp043" dependencies="-1026233879,-764824792,-306412216,-335228674,-1423229125" externalDependencies="libgre.42x" id="-700000087" label="noprrp043">
|
||||
<Configuration commandLineArguments="alopez Lopez2023" id="-700000088" label="Configuration"/>
|
||||
<File filePath="nodir/noprrp043.4gl"/>
|
||||
<File filePath="bin/noprrp043.4rp"/>
|
||||
</Application>
|
||||
<Application binaryName="noprrp009" dependencies="-1026233879,-764824792,-306412216,-335228674,-1423229125" environment="dir:FGLSPOOL=$(ProjectDir)/spool" externalDependencies="libgre.42x" id="-700000089" label="noprrp009">
|
||||
<Configuration commandLineArguments="alopez Lopez2023" id="-700000090" label="Configuration"/>
|
||||
<File filePath="nodir/noprrp009.4gl"/>
|
||||
</Application>
|
||||
<Application binaryName="noprrp015" dependencies="-1026233879,-764824792,-306412216,-335228674,-1423229125" environment="dir:FGLSPOOL=$(ProjectDir)/spool" externalDependencies="libgre.42x" id="-700000091" label="noprrp015">
|
||||
<Configuration commandLineArguments="alopez Lopez2023" id="-700000092" label="Configuration"/>
|
||||
<File filePath="nodir/noprrp015.4gl"/>
|
||||
<File filePath="bin/noprrp015.4rp"/>
|
||||
</Application>
|
||||
</Group>
|
||||
<Group id="1667448785" label="PRODUCTOS TERMINADOS">
|
||||
<Library binaryName="FORMULARIOS_IP" dependencies="-1026233879" id="-1826025351" label="FORMULARIOS_IP">
|
||||
@@ -640,47 +721,50 @@
|
||||
<Application binaryName="ipprrp002" dependencies="1763548104,-1026233879,-764824792" externalDependencies="libgre.42x" id="-960000017" label="ipprrp002">
|
||||
<Configuration commandLineArguments="jpeguero Peguero2023" id="-961000017" label="Configuration"/>
|
||||
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp002.4gl"/>
|
||||
<File filePath="ipdir/ipfmrp002.4fd"/>
|
||||
</Application>
|
||||
<Application binaryName="ipprrp002_1" dependencies="1763548104,-1026233879,-764824792" externalDependencies="libgre.42x" id="-960000018" label="ipprrp002_1">
|
||||
<Configuration commandLineArguments="jpeguero Peguero2023" id="-961000018" label="Configuration"/>
|
||||
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp002_1.4gl"/>
|
||||
<File filePath="ipdir/ipfmrp002_1.4fd"/>
|
||||
</Application>
|
||||
<Application binaryName="ipprrp052" dependencies="1763548104,-1026233879,-764824792" externalDependencies="libgre.42x" id="-960000019" label="ipprrp052">
|
||||
<Configuration commandLineArguments="jpeguero Peguero2023" id="-961000019" label="Configuration"/>
|
||||
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp052.4gl"/>
|
||||
<File filePath="ipdir/ipfmrp052.4fd"/>
|
||||
</Application>
|
||||
<Application binaryName="ipprrp050" dependencies="1763548104,-1026233879,-764824792,-1423229125" externalDependencies="libgre.42x" id="-960000020" label="ipprrp050">
|
||||
<Configuration commandLineArguments="jpeguero Peguero2023" id="-961000020" label="Configuration"/>
|
||||
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp050.4gl"/>
|
||||
<File filePath="ipdir/ipfmrp050.4fd"/>
|
||||
</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"/>
|
||||
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp010.4gl"/>
|
||||
<File filePath="ipdir/ipfmrp010.per"/>
|
||||
</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"/>
|
||||
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp005.4gl"/>
|
||||
<File filePath="ipdir/ipfmrp005.4fd"/>
|
||||
</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"/>
|
||||
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp009.4gl"/>
|
||||
<File filePath="ipdir/ipfmrp009.4fd"/>
|
||||
</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"/>
|
||||
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp035.4gl"/>
|
||||
<File filePath="ipdir/ipfmrp035.4fd"/>
|
||||
</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"/>
|
||||
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp036.4gl"/>
|
||||
<File filePath="ipdir/ipfmrp036.4fd"/>
|
||||
</Application>
|
||||
<Application binaryName="ipprrp013" dependencies="1763548104,-1026233879,-764824792" externalDependencies="libgre.42x" id="-960000026" label="ipprrp013">
|
||||
<Application binaryName="ipprrp013" dependencies="1763548104,-1026233879,-764824792,-1423229125" externalDependencies="libgre.42x" id="-960000026" label="ipprrp013">
|
||||
<Configuration commandLineArguments="jpeguero Peguero2023" id="-961000026" label="Configuration"/>
|
||||
<File compilerOptions="--build-rdd" filePath="ipdir/ipprrp013.4gl"/>
|
||||
<File filePath="bin/ipprrp013r.4rp"/>
|
||||
<File filePath="ipdir/ipfmrp013.4fd"/>
|
||||
</Application>
|
||||
<Application binaryName="ipprrp053" dependencies="1763548104,-1026233879,-764824792" externalDependencies="libgre.42x" id="-960000027" label="ipprrp053">
|
||||
<Configuration commandLineArguments="jpeguero Peguero2023" id="-961000027" label="Configuration"/>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
<Label posX="40" posY="1" text="Monto Excento"/>
|
||||
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="monto_excento" columnCount="" fieldId="3" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="12" name="notb00023.monto_excento" posX="55" posY="1" precisionDecimal="12" required="true" rowCount="" scaleDecimal="2" sqlTabName="notb00023" sqlType="DECIMAL" stepX="" stepY="" tabIndex="3" table_alias_name="" widget="Edit"/>
|
||||
<Label posX="12" posY="2" text="Fecha"/>
|
||||
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="fecha" columnCount="" fieldId="2" gridHeight="1" gridWidth="10" name="fecha" posX="20" posY="2" rowCount="" sqlTabName="formonly" stepX="" stepY="" tabIndex="4" table_alias_name="" widget="Edit"/>
|
||||
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="fecha" columnCount="" fieldId="2" format="dd/mm/yyyy" gridHeight="1" gridWidth="10" name="fecha" posX="20" posY="2" rowCount="" sqlTabName="formonly" stepX="" stepY="" tabIndex="4" table_alias_name="" widget="Edit"/>
|
||||
<Label posX="49" posY="2" text="15 %"/>
|
||||
<Edit aggregateColName="" aggregateName="" aggregateTableAliasName="" aggregateTableName="" colName="porc_15" columnCount="" fieldId="4" fieldType="TABLE_COLUMN" gridHeight="1" gridWidth="12" name="notb00023.porc_15" posX="55" posY="2" precisionDecimal="12" required="true" rowCount="" scaleDecimal="2" sqlTabName="notb00023" sqlType="DECIMAL" stepX="" stepY="" tabIndex="5" table_alias_name="" widget="Edit"/>
|
||||
<Label posX="49" posY="3" text="20 %"/>
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<ManagedForm databaseName="marmotech" fileVersion="31400" gstVersion="3140a" name="ManagedForm" uid="{d7d471c5-a746-452d-9cbb-7c33717f2215}">
|
||||
<ManagedForm databaseName="smarmotech" fileVersion="31400" gstVersion="3140a" name="ManagedForm" uid="{d7d471c5-a746-452d-9cbb-7c33717f2215}">
|
||||
<AGSettings>
|
||||
<DynamicProperties version="2"/>
|
||||
</AGSettings>
|
||||
@@ -14,7 +14,7 @@
|
||||
<Form gridHeight="9" gridWidth="53" name="nofmrp002">
|
||||
<Grid gridHeight="9" gridWidth="53" name="grid1" posX="0" posY="0">
|
||||
<Label gridHeight="1" gridWidth="13" name="label1" posX="3" posY="1" text="Nomina No. "/>
|
||||
<Edit colName="num_nomi" fieldId="0" gridHeight="1" gridWidth="6" name="num_nomi" posX="17" posY="1" sqlTabName="formonly" sqlType="INTEGER" tabIndex="1" widget="Edit"/>
|
||||
<Edit colName="num_nomi" fieldId="0" gridHeight="1" gridWidth="9" name="num_nomi" posX="17" posY="1" sqlTabName="formonly" sqlType="INTEGER" tabIndex="1" widget="Edit"/>
|
||||
<Label gridHeight="1" gridWidth="11" name="label2" posX="27" posY="1" text="Tipo Emp."/>
|
||||
<ComboBox colName="tipo_emp" fieldId="1" gridHeight="1" gridWidth="11" items="QUINCENAL, TEMPORAL" name="tipo_emp" posX="39" posY="1" scroll="true" sqlTabName="formonly" sqlType="CHAR" tabIndex="2" widget="ComboBox">
|
||||
<Item lstrtext="false" name="Q" text="QUINCENAL"/>
|
||||
|
||||
@@ -22,8 +22,8 @@ end
|
||||
tables
|
||||
notb00008
|
||||
ATTRIBUTES
|
||||
f1 = formonly.fecha_inicial;
|
||||
f2 = formonly.fecha_al;
|
||||
DATEEDIT f1 = formonly.fecha_inicial type date,format = "dd/mm/yyyy";
|
||||
DATEEDIT f2 = formonly.fecha_al type date,format = "dd/mm/yyyy";
|
||||
COMBOBOX s1 = formonly.vacaciones_pagadas, ITEMS=("SI","NO"),DEFAULT="NO";
|
||||
f001 = notb00008.num_nomi,autonext,
|
||||
comments = "Digite el numero de la nomina";
|
||||
|
||||
@@ -97,7 +97,7 @@ FUNCTION consulta4()
|
||||
|
||||
LET selec =
|
||||
"SELECT DISTINCT a.tipo_emp,a.num_emp,a.departamento,a.nivel_emp,a.cod_puesto, ",
|
||||
" b.nom1_emp,b.apell1_emp,c.nom_dpto,CONVERT(CHAR(10),b.fech_efec,103) ",
|
||||
" b.nom1_emp,b.apell1_emp,c.nom_dpto,b.fech_efec ",
|
||||
"FROM notb00008 a,adtb00003 b,adtb00001 c ",
|
||||
"WHERE a.num_emp = b.num_emp ",
|
||||
"AND a.departamento = c.departamento ",
|
||||
|
||||
@@ -542,7 +542,7 @@ FUNCTION nopcmf023()
|
||||
## AQUI SE ELIMINAN LOS REGISTROS
|
||||
COMMAND KEY("L") "eLiminar"
|
||||
|
||||
IF depto.id_maintainx IS NOT NULL THEN
|
||||
IF apicheck AND depto.id_maintainx IS NOT NULL THEN
|
||||
CALL ApiMaintainD(
|
||||
'DELETE', depto.id_maintainx, depto.*, usuarios)
|
||||
RETURNING answer
|
||||
|
||||
@@ -160,7 +160,18 @@ FUNCTION adpcad023()
|
||||
|
||||
LET numero_msg = 1
|
||||
CALL msg(numero_msg)
|
||||
NEXT FIELD nom_puesto
|
||||
CLEAR FORM
|
||||
LET puesto.nom_puesto = NULL
|
||||
LET puesto.otra_descripcion = NULL
|
||||
LET puesto.funciones = NULL
|
||||
LET puesto.funcion1 = NULL
|
||||
LET puesto.nivel_sal = NULL
|
||||
LET puesto.salario_min = NULL
|
||||
LET puesto.salario_max = NULL
|
||||
LET puesto.tipo_puesto = NULL
|
||||
LET puesto.supervisor = NULL
|
||||
LET puesto.cod_puesto_sirla = NULL
|
||||
NEXT FIELD nom_puesto
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -7,8 +7,9 @@
|
||||
FECHA REALIZACION : Friday, 15 December, 2000
|
||||
------------------------------------------------------------------
|
||||
}
|
||||
GLOBALS "noprgb000.4gl"
|
||||
GLOBALS "noprgb000.4gl"
|
||||
DEFINE relacion RECORD LIKE notb00023.*
|
||||
DEFINE existe_tipo INTEGER
|
||||
|
||||
MAIN
|
||||
DEFER INTERRUPT
|
||||
@@ -80,16 +81,16 @@ FUNCTION nopcad023()
|
||||
NEXT FIELD tipo_emp
|
||||
END IF
|
||||
|
||||
SELECT a.*
|
||||
SELECT COUNT(*) INTO existe_tipo
|
||||
FROM notb00010 a
|
||||
WHERE a.tipo_emp = relacion.tipo_emp
|
||||
AND a.status_t IS NULL
|
||||
AND a.status_t IS NULL
|
||||
|
||||
IF STATUS = NOTFOUND THEN
|
||||
IF existe_tipo = 0 THEN
|
||||
LET numero_msg = 2
|
||||
CALL msg(numero_msg)
|
||||
NEXT FIELD tipo_emp
|
||||
END IF
|
||||
END IF
|
||||
|
||||
IF relacion.tipo_emp = "Q" AND
|
||||
relacion.numero_nomina <= 24 THEN
|
||||
@@ -192,7 +193,7 @@ FUNCTION nopcmf023()
|
||||
RETURN
|
||||
END IF
|
||||
|
||||
LET SELEC = "SELECT a.numero_nomina,a.tipo_emp,convert(varchar(10),a.fecha,101),a.monto_excento,",
|
||||
LET SELEC = "SELECT a.numero_nomina,a.tipo_emp,a.fecha,a.monto_excento,",
|
||||
"a.porc_15,a.porc_20,a.porc_25,a.monto_ars,a.monto_afp FROM notb00023 a where ",
|
||||
" a.status_t is null and ",
|
||||
criterio clipped
|
||||
|
||||
@@ -29,7 +29,7 @@ DEFINE
|
||||
idx INT,
|
||||
selec1 STRING,
|
||||
r_filename STRING,
|
||||
r_output SMALLINT,
|
||||
r_output STRING,
|
||||
preview SMALLINT,
|
||||
handler om.SaxDocumentHandler,
|
||||
varia CHAR(12)
|
||||
|
||||
@@ -57,6 +57,12 @@ FUNCTION noprrp003()
|
||||
RETURN
|
||||
END IF
|
||||
|
||||
-- El combo "departamento" usa NULL como valor para "TODOS", pero
|
||||
-- CONSTRUCT traduce eso a "e.departamento is null", que excluye
|
||||
-- (en vez de incluir) a los empleados con departamento asignado.
|
||||
-- Se neutraliza esa condicion para que "TODOS" no filtre nada.
|
||||
CALL neutraliza_depto_null(criterio) RETURNING criterio
|
||||
|
||||
LET query =
|
||||
"SELECT a.num_emp, ",
|
||||
" RTRIM(e.nom1_emp)+' '+RTRIM(ISNULL(e.apell1_emp,'')), ",
|
||||
@@ -84,6 +90,7 @@ FUNCTION noprrp003()
|
||||
FOREACH cur_rep INTO inv[idx].*
|
||||
LET idx = idx + 1
|
||||
END FOREACH
|
||||
CALL inv.deleteElement(idx) -- descarta la fila vacia que deja el FOREACH
|
||||
|
||||
IF idx > 1 THEN
|
||||
LET r_filename = "noprrp003.4rp"
|
||||
@@ -143,5 +150,20 @@ REPORT rep_herr(x)
|
||||
ON EVERY ROW
|
||||
PRINTX x.fecha, x.codigo, x.descripcion, x.documento, x.cantidad
|
||||
|
||||
|
||||
END REPORT
|
||||
|
||||
END REPORT
|
||||
|
||||
FUNCTION neutraliza_depto_null(criterio)
|
||||
DEFINE criterio STRING
|
||||
DEFINE patron STRING
|
||||
DEFINE pos INT
|
||||
|
||||
LET patron = "e.departamento is null"
|
||||
LET pos = criterio.getIndexOf(patron, 1)
|
||||
IF pos > 0 THEN
|
||||
LET criterio = criterio.subString(1, pos - 1), "1=1",
|
||||
criterio.subString(pos + patron.getLength(), criterio.getLength())
|
||||
END IF
|
||||
|
||||
RETURN criterio
|
||||
END FUNCTION
|
||||
@@ -17,7 +17,8 @@ GLOBALS "noprgb000.4gl"
|
||||
num_emp LIKE notb00008.num_emp,
|
||||
valor DECIMAL(12,2)
|
||||
END RECORD,
|
||||
vacaciones_pagadas CHAR(2)
|
||||
vacaciones_pagadas CHAR(2),
|
||||
fecha_al_sel DATE
|
||||
|
||||
DEFINE cooper RECORD
|
||||
num_emp LIKE notb00008.num_emp,
|
||||
@@ -93,13 +94,13 @@ FUNCTION noprrp009()
|
||||
NEXT FIELD tipo_emp
|
||||
END IF
|
||||
LET selec =
|
||||
"SELECT CONVERT(CHAR(10),fecha_al,103) FROM notb00010 ",
|
||||
"SELECT fecha_al FROM notb00010 ",
|
||||
" WHERE num_nomi = ",cooper.num_nomi USING "<<<<","and tipo_emp = '",cooper.tipo_emp,"'"
|
||||
PREPARE busca_fecha FROM selec
|
||||
PREPARE busca_fecha FROM selec
|
||||
EXECUTE busca_fecha INTO cooper.fecha_al
|
||||
|
||||
LET selec =
|
||||
"SELECT CONVERT(CHAR(10),MIN(fecha_del),103) FROM notb00010 ",
|
||||
"SELECT MIN(fecha_del) FROM notb00010 ",
|
||||
" WHERE ano = ",year(cooper.fecha_al)," and tipo_emp = '",cooper.tipo_emp,"'"
|
||||
PREPARE busca_fecha1 FROM selec
|
||||
EXECUTE busca_fecha1 INTO fecha_inicial
|
||||
@@ -124,8 +125,9 @@ FUNCTION noprrp009()
|
||||
RETURN
|
||||
END IF
|
||||
EXIT INPUT
|
||||
END INPUT
|
||||
END IF
|
||||
END INPUT
|
||||
END IF
|
||||
LET fecha_al_sel = cooper.fecha_al
|
||||
CALL defecto(usuarios,clave,impresor) RETURNING imprime,negrilla_on,negrillas_of,
|
||||
doble_on,doble_off,comp_on,comp_off,
|
||||
doce,normal,archivo,imprime
|
||||
@@ -134,7 +136,7 @@ FUNCTION noprrp009()
|
||||
IF vacaciones_pagadas = "NO" THEN
|
||||
LET SELEC =
|
||||
"SELECT UNIQUE a.num_emp,b.departamento,b.nivel_emp,b.cod_puesto, ",
|
||||
" b.nom1_emp,b.apell1_emp,ISNULL(a.valor*-1,0),a.num_nomi,CONVERT(CHAR(10),d.fecha_al,103), ",
|
||||
" b.nom1_emp,b.apell1_emp,ISNULL(a.valor*-1,0),a.num_nomi,d.fecha_al, ",
|
||||
" a.tipo_emp,a.cod_mov,c.descrip_mov ",
|
||||
" FROM adtb00003 b,notb00008 a,notb00002 c,notb00010 d ",
|
||||
" WHERE a.num_emp = b.num_emp AND a.tipo_emp = b.nomina AND ",
|
||||
@@ -151,9 +153,8 @@ FUNCTION noprrp009()
|
||||
" FROM adtb00003 b,notb00008 a,notb00002 c,notb00010 d,adtb00020 e,adtb00032 f ",
|
||||
" WHERE a.num_emp = b.num_emp AND a.tipo_emp = b.nomina AND ",
|
||||
" a.cod_mov = c.cod_mov AND a.num_nomi = d.num_nomi AND ",
|
||||
" CONVERT(CHAR(10),e.fecha,103) between '",fecha_inicial USING "dd/mm/yyyy" ,"' and '",cooper.fecha_al USING "dd/mm/yyyy","' ",
|
||||
" and CONVERT(CHAR(10),e.fecha,103) between '",fecha_inicial USING "dd/mm/yyyy" ,"' and '",cooper.fecha_al USING "dd/mm/yyyy",
|
||||
"' and a.tipo_emp = '",cooper.tipo_emp,"' and a.tipo_emp=d.tipo_emp AND ",
|
||||
" e.fecha >= '",fecha_inicial USING "yyyy-mm-dd" ,"' and e.fecha < '",(cooper.fecha_al+1) USING "yyyy-mm-dd","' ",
|
||||
" and a.tipo_emp = '",cooper.tipo_emp,"' and a.tipo_emp=d.tipo_emp AND ",
|
||||
# " a.cod_mov in (1) AND ",
|
||||
" b.num_emp = e.num_emp and e.cod_mto=1 and e.num_trx = f.num_trx AND ",
|
||||
" f.num_nomi = a.num_nomi and f.num_nomi_no IS NULL AND ",
|
||||
@@ -181,11 +182,9 @@ FUNCTION noprrp009()
|
||||
EXIT WHILE
|
||||
END IF
|
||||
IF idx = 1 THEN
|
||||
CALL seleccionarsalida() RETURNING r_output
|
||||
CALL configureoutput(r_output) RETURNING HANDLER
|
||||
|
||||
START REPORT list_cooper TO XML HANDLER HANDLER
|
||||
LET idx = 2
|
||||
LET cmd = FGL_GETENV("FGLSPOOL"),"\\noprrp009.txt"
|
||||
START REPORT list_cooper TO cmd
|
||||
LET idx = 2
|
||||
END IF
|
||||
|
||||
IF int_flag THEN
|
||||
@@ -282,7 +281,7 @@ END FUNCTION
|
||||
SKIP 1 LINE
|
||||
## SE IMPRIME EL NUMERO DE NOMINA Y LA FECHA
|
||||
IF vacaciones_pagadas = "SI" THEN
|
||||
PRINT COLUMN 1,fecha_inicial USING "dd/mm/yyyy", " hasta ",cooper.fecha_al USING "dd/mm/yyyy"
|
||||
PRINT COLUMN 1,fecha_inicial USING "dd/mm/yyyy", " hasta ",fecha_al_sel USING "dd/mm/yyyy"
|
||||
ELSE
|
||||
|
||||
PRINT COLUMN 1, "Nomina No.:",
|
||||
@@ -359,8 +358,8 @@ END FUNCTION
|
||||
COLUMN 11, x.nivel_emp using "&&","-",
|
||||
COLUMN 15, x.cod_puesto using "&&",
|
||||
COLUMN 23, x.nom1_emp clipped," ",x.apell1_emp clipped,
|
||||
COLUMN 55, GROUP SUM(x.valor) using "#,###,###.##",
|
||||
COLUMN 70, balance using "##,###,###.##"
|
||||
COLUMN 55, GROUP SUM(x.valor) using "-#,###,###.##",
|
||||
COLUMN 70, balance using "-##,###,###.##"
|
||||
|
||||
LET noRegistros = noRegistros + 1
|
||||
END IF
|
||||
@@ -371,7 +370,7 @@ END FUNCTION
|
||||
PRINT COLUMN 1, negrillas_on,
|
||||
COLUMN 2, "TOTAL GENERAL",
|
||||
COLUMN 18, negrillas_off,
|
||||
COLUMN 52, GROUP SUM(x.valor) using "###,###,###.##",
|
||||
COLUMN 70, total using "###,###,###.##"
|
||||
COLUMN 52, GROUP SUM(x.valor) using "-###,###,###.##",
|
||||
COLUMN 70, total using "-###,###,###.##"
|
||||
|
||||
END REPORT
|
||||
|
||||
+48
-102
@@ -157,9 +157,19 @@ FUNCTION noprrp015()
|
||||
doce,normal,archivo,imprime
|
||||
|
||||
|
||||
CALL seleccionarsalida() RETURNING r_output
|
||||
CALL configureoutput(r_output) RETURNING handler
|
||||
START REPORT prestamo TO XML HANDLER handler
|
||||
LET r_filename = 'noprrp015.4rp'
|
||||
IF fgl_report_loadCurrentSettings(r_filename) THEN
|
||||
CALL seleccionarsalida() RETURNING r_output
|
||||
LET preview = 1
|
||||
CALL fgl_report_selectDevice(r_output)
|
||||
CALL fgl_report_selectPreview(preview)
|
||||
LET handler = fgl_report_commitCurrentSettings()
|
||||
END IF
|
||||
IF handler IS NOT NULL THEN
|
||||
START REPORT prestamo TO XML HANDLER handler
|
||||
ELSE
|
||||
EXIT PROGRAM
|
||||
END IF
|
||||
|
||||
## SE BUSCA LA INFORMACION DE LOS CAMPOS DEL REGISTRO PARA DARLE
|
||||
## SALIDA AL REPORTE
|
||||
@@ -221,105 +231,47 @@ END FUNCTION
|
||||
num_nomi LIKE notb00008.num_nomi,
|
||||
fecha_al LIKE notb00010.fecha_al
|
||||
END RECORD
|
||||
|
||||
## DEFINICION DE LAS VARIABLES DE IMPRESION
|
||||
|
||||
DEFINE t_interes,interes DECIMAL(8,2)
|
||||
DEFINE doble_on CHAR(2)
|
||||
DEFINE doble_off CHAR(2)
|
||||
DEFINE negrillas_on CHAR(2)
|
||||
DEFINE negrillas_off CHAR(2)
|
||||
DEFINE comp_on CHAR(2)
|
||||
DEFINE comp_off CHAR(2)
|
||||
DEFINE doce CHAR(2)
|
||||
DEFINE normal CHAR(2)
|
||||
DEFINE hora CHAR(5)
|
||||
DEFINE valor1,total,total1,balance DECIMAL(10,2)
|
||||
DEFINE l smallint
|
||||
DEFINE varia CHAR(30)
|
||||
DEFINE total,total1 DECIMAL(10,2)
|
||||
DEFINE codigo_emp VARCHAR(20)
|
||||
DEFINE nombre_completo VARCHAR(80)
|
||||
DEFINE fecha_al_ch VARCHAR(10)
|
||||
DEFINE nombre_cia VARCHAR(100)
|
||||
|
||||
OUTPUT
|
||||
ORDER BY x.cod_mov,x.num_emp
|
||||
|
||||
## DEFINICION DE LOS MARGENES DE IMPRESION
|
||||
TOP MARGIN 0
|
||||
LEFT MARGIN 0
|
||||
BOTTOM MARGIN 3
|
||||
PAGE LENGTH 100
|
||||
FORMAT
|
||||
PAGE HEADER
|
||||
LET doble_on = ASCII 14
|
||||
LET doble_off = ASCII 20
|
||||
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 normal = ASCII 27, ASCII 80
|
||||
FIRST PAGE HEADER
|
||||
LET hora = time
|
||||
LET varia = x.descrip_mov
|
||||
|
||||
## SE CALCULA LA LONGITUD DE LA VARIABLE -VARIA-
|
||||
LET l = (80 - LENGTH(p_companias.nombre CLIPPED))/2
|
||||
|
||||
## AQUI SE INDICA LA IMPRESION DE LOS ENCABEZADOS
|
||||
PRINT COLUMN 1, normal,negrillas_on
|
||||
PRINT COLUMN 1, "noprrp015",
|
||||
COLUMN l, p_companias.nombre CLIPPED,
|
||||
COLUMN 73, "Pag. ",pageno using "###"
|
||||
PRINT COLUMN 29, "Descuentos Cooperativa",
|
||||
COLUMN 73, today using "dd/mm/yy"
|
||||
LET l = (80 - LENGTH(varia CLIPPED))/2
|
||||
PRINT COLUMN l, varia CLIPPED,
|
||||
COLUMN 73, hora
|
||||
|
||||
SKIP 1 LINE
|
||||
## SE IMPRIME EL NUMERO DE NOMINA Y LA FECHA
|
||||
PRINT COLUMN 1, negrillas_on,
|
||||
COLUMN 4, "Nomina No.: ",x.num_nomi using "<<<<",
|
||||
" Al: ",x.fecha_al using "dd/mm/yy",
|
||||
negrillas_off
|
||||
LET fecha_al_ch = x.fecha_al USING "dd/mm/yy"
|
||||
LET nombre_cia = p_companias.nombre CLIPPED
|
||||
|
||||
## SE SELECCIONA EL TIPO DE NOMINA A IMPRIMIR
|
||||
IF x.tipo_emp = "Q" THEN
|
||||
LET descr = "QUINCENAL"
|
||||
ELSE
|
||||
IF x.tipo_emp = "V" THEN
|
||||
LET descr = "VENDEDOR"
|
||||
ELSE
|
||||
LET descr = "SEMANAL"
|
||||
END IF
|
||||
END IF
|
||||
IF x.tipo_emp = "Q" THEN
|
||||
LET descr = "QUINCENAL"
|
||||
ELSE
|
||||
IF x.tipo_emp = "V" THEN
|
||||
LET descr = "VENDEDOR"
|
||||
ELSE
|
||||
LET descr = "SEMANAL"
|
||||
END IF
|
||||
END IF
|
||||
|
||||
PRINT doce
|
||||
PRINT COLUMN 1, negrillas_on,
|
||||
COLUMN 4, descr,
|
||||
COLUMN 15, negrillas_off
|
||||
|
||||
PRINT COLUMN 2, "---------------------------------------------------",
|
||||
"-------------------------------------------"
|
||||
|
||||
PRINT COLUMN 4, "Codigo No.",
|
||||
COLUMN 23, "Nombre",
|
||||
COLUMN 53, "Valor",
|
||||
COLUMN 61, "Interes",
|
||||
COLUMN 74, "Balance"
|
||||
|
||||
PRINT COLUMN 2, "----------------------------------------------------",
|
||||
"------------------------------------------"
|
||||
PRINTX nombre_cia,hora,x.num_nomi,fecha_al_ch,descr
|
||||
|
||||
## SE INDICA EL SALTO DE PAGINA CUANDO SE IMPRIMEN TODOS LOS MOVIMIENTOS
|
||||
BEFORE GROUP OF x.cod_mov
|
||||
SKIP TO TOP OF PAGE
|
||||
LET total1 = 0
|
||||
LET total = 0
|
||||
LET t_interes = 0
|
||||
PRINTX x.descrip_mov
|
||||
|
||||
BEFORE GROUP OF x.num_emp
|
||||
LET balance = 0
|
||||
LET valor1 = 0
|
||||
BEFORE GROUP OF x.num_emp
|
||||
# Busca La cuota de la nomina aqui ya que en el SELECT principal se busca
|
||||
# pero no es confiable
|
||||
|
||||
SELECT valor INTO x.valor FROM notb00008
|
||||
SELECT valor INTO x.valor FROM notb00008
|
||||
WHERE num_emp = x.num_emp and num_nomi = x.num_nomi and
|
||||
tipo_emp = x.tipo_emp and cod_mov = x.cod_mov
|
||||
|
||||
@@ -331,7 +283,7 @@ END FUNCTION
|
||||
END IF
|
||||
# BUSQUEDA DEL INTERES COBRADO EN LA NOMINA ESPECIFICADA
|
||||
LET interes = 0
|
||||
SELECT valor INTO interes FROM notb00008
|
||||
SELECT valor INTO interes FROM notb00008
|
||||
WHERE num_emp = x.num_emp and num_nomi = x.num_nomi and
|
||||
tipo_emp = x.tipo_emp and cod_mov = 110
|
||||
|
||||
@@ -353,27 +305,21 @@ END FUNCTION
|
||||
END IF
|
||||
LET total = total + x.balance
|
||||
|
||||
LET codigo_emp = x.num_emp USING "&&&&","-",
|
||||
x.departamento USING "&&&&","-",
|
||||
x.nivel_emp USING "&&","-",
|
||||
x.cod_puesto USING "&&"
|
||||
LET nombre_completo = x.nom1_emp CLIPPED," ",x.apell1_emp CLIPPED
|
||||
|
||||
## AQUI COMIENZA LA IMPRESION DEL DETALLE
|
||||
IF x.valor != 0 OR x.balance > 0 THEN
|
||||
PRINT COLUMN 4, x.num_emp using "&&&&","-",
|
||||
x.departamento using "&&&&","-",
|
||||
x.nivel_emp using "&&","-", x.cod_puesto using "&&",
|
||||
" ",x.nom1_emp clipped," ",x.apell1_emp clipped,
|
||||
COLUMN 52, x.valor using "##,###.##",
|
||||
COLUMN 62, interes using "###.##",
|
||||
COLUMN 69, x.balance using "#,###,###.##"
|
||||
LET t_interes = t_interes + interes
|
||||
IF x.valor != 0 OR x.balance > 0 THEN
|
||||
LET t_interes = t_interes + interes
|
||||
PRINTX codigo_emp,nombre_completo,x.valor,interes,x.balance
|
||||
END IF
|
||||
|
||||
## AQUI SE IMPRIMEN LOS TOTALES GENERALES
|
||||
AFTER GROUP OF x.cod_mov
|
||||
SKIP 2 LINES
|
||||
PRINT COLUMN 1, negrillas_on,
|
||||
COLUMN 8, "TOTAL GENERAL",
|
||||
COLUMN 51, total1 using "###,###.##",
|
||||
COLUMN 62, t_interes using "###.##",
|
||||
COLUMN 69, total using "#,###,###.##"
|
||||
PRINT COLUMN 18, negrillas_off
|
||||
AFTER GROUP OF x.cod_mov
|
||||
PRINTX total1,t_interes,total
|
||||
|
||||
END REPORT
|
||||
|
||||
|
||||
@@ -52,27 +52,27 @@ OPEN WINDOW w1 WITH FORM "nofmrp039"
|
||||
IF fotos = "SI" THEN
|
||||
LET selec =
|
||||
"SELECT a.num_emp,a.departamento,a.cod_puesto,",
|
||||
" a.nom1_emp,a.apell1_emp,a.apell2_emp,a.calle,a.casa_num,CONVERT(CHAR(10),a.fech_efec,103), ",
|
||||
" a.cedula,a.sueldo_ac,a.fech_nac,a.foto_empleado ",
|
||||
" FROM adtb00003 a WHERE ",criterio CLIPPED, " AND and a.fech_efec IS NOT NULL
|
||||
AND a.foto_empleado IS NOT NULL
|
||||
" a.nom1_emp,a.apell1_emp,a.apell2_emp,a.calle,a.casa_num,a.fech_efec, ",
|
||||
" a.cedula,a.sueldo_ac,a.fech_nac,a.foto_empleado ",
|
||||
" FROM adtb00003 a WHERE ",criterio CLIPPED, " AND a.fech_efec IS NOT NULL
|
||||
AND a.foto_empleado IS NOT NULL
|
||||
ORDER BY a.departamento,a.num_emp "
|
||||
ELSE
|
||||
LET selec =
|
||||
"SELECT a.num_emp,a.departamento,a.cod_puesto,",
|
||||
" a.nom1_emp,a.apell1_emp,a.apell2_emp,a.calle,a.casa_num,CONVERT(CHAR(10),a.fech_efec,103), ",
|
||||
" a.cedula,a.sueldo_ac,a.fech_nac,a.foto_empleado ",
|
||||
" FROM adtb00003 a WHERE ",criterio CLIPPED, " AND and a.fech_efec IS NOT NULL
|
||||
AND a.foto_empleado IS NULL
|
||||
" a.nom1_emp,a.apell1_emp,a.apell2_emp,a.calle,a.casa_num,a.fech_efec, ",
|
||||
" a.cedula,a.sueldo_ac,a.fech_nac,a.foto_empleado ",
|
||||
" FROM adtb00003 a WHERE ",criterio CLIPPED, " AND a.fech_efec IS NOT NULL
|
||||
AND a.foto_empleado IS NULL
|
||||
ORDER BY a.departamento,a.num_emp "
|
||||
END IF
|
||||
END IF
|
||||
IF fotos = "TODOS" THEN
|
||||
LET selec =
|
||||
"SELECT a.num_emp,a.departamento,a.cod_puesto,",
|
||||
" a.nom1_emp,a.apell1_emp,a.apell2_emp,a.calle,a.casa_num,CONVERT(CHAR(10),a.fech_efec,103), ",
|
||||
" a.cedula,a.sueldo_ac,a.fech_nac,a.foto_empleado ",
|
||||
" FROM adtb00003 a WHERE ",criterio CLIPPED, " AND and a.fech_efec IS NOT NULL
|
||||
AND a.foto_empleado IS NOT NULL
|
||||
" a.nom1_emp,a.apell1_emp,a.apell2_emp,a.calle,a.casa_num,a.fech_efec, ",
|
||||
" a.cedula,a.sueldo_ac,a.fech_nac,a.foto_empleado ",
|
||||
" FROM adtb00003 a WHERE ",criterio CLIPPED, " AND a.fech_efec IS NOT NULL
|
||||
AND a.foto_empleado IS NOT NULL
|
||||
ORDER BY a.departamento,a.num_emp "
|
||||
END IF
|
||||
END IF
|
||||
@@ -80,10 +80,10 @@ OPEN WINDOW w1 WITH FORM "nofmrp039"
|
||||
LET chEmpleados = "EMPLEADOS ACTIVOS"
|
||||
LET selec =
|
||||
"SELECT a.num_emp,a.departamento,a.cod_puesto,",
|
||||
" a.nom1_emp,a.apell1_emp,a.apell2_emp,a.calle,a.casa_num,CONVERT(CHAR(10),a.fech_efec,103), ",
|
||||
" a.cedula,a.sueldo_ac,a.fech_nac,a.foto_empleado ",
|
||||
" a.nom1_emp,a.apell1_emp,a.apell2_emp,a.calle,a.casa_num,a.fech_efec, ",
|
||||
" a.cedula,a.sueldo_ac,a.fech_nac,a.foto_empleado ",
|
||||
" FROM adtb00003 a WHERE ",criterio CLIPPED,
|
||||
" AND (a.status_t is null or a.status_t = 'I') and a.fech_efec IS NOT NULL ",
|
||||
" AND (a.status_t is null or a.status_t = 'I') and a.fech_efec IS NOT NULL ",
|
||||
" ORDER BY a.departamento,a.num_emp "
|
||||
END IF
|
||||
|
||||
@@ -91,10 +91,10 @@ OPEN WINDOW w1 WITH FORM "nofmrp039"
|
||||
LET chEmpleados = "EMPLEADOS DESACTIVOS"
|
||||
LET selec =
|
||||
"SELECT a.num_emp,a.departamento,a.cod_puesto,",
|
||||
" a.nom1_emp,a.apell1_emp,a.apell2_emp,a.calle,a.casa_num,CONVERT(CHAR(10),a.fech_efec,103),",
|
||||
" a.cedula,a.sueldo_ac,a.fech_nac,a.foto_empleado ",
|
||||
" a.nom1_emp,a.apell1_emp,a.apell2_emp,a.calle,a.casa_num,a.fech_efec,",
|
||||
" a.cedula,a.sueldo_ac,a.fech_nac,a.foto_empleado ",
|
||||
" FROM adtb00003 a WHERE ",criterio CLIPPED,
|
||||
" AND a.status_t is not null and a.fech_efec IS NOT NULL",
|
||||
" AND a.status_t is not null and a.fech_efec IS NOT NULL",
|
||||
" ORDER BY a.departamento,a.num_emp "
|
||||
|
||||
END IF
|
||||
|
||||
@@ -39,10 +39,6 @@ OPEN WINDOW w1 WITH FORM "nofmrp043"
|
||||
ON ACTION CANCEL ATTRIBUTE(TEXT="Cancelar", IMAGE="cancel")
|
||||
EXIT PROGRAM
|
||||
ON ACTION imprimir ATTRIBUTE(TEXT="Imprime", IMAGE="printer")
|
||||
IF fecha_inicial IS NULL THEN
|
||||
CALL msg(16)
|
||||
NEXT FIELD fecha_inicial
|
||||
END IF
|
||||
IF xfecha1 IS NULL THEN
|
||||
CALL msg(16)
|
||||
NEXT FIELD xfecha1
|
||||
@@ -77,7 +73,7 @@ FUNCTION reporte()
|
||||
CAST(a.checktime as date)
|
||||
FROM CHECKINOUT a,adtb00001 b ,adtb00003 c
|
||||
WHERE c.departamento = b.departamento AND a.num_emp = c.num_emp AND
|
||||
c.status_t is null and a.CHECKTIME between '",xfecha1 USING 'yyyy-mm-dd',"' and '",xfecha2 USING 'yyyy-mm-dd',"' and ",
|
||||
c.status_t is null and a.CHECKTIME >= '",xfecha1 USING 'yyyy-mm-dd',"' and a.CHECKTIME < '",(xfecha2+1) USING 'yyyy-mm-dd',"' and ",
|
||||
criterio CLIPPED,
|
||||
" order by '('+CAST(c.departamento AS CHAR(20))+') '+b.nom_dpto,a.num_emp,cast(a.checktime as date) "
|
||||
{
|
||||
|
||||
@@ -0,0 +1,33 @@
|
||||
FUNCTION selectOutputSimple()
|
||||
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
|
||||
Reference in New Issue
Block a user