Reescribir ipprrp010 (Operacion Movimientos Detallado): .4rp equivocado
El .4rp que traia el repo (y su copia en el backup viejo) era en realidad el reporte de "activos" de otro programa (RWFglReportName y todo el cuerpo no correspondian a REPORT detalle(x)) - por eso nunca pudo generar nada, ni siquiera despues de arreglar el crash original de configureOutput(). - Se convirtio el REPORT detalle(x) de PRINT COLUMN clasico a PRINTX (siguiendo el patron de ipprrp005, que si funciona), y se escribio un .4rp nuevo desde cero con las variables correctas. - Se quito el subtotal por "Orden" que la migracion habia agregado sin incluirlo en el ORDER BY (nunca funciono bien, no existia en 3.20). - Se agrego titulo a la ventana (usaba el generico "screen"). Pendiente: el acomodo visual de columnas del reporte sale apilado en vertical en vez de en fila - los datos y subtotales son correctos, pero falta pulir el layout en el Report Designer (consultado con Johnny). Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user