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
+26
View File
@@ -0,0 +1,26 @@
IMPORT util
FUNCTION precios()
DEFINE pprecios DYNAMIC ARRAY OF RECORD
cod_lista SMALLINT,
ventas SMALLINT,
cod_n SMALLINT,
cod_grupo SMALLINT,
cod_tipo SMALLINT,
cod_sec SMALLINT,
precio DEC(12,2)
END RECORD,
i INT
DECLARE u23 CURSOR FOR
SELECT a.cod_lista,a.ventas,a.cod_n,a.cod_grupo,a.cod_tipo,a.cod_Sec,a.precio
FROM vetb00025 a WHERE a.status_t IS NULL
LET i=1
FOREACH u23 INTO pprecios[i].*
LET i=i+1
END FOREACH
FREE u23
RETURN util.JSON.stringify(pprecios)
END FUNCTION