Compare commits

...
2 Commits
Author SHA1 Message Date
jpegueroandClaude Sonnet 5.5 2d3d2c4fbc ipprrp010: centra el titulo y lo separa del encabezado del grupo
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 12:35:35 -04:00
jpegueroandClaude Sonnet 5.5 bf73616f5c ipprrp010: corrige diseno del .4rp (filas length=max, columnas mas anchas, hoja horizontal)
El reporte se veia con los campos apilados y encimados: las filas
estaban declaradas con length=12 en vez de max y las columnas eran
demasiado angostas.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-21 12:29:06 -04:00
2 changed files with 64 additions and 62 deletions
+32 -31
View File
@@ -1,6 +1,6 @@
<?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="60003" version="7.00">
<report:Settings RWPageWidth="a4width" RWPageLength="a4length" RWLeftMargin="1.3cm" RWTopMargin="1.3cm" RWRightMargin="1.3cm" RWBottomMargin="1.3cm">
<report:Settings RWPageWidth="a4length" RWPageLength="a4width" RWLeftMargin="1.3cm" RWTopMargin="1.3cm" RWRightMargin="1.3cm" RWBottomMargin="1.3cm">
<report:FormatList>
<report:Format-SVG/>
<report:Format-PDF/>
@@ -12,56 +12,57 @@
<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" port="firstPageHeader">
<WORDBOX name="Title" width="200" length="14" alignment="near" fontSize="15" fontBold="true" text="Operaciones Por Movimientos Al Standard"/>
<MINIPAGE name="page root" width="max" length="max" alignment="near" fontName="Arial" fontSize="8">
<LAYOUTNODE name="header" width="min" length="min" alignment="center" port="firstPageHeader">
<WORDBOX name="Title" width="686" length="24" alignment="near" fontSize="15" fontBold="true" textAlignment="center" text="Operaciones Por Movimientos Al Standard"/>
<LAYOUTNODE name="espacio titulo" width="686" length="8"/>
</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">
<MINIPAGE name="grupo header" width="min" length="max" 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}}"/>
<WORDWRAPBOX name="cod_mov Value" width="40" 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}}"/>
<WORDWRAPBOX name="descrip_mov Value" width="300" 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 name="encabezado" width="min" length="max" bgColor="#eeeeee" fontBold="true" layoutDirection="leftToRight">
<WORDBOX name="h1" width="112" length="12" alignment="baseline" text="Producto"/>
<WORDBOX name="h2" width="38" length="12" alignment="baseline" text="Docto."/>
<WORDBOX name="h3" width="40" length="12" alignment="baseline" text="Orden"/>
<WORDBOX name="h4" width="46" length="12" alignment="baseline" text="Fecha"/>
<WORDBOX name="h5" width="100" length="12" alignment="baseline" text="Proveedor"/>
<WORDBOX name="h6" width="150" length="12" alignment="baseline" text="Descripcion"/>
<WORDBOX name="h7" width="63" length="12" alignment="baseline" textAlignment="right" text="Cantidad"/>
<WORDBOX name="h8" width="70" length="12" alignment="baseline" textAlignment="right" text="Costo"/>
<WORDBOX name="h9" width="66" 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">
<MINIPAGE name="fila" width="min" length="max" 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}}"/>
<WORDWRAPBOX name="pcodigo Value" width="112" length="12" alignment="baseline" floatingBehavior="enclosed" text="{{pcodigo}}"/>
<rtl:input-variable name="x.num_doc" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="num_doc Value" width="14" length="12" alignment="baseline" floatingBehavior="enclosed" format="&amp;&amp;&amp;&amp;&amp;&amp;" value="{{x.num_doc}}"/>
<DECIMALFORMATBOX name="num_doc Value" width="38" length="12" alignment="baseline" floatingBehavior="enclosed" format="&amp;&amp;&amp;&amp;&amp;&amp;" value="{{x.num_doc}}"/>
<rtl:input-variable name="x.orden" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="orden Value" width="16" length="12" alignment="baseline" floatingBehavior="enclosed" format="&amp;&amp;&amp;&amp;&amp;&amp;&amp;" value="{{x.orden}}"/>
<DECIMALFORMATBOX name="orden Value" width="40" length="12" alignment="baseline" floatingBehavior="enclosed" format="&amp;&amp;&amp;&amp;&amp;&amp;&amp;" value="{{x.orden}}"/>
<rtl:input-variable name="fecha_fmt" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="fecha_fmt Value" width="16" length="12" alignment="baseline" floatingBehavior="enclosed" text="{{fecha_fmt}}"/>
<WORDWRAPBOX name="fecha_fmt Value" width="46" 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}}"/>
<WORDWRAPBOX name="proveedor Value" width="100" 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}}"/>
<WORDWRAPBOX name="descrip_esp Value" width="150" length="12" alignment="baseline" floatingBehavior="enclosed" text="{{x.descrip_esp}}"/>
<rtl:input-variable name="x.consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="consumo Value" width="20" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="---,---,--&amp;.&amp;&amp;&amp;" value="{{x.consumo}}"/>
<DECIMALFORMATBOX name="consumo Value" width="63" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="---,---,--&amp;.&amp;&amp;&amp;" value="{{x.consumo}}"/>
<rtl:input-variable name="x.costo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="costo Value" width="22" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="-,---,---,--&amp;.&amp;&amp;&amp;" value="{{x.costo}}"/>
<DECIMALFORMATBOX name="costo Value" width="70" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="-,---,---,--&amp;.&amp;&amp;&amp;" value="{{x.costo}}"/>
<rtl:input-variable name="total_p" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_p Value" width="24" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="--,---,---,--&amp;.&amp;&amp;" value="{{total_p}}"/>
<DECIMALFORMATBOX name="total_p Value" width="66" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="--,---,---,--&amp;.&amp;&amp;" value="{{total_p}}"/>
</MINIPAGE>
</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 ---->"/>
<MINIPAGE name="grupo footer" width="min" length="max" layoutDirection="leftToRight" fontBold="true">
<WORDBOX name="totalLabel" width="486" 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="---,---,--&amp;.&amp;&amp;&amp;" value="{{total_consumo_m}}"/>
<DECIMALFORMATBOX name="total_consumo_m Value" width="63" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="---,---,--&amp;.&amp;&amp;&amp;" 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="--,---,---,--&amp;.&amp;&amp;" value="{{total_m}}"/>
<DECIMALFORMATBOX name="total_m Value" width="136" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="--,---,---,--&amp;.&amp;&amp;" value="{{total_m}}"/>
</MINIPAGE>
</rtl:match>
</MINIPAGE>
+32 -31
View File
@@ -1,6 +1,6 @@
<?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="60003" version="7.00">
<report:Settings RWPageWidth="a4width" RWPageLength="a4length" RWLeftMargin="1.3cm" RWTopMargin="1.3cm" RWRightMargin="1.3cm" RWBottomMargin="1.3cm">
<report:Settings RWPageWidth="a4length" RWPageLength="a4width" RWLeftMargin="1.3cm" RWTopMargin="1.3cm" RWRightMargin="1.3cm" RWBottomMargin="1.3cm">
<report:FormatList>
<report:Format-SVG/>
<report:Format-PDF/>
@@ -12,56 +12,57 @@
<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" port="firstPageHeader">
<WORDBOX name="Title" width="200" length="14" alignment="near" fontSize="15" fontBold="true" text="Operaciones Por Movimientos Al Standard"/>
<MINIPAGE name="page root" width="max" length="max" alignment="near" fontName="Arial" fontSize="8">
<LAYOUTNODE name="header" width="min" length="min" alignment="center" port="firstPageHeader">
<WORDBOX name="Title" width="686" length="24" alignment="near" fontSize="15" fontBold="true" textAlignment="center" text="Operaciones Por Movimientos Al Standard"/>
<LAYOUTNODE name="espacio titulo" width="686" length="8"/>
</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">
<MINIPAGE name="grupo header" width="min" length="max" 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}}"/>
<WORDWRAPBOX name="cod_mov Value" width="40" 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}}"/>
<WORDWRAPBOX name="descrip_mov Value" width="300" 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 name="encabezado" width="min" length="max" bgColor="#eeeeee" fontBold="true" layoutDirection="leftToRight">
<WORDBOX name="h1" width="112" length="12" alignment="baseline" text="Producto"/>
<WORDBOX name="h2" width="38" length="12" alignment="baseline" text="Docto."/>
<WORDBOX name="h3" width="40" length="12" alignment="baseline" text="Orden"/>
<WORDBOX name="h4" width="46" length="12" alignment="baseline" text="Fecha"/>
<WORDBOX name="h5" width="100" length="12" alignment="baseline" text="Proveedor"/>
<WORDBOX name="h6" width="150" length="12" alignment="baseline" text="Descripcion"/>
<WORDBOX name="h7" width="63" length="12" alignment="baseline" textAlignment="right" text="Cantidad"/>
<WORDBOX name="h8" width="70" length="12" alignment="baseline" textAlignment="right" text="Costo"/>
<WORDBOX name="h9" width="66" 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">
<MINIPAGE name="fila" width="min" length="max" 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}}"/>
<WORDWRAPBOX name="pcodigo Value" width="112" length="12" alignment="baseline" floatingBehavior="enclosed" text="{{pcodigo}}"/>
<rtl:input-variable name="x.num_doc" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="num_doc Value" width="14" length="12" alignment="baseline" floatingBehavior="enclosed" format="&amp;&amp;&amp;&amp;&amp;&amp;" value="{{x.num_doc}}"/>
<DECIMALFORMATBOX name="num_doc Value" width="38" length="12" alignment="baseline" floatingBehavior="enclosed" format="&amp;&amp;&amp;&amp;&amp;&amp;" value="{{x.num_doc}}"/>
<rtl:input-variable name="x.orden" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="orden Value" width="16" length="12" alignment="baseline" floatingBehavior="enclosed" format="&amp;&amp;&amp;&amp;&amp;&amp;&amp;" value="{{x.orden}}"/>
<DECIMALFORMATBOX name="orden Value" width="40" length="12" alignment="baseline" floatingBehavior="enclosed" format="&amp;&amp;&amp;&amp;&amp;&amp;&amp;" value="{{x.orden}}"/>
<rtl:input-variable name="fecha_fmt" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="fecha_fmt Value" width="16" length="12" alignment="baseline" floatingBehavior="enclosed" text="{{fecha_fmt}}"/>
<WORDWRAPBOX name="fecha_fmt Value" width="46" 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}}"/>
<WORDWRAPBOX name="proveedor Value" width="100" 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}}"/>
<WORDWRAPBOX name="descrip_esp Value" width="150" length="12" alignment="baseline" floatingBehavior="enclosed" text="{{x.descrip_esp}}"/>
<rtl:input-variable name="x.consumo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="consumo Value" width="20" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="---,---,--&amp;.&amp;&amp;&amp;" value="{{x.consumo}}"/>
<DECIMALFORMATBOX name="consumo Value" width="63" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="---,---,--&amp;.&amp;&amp;&amp;" value="{{x.consumo}}"/>
<rtl:input-variable name="x.costo" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="costo Value" width="22" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="-,---,---,--&amp;.&amp;&amp;&amp;" value="{{x.costo}}"/>
<DECIMALFORMATBOX name="costo Value" width="70" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="-,---,---,--&amp;.&amp;&amp;&amp;" value="{{x.costo}}"/>
<rtl:input-variable name="total_p" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="total_p Value" width="24" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="--,---,---,--&amp;.&amp;&amp;" value="{{total_p}}"/>
<DECIMALFORMATBOX name="total_p Value" width="66" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="--,---,---,--&amp;.&amp;&amp;" value="{{total_p}}"/>
</MINIPAGE>
</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 ---->"/>
<MINIPAGE name="grupo footer" width="min" length="max" layoutDirection="leftToRight" fontBold="true">
<WORDBOX name="totalLabel" width="486" 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="---,---,--&amp;.&amp;&amp;&amp;" value="{{total_consumo_m}}"/>
<DECIMALFORMATBOX name="total_consumo_m Value" width="63" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="---,---,--&amp;.&amp;&amp;&amp;" 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="--,---,---,--&amp;.&amp;&amp;" value="{{total_m}}"/>
<DECIMALFORMATBOX name="total_m Value" width="136" length="12" alignment="baseline" textAlignment="right" floatingBehavior="enclosed" format="--,---,---,--&amp;.&amp;&amp;" value="{{total_m}}"/>
</MINIPAGE>
</rtl:match>
</MINIPAGE>