Commit inicial: fuentes MBS ERP (Genero 6) + .gitignore + docs/SETUP_PC_MBS.md
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
FUNCTION clase()
|
||||
DEFINE clase ui.ComboBox,
|
||||
kcodn SMALLINT,
|
||||
ddescripcion CHAR(60)
|
||||
|
||||
LET clase = ui.ComboBox.forName("formonly.codn")
|
||||
|
||||
CALL clase.clear()
|
||||
|
||||
DECLARE busca CURSOR FOR
|
||||
SELECT a.cod_n,a.producto FROM iptb00020 a
|
||||
ORDER BY a.producto
|
||||
FOREACH busca INTO kcodn,ddescripcion
|
||||
CALL clase.addItem(kcodn,ddescripcion)
|
||||
END FOREACH
|
||||
|
||||
|
||||
END FUNCTION
|
||||
Reference in New Issue
Block a user