diff --git a/PROYECTO/mbsERP.4pw b/PROYECTO/mbsERP.4pw
index 9bf96a6..e8c2dac 100644
--- a/PROYECTO/mbsERP.4pw
+++ b/PROYECTO/mbsERP.4pw
@@ -482,6 +482,7 @@
+
@@ -532,6 +533,10 @@
+
+
+
+
diff --git a/PROYECTO/nodir/nofmmt025.4fd b/PROYECTO/nodir/nofmmt025.4fd
index 70985bd..7c13598 100644
--- a/PROYECTO/nodir/nofmmt025.4fd
+++ b/PROYECTO/nodir/nofmmt025.4fd
@@ -33,7 +33,7 @@
-
+
diff --git a/PROYECTO/nodir/noprmt025.4gl b/PROYECTO/nodir/noprmt025.4gl
index 0be08b0..c4a262d 100644
--- a/PROYECTO/nodir/noprmt025.4gl
+++ b/PROYECTO/nodir/noprmt025.4gl
@@ -7,8 +7,9 @@
FECHA REALIZACION : Friday, 15 December, 2000
------------------------------------------------------------------
}
-GLOBALS "noprgb000.4gl"
+GLOBALS "noprgb000.4gl"
DEFINE relacion RECORD LIKE notb00023.*
+ DEFINE existe_tipo INTEGER
MAIN
DEFER INTERRUPT
@@ -80,16 +81,16 @@ FUNCTION nopcad023()
NEXT FIELD tipo_emp
END IF
- SELECT a.*
+ SELECT COUNT(*) INTO existe_tipo
FROM notb00010 a
WHERE a.tipo_emp = relacion.tipo_emp
- AND a.status_t IS NULL
+ AND a.status_t IS NULL
- IF STATUS = NOTFOUND THEN
+ IF existe_tipo = 0 THEN
LET numero_msg = 2
CALL msg(numero_msg)
NEXT FIELD tipo_emp
- END IF
+ END IF
IF relacion.tipo_emp = "Q" AND
relacion.numero_nomina <= 24 THEN
@@ -192,7 +193,7 @@ FUNCTION nopcmf023()
RETURN
END IF
- LET SELEC = "SELECT a.numero_nomina,a.tipo_emp,convert(varchar(10),a.fecha,101),a.monto_excento,",
+ LET SELEC = "SELECT a.numero_nomina,a.tipo_emp,a.fecha,a.monto_excento,",
"a.porc_15,a.porc_20,a.porc_25,a.monto_ars,a.monto_afp FROM notb00023 a where ",
" a.status_t is null and ",
criterio clipped