Commit inicial: fuentes MBS ERP (Genero 6) + .gitignore + docs/SETUP_PC_MBS.md

This commit is contained in:
2026-08-18 20:59:52 -04:00
commit 454973e269
5978 changed files with 2664094 additions and 0 deletions
+15
View File
@@ -0,0 +1,15 @@
FUNCTION verInstalacion(pnumoc)
DEFINE pnumoc,cuenta INT,
existe_instalacion BOOLEAN
SELECT COUNT(*) INTO cuenta FROM prtb00013 a,iptb00020 b
WHERE a.num_oc = pnumoc AND a.cod_n = b.cod_n AND b.instalacion = "SI"
IF cuenta > 0 THEN
LET existe_instalacion = FALSE
ELSE
LET existe_instalacion = TRUE
END IF
END FUNCTION