Files
MBS/PROYECTO/bin/sendemail.4rp
T
jsotoandClaude Opus 5.5 705fadfdb4 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>
2026-10-16 15:30:24 -04:00

90 lines
10 KiB
XML

<?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="31408" version="6.00">
<report:Settings RWPageWidth="letterwidth" RWPageLength="letterlength" RWLeftMargin="0.51cm" RWTopMargin="1.69cm" RWRightMargin="0.51cm" RWBottomMargin="0.25cm">
<report:FormatList>
<report:Format-SVG/>
<report:Format-PDF/>
<report:Format-image/>
</report:FormatList>
</report:Settings>
<report:Data RWDataLocation="../nodir/noprrp008.rdd" RWFglReportName="cheque"/>
<report:Conflicts/>
<rtl:stylesheet>
<PXML>
<rtl:match name="Report" nameConstraint="Report">
<MINIPAGE name="Page Root" width="max" length="max" lengthAdjustment="shrinkToChildren" layoutDirection="topToBottom" swapX="false">
<rtl:match name="Group num_emp" nameConstraint="Group" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="encabezado" width="max" length="min" alignment="near" layoutDirection="topToBottom" floatingBehavior="free">
<IMAGEBOX name="ImageBox1" width="77.9666" alignment="near" url="{{&quot;IMAGENES/Logo_DCM.png&quot;}}" intendedResolution="96"/>
<LAYOUTNODE name="Layout Node6" width="min" length="max" fontBold="true" layoutDirection="leftToRight">
<rtl:input-variable name="c_entra.nombre_tipo" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox10" alignment="near" baselineType="leftleft" text="{{&quot;TIPO NOMINA: &quot;+c_entra.nombre_tipo}}"/>
<WORDBOX name="WordBox24" width="85" alignment="baseline" baselineType="leftleft" text=""/>
<rtl:input-variable name="num_Doc" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox22" width="200" alignment="baseline" fontSize="9" baselineType="leftleft" textAlignment="left" text="{{&quot;VOLANTE NO: &quot;+num_Doc.format(&quot;&amp;&amp;&amp;&amp;&amp;&amp;&quot;)}}"/>
</LAYOUTNODE>
</MINIPAGE>
<MINIPAGE name="GRUPO" width="min" length="max" alignment="near" layoutDirection="leftToRight" swapX="false" baselineType="leftleft">
<rtl:input-variable name="x.num_emp" type="FGLNumeric" expectedLocation="expectedHere"/>
<rtl:input-variable name="x.nom1_emp" type="FGLString" expectedLocation="expectedAhead"/>
<rtl:input-variable name="x.apell1_emp" type="FGLString" expectedLocation="expectedAhead"/>
<rtl:input-variable name="x.apell2_emp" type="FGLString" expectedLocation="expectedAhead"/>
<WORDBOX name="Report Title" width="200" alignment="baseline" fontSize="10" fontBold="true" layoutDirection="topToBottom" swapX="false" baselineType="leftleft" floatingBehavior="enclosed" text="{{&quot;NOMBRE: &quot;+&quot;(&quot;+x.num_emp.format(&quot;&amp;&amp;&amp;&amp;&quot;)+&quot;)&quot;+x.nom1_emp.trim()+&quot; &quot;+x.apell1_emp.trim()+&quot; &quot;+x.apell2_emp}}"/>
<WORDBOX name="WordBox6" width="80" alignment="baseline" baselineType="leftleft" text=""/>
<rtl:input-variable name="datos_peri.fecha_d" type="FGLString" expectedLocation="expectedHere"/>
<rtl:input-variable name="datos_peri.fecha_a" type="FGLString" expectedLocation="expectedHere"/>
<rtl:input-variable name="x.numero" type="FGLNumeric" expectedLocation="expectedAhead"/>
<WORDBOX name="WordBox11" width="250" alignment="near" fontSize="9" fontBold="true" baselineType="leftleft" floatingBehavior="free" textAlignment="left" text="{{&quot; PERIODO DEL &quot;+datos_peri.fecha_d.value+&quot; AL &quot;+datos_peri.fecha_a.value+&quot; CODIGO NOMINA: &quot;+x.numero.format(&quot;&amp;&amp;&amp;&amp;&quot;)}}"/>
<MINIPAGE name="Separator" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight" swapX="false"/>
</MINIPAGE>
<LAYOUTNODE name="ENCABEZADODETALLE" width=".4inch" length="570" layoutDirection="leftToRight">
<MINIPAGE name="MiniPage10" width="max" length="min" layoutDirection="topToBottom">
<MINIPAGE name="MiniPage8" width="1" length="max" layoutDirection="leftToRight"/>
<MINIPAGE name="MiniPage7" width="min" length="max" alignment="near" scaleX="1" scaleY="1" fontSize="12" fontBold="true" layoutDirection="leftToRight" swapX="false" baselineType="leftleft">
<WORDBOX name="WordBox13" width="1inch" alignment="baseline" fontBold="true" baselineType="leftleft" text="CODIGO"/>
<WORDBOX name="WordBox14" width=".5inch" alignment="baseline" baselineType="leftleft" text=""/>
<WORDBOX name="WordBox15" width="1.5inch" alignment="baseline" fontBold="true" baselineType="leftleft" text="DESCRIPCION"/>
<WORDBOX name="WordBox" width="1.5inch" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" text="CANTIDAD"/>
<WORDBOX name="WordBox26" width="1.5inch" alignment="baseline" baselineType="leftleft" textAlignment="right" text="VALOR"/>
<WORDBOX name="WordBox16" width="1.5inch" alignment="baseline" baselineType="leftleft" textAlignment="right" text="ACUMULADO"/>
<MINIPAGE name="MiniPage11" width="1" length="max" bgColor="#000000" layoutDirection="leftToRight"/>
</MINIPAGE>
</MINIPAGE>
</LAYOUTNODE>
<LAYOUTNODE name="ONEVERYROW" width="min" length="1.9inch" layoutDirection="topToBottom">
<rtl:match name="OnEveryRow" nameConstraint="OnEveryRow" minOccurs="0" maxOccurs="unbounded">
<MINIPAGE name="Table Row" width="min" length="min" layoutDirection="topToBottom" swapX="false" baselineType="leftleft">
<LAYOUTNODE name="INGRESOS" width="min" length="min" fontSize="10" layoutDirection="leftToRight">
<rtl:input-variable name="x.cod_mov" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox28" width="1inch" alignment="baseline" baselineType="leftleft" text="{{x.cod_mov.format(&quot;&amp;&amp;&amp;&quot;)}}"/>
<WORDBOX name="WordBox29" width=".5inch" alignment="baseline" baselineType="leftleft" text=""/>
<rtl:input-variable name="x.descrip_mov" type="FGLString" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox30" width="1.5inch" alignment="baseline" baselineType="leftleft" text="{{x.descrip_mov}}"/>
<rtl:input-variable name="x.cantidad" type="FGLNumeric" expectedLocation="expectedHere"/>
<DECIMALFORMATBOX name="x.cantidad Value" class="grwNumericValue" width="1.5inch" anchorX="1" alignment="baseline" floatingBehavior="enclosed" textAlignment="right" format="-,---,---,--&amp;.&amp;&amp;" value="{{x.cantidad}}"/>
<rtl:input-variable name="x.valor" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox32" width="1.5inch" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{x.valor.format(&quot;((,(((,(((.##)&quot;)}}"/>
<rtl:input-variable name="x.acumulado" type="FGLNumeric" expectedLocation="expectedHere"/>
<WORDBOX name="WordBox34" width="1.5inch" alignment="baseline" baselineType="leftleft" textAlignment="right" text="{{x.acumulado.format(&quot;#,###,###.##&quot;)}}"/>
</LAYOUTNODE>
</MINIPAGE>
</rtl:match>
</LAYOUTNODE>
<MINIPAGE name="MiniPage12" width="min" length="1.6inch">
<MINIPAGE name="ESPACIO" width="max" length="1" bgColor="#000000"/>
<rtl:input-variable name="t_monto" type="FGLNumeric" expectedLocation="expectedBefore"/>
<WORDBOX name="TINGRESOS" alignment="baseline" fontBold="true" baselineType="leftleft" text="{{&quot;TOTAL INGRESOS: &quot;+t_monto.format(&quot;##,###,###.##&quot;)}}"/>
<rtl:input-variable name="t_desc" type="FGLNumeric" expectedLocation="expectedBefore"/>
<WORDBOX name="TDESCUENTO" alignment="baseline" fontBold="true" baselineType="leftleft" text="{{&quot;TOTAL DESCUENTOS: &quot;+t_desc.format(&quot;##,###,###.##&quot;)}}"/>
<rtl:input-variable name="t_monto" type="FGLNumeric" expectedLocation="expectedBefore"/>
<rtl:input-variable name="t_desc" type="FGLNumeric" expectedLocation="expectedBefore"/>
<WORDBOX name="TACOBRAR" alignment="baseline" fontBold="true" baselineType="leftleft" text="{{&quot;TOTAL A COBRAR: &quot;+(t_monto+t_desc).format(&quot;##,###,###.##&quot;)}}"/>
<WORDBOX name="WordBox35" alignment="baseline" baselineType="leftleft" text=""/>
</MINIPAGE>
</rtl:match>
</MINIPAGE>
</rtl:match>
</PXML>
</rtl:stylesheet>
</report:Report>