JSOTO QA G6 (.250): arreglos CG/Activos/Repuestos/Informatica, DBDATE, imagenes de reportes y cgprrp008

Programas (bugs encontrados en las pruebas funcionales en la .250):
- acprmt004/acprmt005: MIN/MAX sobre la fecha real (no sobre texto CONVERT 103); acprmt004 alinea rowid.
- cgprrp008: lee cgtb00004 (no la copia cgtb00004_tmp del 14-mar-2026) y solo regenera
  cgtb00016 cuando se corre sin filtro de cuenta.
- cgprrp014: CONSTRUCT con los nombres de campo del form (cod_sp_sc).
- cgfmrp013: defaultValue del combo = cgprrp012.4rp.
- cgprrp022/edprrp029: salida getPreviewDevice() en lugar de SVG fijo.
- edprrp080: no consume numero ED con afecta = NO.
- cgprmt004/022/037, segprmt0001: sin CONNECT "IFMX" (-6366); EXTERIOR via cross-DB.
- irprcs001: agrega CONNECT; irprmt021: columna idestado; irprmt066: la anulacion sin
  MaintainX ya no se deshace (-255); otrodir/bodegas: rama '2' llena origen y destino.
- teprmt001: ajustes G6.

Despliegue G6:
- DBDATE=dmy4 en config/Application.xcf, config/Main_prg.xcf, resources/Application.xcf
  y en el grupo MODULOS del .4pw (los programas lanzados por el menu heredan el entorno).
- 31 .4rp: IMAGEBOX con rutas absolutas file:///E:|F:|C: -> relativas IMAGENES/...;
  se agregan IMAGENES/LOGO.JPG y genero_logo.png.
- Paquete mbs: incluye bin/*.4rp y bin/IMAGENES (antes el GAR no llevaba los reportes).
- resources/TopMenu.4st (irprcs008 daba -8014); bin/cgprcs024.4rp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-16 15:30:24 -04:00
co-authored by Claude Opus 5.5
parent 95aa24c029
commit 705fadfdb4
57 changed files with 358 additions and 208 deletions
+84
View File
@@ -0,0 +1,84 @@
<?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="31409" 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="../cgdir/cgprmt023.rdd" RWFglReportName="gastos_gral"/>
<report:Conflicts/>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report">
<MINIPAGE name="Page Root" width="max" length="max" alignment="near" fontSize="7">
<LAYOUTNODE name="page header" width="min" length="min" layoutDirection="topToBottom" port="anyPageHeader" floatingBehavior="enclosed">
<rtl:match name="FirstPageHeader" nameConstraint="FirstPageHeader" minOccurs="0" maxOccurs="1">
<LAYOUTNODE name="principal" width="min" length="min" floatingBehavior="enclosed">
<LAYOUTNODE name="encabezado" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed">
<WORDBOX name="WordBox" width="61" fontBold="true" floatingBehavior="enclosed" text="CGPRRP023"/>
<rtl:input-variable name="pcompanias.nombre" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="pcompanias.nombre Value" width="411" fontSize="9" fontBold="true" floatingBehavior="enclosed" text="{{pcompanias.nombre}}" textAlignment="center"/>
<WORDBOX name="WordBox1_1" width="38.5" length="15.9285" alignment="far" fontBold="true" floatingBehavior="enclosed" text="Pagina NO:">
<PAGENOBOX name="PageNoBox" x="39.1082" y="-0.0608" anchorX="0" anchorY="0" fontBold="true" floatingBehavior="enclosed"/>
</WORDBOX>
</LAYOUTNODE>
<LAYOUTNODE name="LayoutNode" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed">
<rtl:input-variable name="fechas" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="fechas Value" width="3inch" fontBold="true" floatingBehavior="enclosed" text="{{fechas}}"/>
</LAYOUTNODE>
</LAYOUTNODE>
</rtl:match>
<MINIPAGE name="MiniPage3" width="min" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed">
<MINIPAGE name="Enc.Secundario" width="min" length="max" layoutDirection="leftToRight">
<WORDBOX name="WordBox9" width="454.69" length="12.1284" fontBold="true" floatingBehavior="enclosed" textAlignment="center" text="GASTOS POR DEPARTAMENTO"/>
<rtl:input-variable name="fecha_reporte" type="FGLString" expectedLocation="expectedBefore"/>
<WORDBOX name="fecha_reporte Value" width="84.789" length="11.5" alignment="near" fontBold="true" floatingBehavior="enclosed" text="{{fecha_reporte}}"/>
</MINIPAGE>
</MINIPAGE>
<MINIPAGE name="Enc.Cuerpo" width="9.357" length="max" alignment="near" layoutDirection="leftToRight" roundedCorners="true" borderWidth="1" borderStyle="solid">
<WORDBOX name="WordBox10" width="47.0492" length="7.8409" fontSize="7" fontBold="true" floatingBehavior="enclosed" text="CUENTA"/>
<WORDBOX name="WordBox3_1" width="160.598" length="8.26137" alignment="near" fontSize="7" fontBold="true" floatingBehavior="enclosed" text="DESCRIPCION"/>
<WORDBOX name="WordBox4" width="83.5391" length="6.76763" alignment="baseline" fontSize="7" fontBold="true" floatingBehavior="enclosed" text="AC. MES ANTERIOR"/>
<WORDBOX name="WordBox6" width="107.411" length="6.37421" alignment="baseline" fontSize="7" fontBold="true" floatingBehavior="enclosed" text="GASTOS RANGO FECHA"/>
<WORDBOX name="WordBox7" width="71.1098" length="7.69521" alignment="baseline" fontSize="7" fontBold="true" floatingBehavior="enclosed" text="AC. FECHA ACT"/>
<WORDBOX name="WordBox8" width="60.1435" length="9" alignment="baseline" fontSize="7" fontBold="true" floatingBehavior="enclosed" text="AÑO ANTERIOR"/>
</MINIPAGE>
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="MiniPage" width="min" length="min" layoutDirection="leftToRight">
<rtl:input-variable name="x.cuenta_no" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="x.cuenta_no Value" class="grwStringValue" width="48.9847" floatingBehavior="enclosed" text="{{x.cuenta_no}}"/>
<rtl:input-variable name="x.descripcion" type="FGLString" expectedLocation="expectedHere"/>
<WORDWRAPBOX name="x.descripcion Value" class="grwStringValue" width="161.11" floatingBehavior="enclosed" text="{{x.descripcion}}"/>
<rtl:input-variable name="x.ac_mes_anterior" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.ac_mes_anterior Value" class="grwNumericValue" width="63.9518" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{x.ac_mes_anterior}}"/>
<rtl:input-variable name="x.gastos_r_fecha" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.gastos_r_fecha Value" class="grwNumericValue" width="99.1426" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{x.gastos_r_fecha}}"/>
<rtl:input-variable name="x.ac_fecha_ac" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.ac_fecha_ac Value" class="grwNumericValue" width="77.6222" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{x.ac_fecha_ac}}"/>
<rtl:input-variable name="x.anio_anterior" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.anio_anterior Value1" class="grwNumericValue" width="73.0352" anchorX="1" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{x.anio_anterior}}"/>
</MINIPAGE>
</rtl:match>
</LAYOUTNODE>
<LAYOUTNODE name="totalGral" width="8.29946" length="min" layoutDirection="leftToRight" floatingBehavior="enclosed">
<WORDBOX name="WordBox17_1" width="187.175" alignment="baseline" fontBold="true" floatingBehavior="enclosed" textAlignment="right" text="TOTAL GENERAL: " borderStyle="none"/>
<rtl:match name="OnLastRow" nameConstraint="OnLastRow" minOccurs="0" maxOccurs="1">
<MINIPAGE name="MiniPage4" width="min" length="min" layoutDirection="leftToRight">
<rtl:input-variable name="totalAc_mes_anterior" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="totalAc_mes_anterior Value" class="grwNumericValue" width="85.5869" length="8.28549" anchorX="1" alignment="near" fontSize="8" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{totalAc_mes_anterior}}"/>
<rtl:input-variable name="totalGastos_r_fecha" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="totalGastos_r_fecha Value" class="grwNumericValue" width="99.4373" anchorX="1" fontSize="8" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{totalGastos_r_fecha}}"/>
<rtl:input-variable name="totalAc_fecha_ac" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="totalAc_fecha_ac Value" class="grwNumericValue" width="77.779" anchorX="1" fontSize="8" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{totalAc_fecha_ac}}"/>
<rtl:input-variable name="totaAnio_anterior" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="totaAnio_anterior Value" class="grwNumericValue" width="74.1127" anchorX="1" fontSize="8" floatingBehavior="enclosed" textAlignment="right" format="---,---,---,--&amp;.&amp;&amp;" value="{{totaAnio_anterior}}"/>
</MINIPAGE>
</rtl:match>
</LAYOUTNODE>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>