Añadir cpprrp002, cpprrp003 y cpprrp004; corregir reportes XML y formulario cpfmrp002

- cpprgb000/msgrp000: restaurar getPreviewDevice con case correcto
  (ui.Interface.frontCall) y dejar configureOutput como stub, ya que la
  API fgl_report_* no existe en este FGL 6.00.01.
- cpprrp002/003/004: sustituir configureoutput()/handler roto por
  om.XmlWriter.createFileWriter escribiendo a FGLSPOOL, usando STRING
  para la ruta (CHAR(80) truncaba la ruta larga del proyecto).
- cpfmrp002.per: agregar campo faltante "Salida" (r_output) que el
  programa ya esperaba.
- mbsERP.4pw: registrar cpprrp002/003/004 con sus dependencias,
  entorno FGLSPOOL y configuracion de prueba.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
This commit is contained in:
Abel López
2026-08-24 17:04:18 -04:00
co-authored by Claude Sonnet 5
parent fd01d27119
commit fa1b51c33e
6 changed files with 50 additions and 30 deletions
+6 -4
View File
@@ -2,9 +2,9 @@ database smarmotech
screen size 24 by 80
{
Fecha de Corte [c ] Total 1-30 [t1 ]
Fecha de Corte [c ] Total 1-30 [t1 ]
Codigo Suplidor [cd] Total 31-60 [t2 ]
Total 61-90 [t3 ]
Salida [sa ] Total 61-90 [t3 ]
Total 91 a 120 [t4 ]
Total Mas 120 [t6 ]
Total Saldo [t5 ]
@@ -14,9 +14,11 @@ end
tables
cptb00001
attributes
c = formonly.fecha_corte type date, autonext, format = "dd/mm/yy",
comments = "Digite la fecha de Corte del Reporte";
c = formonly.fecha_corte type date, autonext, format = "dd/mm/yy",
comments = "Digite la fecha de Corte del Reporte";
cd = formonly.cod_sp1 type smallint;
sa = formonly.r_output type char, upshift,
comments = "MA = Impresion clasica";
t1 = formonly.total1 type decimal(10,2),noentry;
t2 = formonly.total2 type decimal(10,2),noentry;
t3 = formonly.total3 type decimal(10,2),noentry;