diff --git a/PROYECTO/config/fglprofile b/PROYECTO/config/fglprofile
index 56e9925..2fe14c0 100644
--- a/PROYECTO/config/fglprofile
+++ b/PROYECTO/config/fglprofile
@@ -1,10 +1,10 @@
dbi.default.driver = "dbmsqt"
dbi.database.mydatabase.source = "mydatabase.db"
-# --- MBS ERP: conexion smarmotech -> .250/marmotech (DSN ODBC18 marmotech250s) ---
+# --- MBS ERP: conexion smarmotech -> .250/marmotech (DSN ODBC18 marmotech18) ---
# La autenticacion la provee el login (CONNECT ... USER usuario USING clave).
# OJO: el runtime debe tener el driver dbmsnc (esta en fgl602, NO en el 6.00.01 de GST603).
-dbi.database.smarmotech.source = "marmotech250s"
+dbi.database.smarmotech.source = "marmotech18"
dbi.database.smarmotech.driver = "dbmsnc"
# --- MBS ERP: conexion marmotech -> .250/EXTERIOR (DSN ODBC18 marmotech) ---
diff --git a/PROYECTO/mbsERP.4pw b/PROYECTO/mbsERP.4pw
index 06451de..06259f9 100644
--- a/PROYECTO/mbsERP.4pw
+++ b/PROYECTO/mbsERP.4pw
@@ -480,6 +480,7 @@
+
@@ -522,6 +523,10 @@
+
+
+
+
@@ -640,17 +645,14 @@
-
-
-
diff --git a/PROYECTO/nodir/noprmt023.4gl b/PROYECTO/nodir/noprmt023.4gl
index c42da61..414ff39 100644
--- a/PROYECTO/nodir/noprmt023.4gl
+++ b/PROYECTO/nodir/noprmt023.4gl
@@ -542,7 +542,7 @@ FUNCTION nopcmf023()
## AQUI SE ELIMINAN LOS REGISTROS
COMMAND KEY("L") "eLiminar"
- IF depto.id_maintainx IS NOT NULL THEN
+ IF apicheck AND depto.id_maintainx IS NOT NULL THEN
CALL ApiMaintainD(
'DELETE', depto.id_maintainx, depto.*, usuarios)
RETURNING answer