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
@@ -0,0 +1,18 @@
{<CODEFILE version="1.0" encoding="fglutf8">}
{<SOURCEFILE name="mydatabase_dbxconstraints.4gl" hash="1B2M2Y8AsgTpgAmY7PhCfg==">}
{<USERCODE>}
{</USERCODE>}
{<LOSTCODE>}
{</LOSTCODE>}
{</SOURCEFILE>}
{<SOURCEFILE name="mydatabase_dbxdata.4gl" hash="1B2M2Y8AsgTpgAmY7PhCfg==">}
{<USERCODE>}
{</USERCODE>}
{<LOSTCODE>}
{</LOSTCODE>}
{</SOURCEFILE>}
{</CODEFILE>}
Binary file not shown.
@@ -0,0 +1,85 @@
clase_productos^cod_n^256^1^1^
clase_productos^descripcion^256^50^2^
companias^cod_cia^257^2^1^
companias^nombre^0^100^2^
companias^direccion^0^100^3^
companias^telefono^0^20^4^
companias^representante^0^50^5^
companias^servidor_sync^0^20^6^
companias^pais^0^100^7^
companias^ciudad^0^100^8^
companias^correo_electronico^0^80^9^
companias^ultimo_usuario^0^50^10^
companias^ultima_fecha_login^0^1^11^
companias^prima_us^5^3074^12^
companias^itbis^5^3074^13^
companias^rnc^0^11^14^
companias^porc_desc^5^3074^15^
grupo_producto^cod_grupo^257^2^1^
grupo_producto^descripcion^256^50^2^
productos^cod_n^257^2^1^
productos^cod_grupo^257^2^2^
productos^cod_tipo^257^2^3^
productos^cod_sec^257^2^4^
productos^descrip_esp^256^100^5^
productos^unidad_med^256^4^6^
productos^codid^52^8^7^
productos^factor_conv^5^3077^8^
productos^imagen^201^80^9^
seg000^usuario^256^50^1^
seg000^nombre^0^80^2^
seg000^sec_vend^1^2^3^
seg000^password^0^8^4^
seg000^ocupacion^0^60^5^
seqreg^sr_name^457^30^1^
seqreg^sr_last^258^4^2^
transacciones^num_doc^2^4^1^
transacciones^num_oc^258^4^2^
transacciones^orden_compra^258^4^3^
transacciones^conduce_no^256^25^4^
transacciones^cod_sp^257^2^5^
transacciones^cod_sp_sec^258^4^6^
transacciones^area^257^2^7^
transacciones^cod_n^257^2^8^
transacciones^cod_grupo^257^2^9^
transacciones^cod_tipo^257^2^10^
transacciones^cod_sec^257^2^11^
transacciones^cantidad_1^261^3077^12^
transacciones^cantidad_2^261^3077^13^
transacciones^cod_mov^257^2^14^
transacciones^bodega^257^2^15^
transacciones^descripcion_bodega^256^30^16^
transacciones^codid^308^8^17^
transacciones^fecha^263^4^18^
transacciones^us_crea^0^50^19^
transacciones^fech_crea^0^1^20^
transacciones^num_req^258^4^21^
transacciones^sec_Vend^257^2^22^
transacciones^direccion^256^500^23^
transacciones^bodega_d^257^2^24^
transacciones^codigo_bloque^256^25^25^
transacciones_master^num_doc^2^4^1^
transacciones_master^cod_mov^1^2^2^
transacciones_master^num_oc^258^4^3^
transacciones_master^orden_compra^258^4^4^
transacciones_master^conduce_no^256^25^5^
transacciones_master^cod_sp^257^2^6^
transacciones_master^cod_sp_Sec^258^4^7^
transacciones_master^num_req^258^4^8^
transacciones_master^sec_vend^257^2^9^
transacciones_master^direccion^0^500^10^
transacciones_master^bodega^1^2^11^
transacciones_master^bodega_d^257^2^12^
transacciones_master^us_crea^0^50^13^
transacciones_master^fech_crea^0^1^14^
transacciones_master^fecha^7^4^15^
transportistas^cod_transp^1^2^1^
transportistas^sec_transp^2^4^2^
transportistas^nombre^0^30^3^
transportistas^cedula^0^11^4^
transportistas^calle^0^30^5^
transportistas^casa_num^0^10^6^
transportistas^urbanizacion^0^20^7^
transportistas^cod_zona^1^2^8^
transportistas^cod_provincia^1^2^9^
transportistas^telefono^0^8^10^
@@ -0,0 +1,595 @@
<?xml version="1.0" encoding="UTF-8" ?>
<AG version="6" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.4js.com/ns/gst/3.00/agmodel.xsd">
<Database name="mydatabase" schemaFile="C:\Users\jsoto\Documents\GENERO\PROYECTOS\MOVIL300\MBSdocumentos\database\mydatabase.4dbx">
<Table name="transportistas">
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_transp" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_transp"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="INTEGER" defaultValue="" fglDatatype="INTEGER" fglLength="4" length="11" name="sec_transp" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="sec_transp"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(30)" defaultValue="" fglDatatype="CHAR(30)" fglLength="30" length="30" name="nombre" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="nombre"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(11)" defaultValue="" fglDatatype="CHAR(11)" fglLength="11" length="11" name="cedula" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cedula"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(30)" defaultValue="" fglDatatype="CHAR(30)" fglLength="30" length="30" name="calle" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="calle"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(10)" defaultValue="" fglDatatype="CHAR(10)" fglLength="10" length="10" name="casa_num" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="casa_num"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(20)" defaultValue="" fglDatatype="CHAR(20)" fglLength="20" length="20" name="urbanizacion" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="urbanizacion"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_zona" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_zona"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_provincia" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_provincia"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(8)" defaultValue="" fglDatatype="CHAR(8)" fglLength="8" length="8" name="telefono" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="telefono"/>
</DynamicProperties>
</DBColumn>
</Table>
<Table name="transacciones_master">
<DBColumn datatype="INTEGER" defaultValue="" fglDatatype="INTEGER" fglLength="4" length="11" name="num_doc" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="num_doc"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_mov" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_mov"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="INTEGER" defaultValue="" fglDatatype="INTEGER" fglLength="4" length="11" name="num_oc" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="num_oc"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="INTEGER" defaultValue="" fglDatatype="INTEGER" fglLength="4" length="11" name="orden_compra" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="orden_compra"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(25)" defaultValue="" fglDatatype="CHAR(25)" fglLength="25" length="25" name="conduce_no" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="conduce_no"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_sp" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_sp"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="INTEGER" defaultValue="" fglDatatype="INTEGER" fglLength="4" length="11" name="cod_sp_Sec" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_sp_Sec"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="INTEGER" defaultValue="" fglDatatype="INTEGER" fglLength="4" length="11" name="num_req" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="num_req"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="sec_vend" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="sec_vend"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(500)" defaultValue="" fglDatatype="CHAR(500)" fglLength="500" length="500" name="direccion" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="direccion"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="bodega" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="bodega"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="bodega_d" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="bodega_d"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="us_crea" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="us_crea"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(1)" defaultValue="" fglDatatype="CHAR(1)" fglLength="1" length="1" name="fech_crea" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="fech_crea"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DATE" defaultValue="" fglDatatype="DATE" fglLength="4" length="10" name="fecha" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="fecha"/>
</DynamicProperties>
</DBColumn>
<DBConstraint constraint="primaryKey" name="PK_transacciones_master_1">
<Column name="num_doc"/>
<Column name="cod_mov"/>
<Column name="bodega"/>
</DBConstraint>
<DBIndex name="PK_transacciones_master_1" primary="1" unique="0">
<Column name="num_doc"/>
<Column name="cod_mov"/>
<Column name="bodega"/>
</DBIndex>
</Table>
<Table name="transacciones">
<DBColumn datatype="INTEGER" defaultValue="" fglDatatype="INTEGER" fglLength="4" length="11" name="num_doc" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="num_doc"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="INTEGER" defaultValue="" fglDatatype="INTEGER" fglLength="4" length="11" name="num_oc" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="num_oc"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="INTEGER" defaultValue="" fglDatatype="INTEGER" fglLength="4" length="11" name="orden_compra" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="orden_compra"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(25)" defaultValue="" fglDatatype="CHAR(25)" fglLength="25" length="25" name="conduce_no" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="conduce_no"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_sp" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_sp"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="INTEGER" defaultValue="" fglDatatype="INTEGER" fglLength="4" length="11" name="cod_sp_sec" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_sp_sec"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="area" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="area"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_n" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_n"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_grupo" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_grupo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_tipo" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_tipo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_sec" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_sec"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(12,5)" defaultValue="" fglDatatype="DECIMAL(12,5)" fglLength="3077" length="14" name="cantidad_1" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cantidad_1"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(12,5)" defaultValue="" fglDatatype="DECIMAL(12,5)" fglLength="3077" length="14" name="cantidad_2" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cantidad_2"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_mov" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_mov"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="bodega" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="bodega"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(30)" defaultValue="" fglDatatype="CHAR(30)" fglLength="30" length="30" name="descripcion_bodega" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="descripcion_bodega"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="BIGINT" defaultValue="" fglDatatype="BIGINT" fglLength="8" length="20" name="codid" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="codid"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DATE" defaultValue="" fglDatatype="DATE" fglLength="4" length="10" name="fecha" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="fecha"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="us_crea" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="us_crea"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(1)" defaultValue="" fglDatatype="CHAR(1)" fglLength="1" length="1" name="fech_crea" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="fech_crea"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="INTEGER" defaultValue="" fglDatatype="INTEGER" fglLength="4" length="11" name="num_req" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="num_req"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="sec_Vend" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="sec_Vend"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(500)" defaultValue="" fglDatatype="CHAR(500)" fglLength="500" length="500" name="direccion" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="direccion"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="bodega_d" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="bodega_d"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(25)" defaultValue="" fglDatatype="CHAR(25)" fglLength="25" length="25" name="codigo_bloque" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="codigo_bloque"/>
</DynamicProperties>
</DBColumn>
<DBConstraint constraint="primaryKey" name="IDX_existencia_1">
<Column name="num_doc"/>
<Column name="area"/>
<Column name="codid"/>
</DBConstraint>
<DBIndex name="IDX_existencia_1" primary="1" unique="0">
<Column name="num_doc"/>
<Column name="area"/>
<Column name="codid"/>
</DBIndex>
</Table>
<Table name="seqreg">
<DBColumn datatype="VARCHAR(30)" defaultValue="" fglDatatype="VARCHAR2(30)" fglLength="30" length="30" name="sr_name" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="sr_name"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="INTEGER" defaultValue="" fglDatatype="INTEGER" fglLength="4" length="11" name="sr_last" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="sr_last"/>
</DynamicProperties>
</DBColumn>
<DBConstraint constraint="primaryKey" name="pk_seqreg">
<Column name="sr_name"/>
</DBConstraint>
<DBIndex name="pk_seqreg" primary="1" unique="0">
<Column name="sr_name"/>
</DBIndex>
</Table>
<Table name="seg000">
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="usuario" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="usuario"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(80)" defaultValue="" fglDatatype="CHAR(80)" fglLength="80" length="80" name="nombre" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="nombre"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="sec_vend" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="sec_vend"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(8)" defaultValue="" fglDatatype="CHAR(8)" fglLength="8" length="8" name="password" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="password"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(60)" defaultValue="" fglDatatype="CHAR(60)" fglLength="60" length="60" name="ocupacion" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="ocupacion"/>
</DynamicProperties>
</DBColumn>
<DBConstraint constraint="primaryKey" name="IDX_seg000_1">
<Column name="usuario"/>
</DBConstraint>
<DBIndex name="IDX_seg000_1" primary="1" unique="0">
<Column name="usuario"/>
</DBIndex>
</Table>
<Table name="productos">
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_n" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_n"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_grupo" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_grupo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_tipo" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_tipo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_sec" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_sec"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(100)" defaultValue="" fglDatatype="CHAR(100)" fglLength="100" length="100" name="descrip_esp" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="descrip_esp"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(4)" defaultValue="" fglDatatype="CHAR(4)" fglLength="4" length="4" name="unidad_med" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="unidad_med"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="BIGINT" defaultValue="" fglDatatype="BIGINT" fglLength="8" length="20" name="codid" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="codid"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(12,5)" defaultValue="" fglDatatype="DECIMAL(12,5)" fglLength="3077" length="14" name="factor_conv" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="factor_conv"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="VARCHAR(80)" defaultValue="" fglDatatype="VARCHAR2(80)" fglLength="80" length="80" name="imagen" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="imagen"/>
</DynamicProperties>
</DBColumn>
<DBConstraint constraint="primaryKey" name="IDX_productos_1">
<Column name="cod_grupo"/>
<Column name="cod_n"/>
<Column name="cod_sec"/>
<Column name="cod_tipo"/>
</DBConstraint>
<DBIndex name="IDX_productos_1" primary="1" unique="0">
<Column name="cod_grupo"/>
<Column name="cod_n"/>
<Column name="cod_sec"/>
<Column name="cod_tipo"/>
</DBIndex>
</Table>
<Table name="grupo_producto">
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_grupo" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_grupo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="descripcion" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="descripcion"/>
</DynamicProperties>
</DBColumn>
<DBConstraint constraint="primaryKey" name="IDX_grupo_producto_2">
<Column name="cod_grupo"/>
</DBConstraint>
<DBIndex name="IDX_grupo_producto_2" primary="1" unique="0">
<Column name="cod_grupo"/>
</DBIndex>
</Table>
<Table name="companias">
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_cia" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_cia"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(100)" defaultValue="" fglDatatype="CHAR(100)" fglLength="100" length="100" name="nombre" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="nombre"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(100)" defaultValue="" fglDatatype="CHAR(100)" fglLength="100" length="100" name="direccion" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="direccion"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(20)" defaultValue="" fglDatatype="CHAR(20)" fglLength="20" length="20" name="telefono" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="telefono"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="representante" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="representante"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(20)" defaultValue="" fglDatatype="CHAR(20)" fglLength="20" length="20" name="servidor_sync" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="servidor_sync"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(100)" defaultValue="" fglDatatype="CHAR(100)" fglLength="100" length="100" name="pais" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="pais"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(100)" defaultValue="" fglDatatype="CHAR(100)" fglLength="100" length="100" name="ciudad" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="ciudad"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(80)" defaultValue="" fglDatatype="CHAR(80)" fglLength="80" length="80" name="correo_electronico" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="correo_electronico"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="ultimo_usuario" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="ultimo_usuario"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(1)" defaultValue="" fglDatatype="CHAR(1)" fglLength="1" length="1" name="ultima_fecha_login" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="ultima_fecha_login"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(12,2)" defaultValue="1" fglDatatype="DECIMAL(12,2)" fglLength="3074" length="14" name="prima_us" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="prima_us"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(12,2)" defaultValue="0" fglDatatype="DECIMAL(12,2)" fglLength="3074" length="14" name="itbis" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="itbis"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(11)" defaultValue="" fglDatatype="CHAR(11)" fglLength="11" length="11" name="rnc" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="rnc"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(12,2)" defaultValue="" fglDatatype="DECIMAL(12,2)" fglLength="3074" length="14" name="porc_desc" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="porc_desc"/>
</DynamicProperties>
</DBColumn>
<DBConstraint constraint="primaryKey" name="IDX_companias_1">
<Column name="cod_cia"/>
</DBConstraint>
<DBIndex name="IDX_companias_1" primary="1" unique="0">
<Column name="cod_cia"/>
</DBIndex>
</Table>
<Table name="clase_productos">
<DBColumn datatype="CHAR(1)" defaultValue="" fglDatatype="CHAR(1)" fglLength="1" length="1" name="cod_n" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_n"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="descripcion" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="descripcion"/>
</DynamicProperties>
</DBColumn>
<DBConstraint constraint="primaryKey" name="IDX_clase_productos_1">
<Column name="cod_n"/>
</DBConstraint>
<DBIndex name="IDX_clase_productos_1" primary="1" unique="0">
<Column name="cod_n"/>
</DBIndex>
</Table>
</Database>
</AG>
@@ -0,0 +1,11 @@
IMPORT FGL libdbappCore
IMPORT FGL libdbappEvents
IMPORT FGL mydatabase_common
--------------------------------------------------------------------------------
--Database schema
SCHEMA mydatabase
-- Declare your PUBLIC module variables here.
PUBLIC DEFINE dlgCtrlInstruction libdbappEvents.DlgCtrlInstruction_Type
@@ -0,0 +1,18 @@
{<CODEFILE version="1.0" encoding="fglutf8">}
{<SOURCEFILE name="mydatabase_dbxconstraints.4gl" hash="1B2M2Y8AsgTpgAmY7PhCfg==">}
{<USERCODE>}
{</USERCODE>}
{<LOSTCODE>}
{</LOSTCODE>}
{</SOURCEFILE>}
{<SOURCEFILE name="mydatabase_dbxdata.4gl" hash="1B2M2Y8AsgTpgAmY7PhCfg==">}
{<USERCODE>}
{</USERCODE>}
{<LOSTCODE>}
{</LOSTCODE>}
{</SOURCEFILE>}
{</CODEFILE>}
@@ -0,0 +1,842 @@
<?xml version="1.0" encoding="UTF-8" ?>
<AG version="8" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.4js.com/ns/gst/3.20/agmodel.xsd">
<Database name="mydatabase" schemaFile="C:\Users\jsoto\Documents\PROYECTOS\MOVIL320\MBSinventario\database\mydatabase.4dbx">
<Table name="transportistas">
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_transp" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_transp"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="INTEGER" defaultValue="" fglDatatype="INTEGER" fglLength="4" length="11" name="sec_transp" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="sec_transp"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(30)" defaultValue="" fglDatatype="CHAR(30)" fglLength="30" length="30" name="nombre" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="nombre"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(11)" defaultValue="" fglDatatype="CHAR(11)" fglLength="11" length="11" name="cedula" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cedula"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(30)" defaultValue="" fglDatatype="CHAR(30)" fglLength="30" length="30" name="calle" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="calle"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(10)" defaultValue="" fglDatatype="CHAR(10)" fglLength="10" length="10" name="casa_num" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="casa_num"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(20)" defaultValue="" fglDatatype="CHAR(20)" fglLength="20" length="20" name="urbanizacion" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="urbanizacion"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_zona" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_zona"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_provincia" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_provincia"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(8)" defaultValue="" fglDatatype="CHAR(8)" fglLength="8" length="8" name="telefono" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="telefono"/>
</DynamicProperties>
</DBColumn>
</Table>
<Table name="transacciones_master">
<DBColumn datatype="INTEGER" defaultValue="" fglDatatype="INTEGER" fglLength="4" length="11" name="num_doc" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="num_doc"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_mov" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_mov"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="INTEGER" defaultValue="" fglDatatype="INTEGER" fglLength="4" length="11" name="num_oc" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="num_oc"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="INTEGER" defaultValue="" fglDatatype="INTEGER" fglLength="4" length="11" name="orden_compra" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="orden_compra"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(25)" defaultValue="" fglDatatype="CHAR(25)" fglLength="25" length="25" name="conduce_no" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="conduce_no"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_sp" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_sp"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="INTEGER" defaultValue="" fglDatatype="INTEGER" fglLength="4" length="11" name="cod_sp_Sec" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_sp_Sec"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="INTEGER" defaultValue="" fglDatatype="INTEGER" fglLength="4" length="11" name="num_req" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="num_req"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="sec_vend" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="sec_vend"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(500)" defaultValue="" fglDatatype="CHAR(500)" fglLength="500" length="500" name="direccion" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="direccion"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="bodega" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="bodega"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="bodega_d" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="bodega_d"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="us_crea" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="us_crea"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(1)" defaultValue="" fglDatatype="CHAR(1)" fglLength="1" length="1" name="fech_crea" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="fech_crea"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DATE" defaultValue="" fglDatatype="DATE" fglLength="4" length="10" name="fecha" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="fecha"/>
</DynamicProperties>
</DBColumn>
<DBConstraint constraint="primaryKey" name="PK_transacciones_master_1">
<Column name="num_doc"/>
<Column name="cod_mov"/>
<Column name="bodega"/>
</DBConstraint>
<DBIndex name="PK_transacciones_master_1" primary="1" unique="0">
<Column name="num_doc"/>
<Column name="cod_mov"/>
<Column name="bodega"/>
</DBIndex>
</Table>
<Table name="tramo">
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_tramo" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_tramo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="desc_tramo" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="desc_tramo"/>
</DynamicProperties>
</DBColumn>
</Table>
<Table name="seg000">
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="usuario" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="usuario"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(80)" defaultValue="" fglDatatype="CHAR(80)" fglLength="80" length="80" name="nombre" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="nombre"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="sec_vend" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="sec_vend"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(8)" defaultValue="" fglDatatype="CHAR(8)" fglLength="8" length="8" name="password" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="password"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(60)" defaultValue="" fglDatatype="CHAR(60)" fglLength="60" length="60" name="ocupacion" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="ocupacion"/>
</DynamicProperties>
</DBColumn>
<DBConstraint constraint="primaryKey" name="IDX_seg000_1">
<Column name="usuario"/>
</DBConstraint>
<DBIndex name="IDX_seg000_1" primary="1" unique="0">
<Column name="usuario"/>
</DBIndex>
</Table>
<Table name="seccion">
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_seccion" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_seccion"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="desc_seccion" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="desc_seccion"/>
</DynamicProperties>
</DBColumn>
</Table>
<Table name="productos">
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_n" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_n"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_grupo" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_grupo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_tipo" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_tipo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_sec" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_sec"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(100)" defaultValue="" fglDatatype="CHAR(100)" fglLength="100" length="100" name="descrip_esp" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="descrip_esp"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(4)" defaultValue="" fglDatatype="CHAR(4)" fglLength="4" length="4" name="unidad_med" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="unidad_med"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="BIGINT" defaultValue="" fglDatatype="BIGINT" fglLength="8" length="20" name="codid" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="codid"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(12,5)" defaultValue="" fglDatatype="DECIMAL(12,5)" fglLength="3077" length="14" name="factor_conv" notNull="0" precision="12" scale="5">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="factor_conv"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="VARCHAR(80)" defaultValue="" fglDatatype="VARCHAR2(80)" fglLength="80" length="80" name="imagen" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="imagen"/>
</DynamicProperties>
</DBColumn>
<DBConstraint constraint="primaryKey" name="IDX_productos_1">
<Column name="cod_grupo"/>
<Column name="cod_n"/>
<Column name="cod_sec"/>
<Column name="cod_tipo"/>
</DBConstraint>
<DBIndex name="IDX_productos_1" primary="1" unique="0">
<Column name="cod_grupo"/>
<Column name="cod_n"/>
<Column name="cod_sec"/>
<Column name="cod_tipo"/>
</DBIndex>
</Table>
<Table name="irtb00012">
<DBColumn datatype="BIGINT" defaultValue="" fglDatatype="BIGINT" fglLength="8" length="20" name="idtrx" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="idtrx"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DATE" defaultValue="" fglDatatype="DATE" fglLength="4" length="10" name="fecha" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="fecha"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="bodega" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="bodega"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_seccion" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_seccion"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_tramo" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_tramo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_n" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_n"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_grupo" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_grupo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_tipo" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_tipo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_sec" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_sec"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(10,2)" defaultValue="" fglDatatype="DECIMAL(10,2)" fglLength="2562" length="12" name="cantidad" notNull="0" precision="10" scale="2">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cantidad"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(12,2)" defaultValue="" fglDatatype="DECIMAL(12,2)" fglLength="3074" length="14" name="balance" notNull="0" precision="12" scale="2">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="balance"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="us_crea" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="us_crea"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DATE" defaultValue="" fglDatatype="DATE" fglLength="4" length="10" name="fech_crea" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="fech_crea"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="us_mod" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="us_mod"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DATE" defaultValue="" fglDatatype="DATE" fglLength="4" length="10" name="fech_mod" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="fech_mod"/>
</DynamicProperties>
</DBColumn>
</Table>
<Table name="iptb00012">
<DBColumn datatype="BIGINT" defaultValue="" fglDatatype="BIGINT" fglLength="8" length="20" name="idtrx" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="idtrx"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DATE" defaultValue="" fglDatatype="DATE" fglLength="4" length="10" name="fecha" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="fecha"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="bodega" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="bodega"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_seccion" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_seccion"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_tramo" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_tramo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_n" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_n"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_grupo" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_grupo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_tipo" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_tipo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_sec" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_sec"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(10,2)" defaultValue="" fglDatatype="DECIMAL(10,2)" fglLength="2562" length="12" name="cantidad" notNull="0" precision="10" scale="2">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cantidad"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(12,2)" defaultValue="" fglDatatype="DECIMAL(12,2)" fglLength="3074" length="14" name="balance" notNull="0" precision="12" scale="2">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="balance"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="us_crea" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="us_crea"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DATE" defaultValue="" fglDatatype="DATE" fglLength="4" length="10" name="fech_crea" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="fech_crea"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="us_mod" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="us_mod"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DATE" defaultValue="" fglDatatype="DATE" fglLength="4" length="10" name="fech_mod" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="fech_mod"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(12,4)" defaultValue="" fglDatatype="DECIMAL(12,4)" fglLength="3076" length="14" name="lado_1" notNull="0" precision="12" scale="4">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="lado_1"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(12,4)" defaultValue="" fglDatatype="DECIMAL(12,4)" fglLength="3076" length="14" name="lado_2" notNull="0" precision="12" scale="4">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="lado_2"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(12,4)" defaultValue="" fglDatatype="DECIMAL(12,4)" fglLength="3076" length="14" name="lado_3" notNull="0" precision="12" scale="4">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="lado_3"/>
</DynamicProperties>
</DBColumn>
<DBIndex name="PK_iptb00012_1" primary="0" unique="0">
<Column name="fecha"/>
</DBIndex>
</Table>
<Table name="iptb00011">
<DBColumn datatype="DATE" defaultValue="" fglDatatype="DATE" fglLength="4" length="10" name="fecha" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="fecha"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="bodega" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="bodega"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_seccion" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_seccion"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_tramo" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_tramo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_n" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_n"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_grupo" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_grupo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_tipo" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_tipo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_sec" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_sec"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(10,2)" defaultValue="" fglDatatype="DECIMAL(10,2)" fglLength="2562" length="12" name="cantidad" notNull="1" precision="10" scale="2">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cantidad"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(12,2)" defaultValue="" fglDatatype="DECIMAL(12,2)" fglLength="3074" length="14" name="balance" notNull="0" precision="12" scale="2">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="balance"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="us_crea" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="us_crea"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DATE" defaultValue="" fglDatatype="DATE" fglLength="4" length="10" name="fech_crea" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="fech_crea"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="us_mod" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="us_mod"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DATE" defaultValue="" fglDatatype="DATE" fglLength="4" length="10" name="fech_mod" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="fech_mod"/>
</DynamicProperties>
</DBColumn>
<DBIndex name="PK_iptb00011_1" primary="0" unique="0">
<Column name="fecha"/>
<Column name="bodega"/>
</DBIndex>
</Table>
<Table name="intb00012">
<DBColumn datatype="BIGINT" defaultValue="" fglDatatype="BIGINT" fglLength="8" length="20" name="idtrx" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="idtrx"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DATE" defaultValue="" fglDatatype="DATE" fglLength="4" length="10" name="fecha" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="fecha"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="bodega" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="bodega"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_seccion" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_seccion"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_tramo" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_tramo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_n" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_n"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_grupo" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_grupo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_tipo" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_tipo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_sec" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_sec"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(10,2)" defaultValue="" fglDatatype="DECIMAL(10,2)" fglLength="2562" length="12" name="cantidad" notNull="0" precision="10" scale="2">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cantidad"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(12,2)" defaultValue="" fglDatatype="DECIMAL(12,2)" fglLength="3074" length="14" name="balance" notNull="0" precision="12" scale="2">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="balance"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="us_crea" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="us_crea"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DATE" defaultValue="" fglDatatype="DATE" fglLength="4" length="10" name="fech_crea" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="fech_crea"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="us_mod" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="us_mod"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DATE" defaultValue="" fglDatatype="DATE" fglLength="4" length="10" name="fech_mod" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="fech_mod"/>
</DynamicProperties>
</DBColumn>
</Table>
<Table name="grupo_producto">
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_grupo" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_grupo"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="descripcion" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="descripcion"/>
</DynamicProperties>
</DBColumn>
<DBConstraint constraint="primaryKey" name="IDX_grupo_producto_2">
<Column name="cod_grupo"/>
</DBConstraint>
<DBIndex name="IDX_grupo_producto_2" primary="1" unique="0">
<Column name="cod_grupo"/>
</DBIndex>
</Table>
<Table name="companias">
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_cia" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_cia"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(100)" defaultValue="" fglDatatype="CHAR(100)" fglLength="100" length="100" name="nombre" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="nombre"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(100)" defaultValue="" fglDatatype="CHAR(100)" fglLength="100" length="100" name="direccion" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="direccion"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(20)" defaultValue="" fglDatatype="CHAR(20)" fglLength="20" length="20" name="telefono" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="telefono"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="representante" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="representante"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(20)" defaultValue="" fglDatatype="CHAR(20)" fglLength="20" length="20" name="servidor_sync" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="servidor_sync"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(100)" defaultValue="" fglDatatype="CHAR(100)" fglLength="100" length="100" name="pais" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="pais"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(100)" defaultValue="" fglDatatype="CHAR(100)" fglLength="100" length="100" name="ciudad" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="ciudad"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(80)" defaultValue="" fglDatatype="CHAR(80)" fglLength="80" length="80" name="correo_electronico" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="correo_electronico"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="ultimo_usuario" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="ultimo_usuario"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(1)" defaultValue="" fglDatatype="CHAR(1)" fglLength="1" length="1" name="ultima_fecha_login" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="ultima_fecha_login"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(12,2)" defaultValue="1" fglDatatype="DECIMAL(12,2)" fglLength="3074" length="14" name="prima_us" notNull="0" precision="12" scale="2">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="prima_us"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(12,2)" defaultValue="0" fglDatatype="DECIMAL(12,2)" fglLength="3074" length="14" name="itbis" notNull="0" precision="12" scale="2">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="itbis"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(11)" defaultValue="" fglDatatype="CHAR(11)" fglLength="11" length="11" name="rnc" notNull="0">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="rnc"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="DECIMAL(12,2)" defaultValue="" fglDatatype="DECIMAL(12,2)" fglLength="3074" length="14" name="porc_desc" notNull="0" precision="12" scale="2">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="porc_desc"/>
</DynamicProperties>
</DBColumn>
<DBConstraint constraint="primaryKey" name="IDX_companias_1">
<Column name="cod_cia"/>
</DBConstraint>
<DBIndex name="IDX_companias_1" primary="1" unique="0">
<Column name="cod_cia"/>
</DBIndex>
</Table>
<Table name="clase_productos">
<DBColumn datatype="CHAR(1)" defaultValue="" fglDatatype="CHAR(1)" fglLength="1" length="1" name="cod_n" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_n"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="descripcion" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="descripcion"/>
</DynamicProperties>
</DBColumn>
<DBConstraint constraint="primaryKey" name="IDX_clase_productos_1">
<Column name="cod_n"/>
</DBConstraint>
<DBIndex name="IDX_clase_productos_1" primary="1" unique="0">
<Column name="cod_n"/>
</DBIndex>
</Table>
<Table name="bodegas">
<DBColumn datatype="SMALLINT" defaultValue="" fglDatatype="SMALLINT" fglLength="2" length="6" name="cod_bodega" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="cod_bodega"/>
</DynamicProperties>
</DBColumn>
<DBColumn datatype="CHAR(50)" defaultValue="" fglDatatype="CHAR(50)" fglLength="50" length="50" name="descripcion" notNull="1">
<DynamicProperties>
<DynamicProperty name="widget" value="Edit"/>
<DynamicProperty name="label" value="descripcion"/>
</DynamicProperties>
</DBColumn>
</Table>
</Database>
</AG>
@@ -0,0 +1,50 @@
#+ DB schema - Common (mydatabase)
--------------------------------------------------------------------------------
--This code is generated with the template dbapp5.0
--------------------------------------------------------------------------------
--Database schema
SCHEMA mydatabase
-- PRIMARY KEY TYPES - TABLE LEVEL
PUBLIC TYPE transacciones_master_pk
RECORD
transacciones_master_num_doc LIKE transacciones_master.num_doc,
transacciones_master_cod_mov LIKE transacciones_master.cod_mov,
transacciones_master_bodega LIKE transacciones_master.bodega
END RECORD
PUBLIC TYPE seqreg_pk
RECORD
seqreg_sr_name LIKE seqreg.sr_name
END RECORD
PUBLIC TYPE seg000_pk
RECORD
seg000_usuario LIKE seg000.usuario
END RECORD
PUBLIC TYPE productos_pk
RECORD
productos_cod_grupo LIKE productos.cod_grupo,
productos_cod_n LIKE productos.cod_n,
productos_cod_sec LIKE productos.cod_sec,
productos_cod_tipo LIKE productos.cod_tipo
END RECORD
PUBLIC TYPE grupo_producto_pk
RECORD
grupo_producto_cod_grupo LIKE grupo_producto.cod_grupo
END RECORD
PUBLIC TYPE companias_pk
RECORD
companias_cod_cia LIKE companias.cod_cia
END RECORD
PUBLIC TYPE clase_productos_pk
RECORD
clase_productos_cod_n LIKE clase_productos.cod_n
END RECORD
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
@@ -0,0 +1,186 @@
#+ DB schema - Events Management (mydatabase)
--------------------------------------------------------------------------------
--This code is generated with the template dbapp5.0
IMPORT FGL libdbappEvents
IMPORT FGL mydatabase_common
IMPORT FGL mydatabase
--------------------------------------------------------------------------------
--Database schema
SCHEMA mydatabase
-- DATABASE EVENT FUNCTION TYPES - TABLE LEVEL
PUBLIC TYPE T_DbxDataEvent_transportistas_CheckTableConstraints FUNCTION(p_forUpdate BOOLEAN, p_data RECORD LIKE transportistas.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_transacciones_master_CheckTableConstraints FUNCTION(p_forUpdate BOOLEAN, p_data RECORD LIKE transacciones_master.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_transacciones_master_BeforeInsertRowByKey FUNCTION(p_data RECORD LIKE transacciones_master.*) RETURNS (INTEGER, STRING, RECORD LIKE transacciones_master.*)
PUBLIC TYPE T_DbxDataEvent_transacciones_master_AfterInsertRowByKey FUNCTION(p_data RECORD LIKE transacciones_master.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_transacciones_master_BeforeDeleteRowByKey FUNCTION(p_key transacciones_master_pk) RETURNS (INTEGER)
PUBLIC TYPE T_DbxDataEvent_transacciones_master_AfterDeleteRowByKey FUNCTION(p_key transacciones_master_pk) RETURNS (INTEGER)
PUBLIC TYPE T_DbxDataEvent_transacciones_master_BeforeUpdateRowByKey FUNCTION(p_data RECORD LIKE transacciones_master.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_transacciones_master_AfterUpdateRowByKey FUNCTION(p_data RECORD LIKE transacciones_master.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_transacciones_master_SetDefaultValues FUNCTION(p_data RECORD LIKE transacciones_master.*) RETURNS (RECORD LIKE transacciones_master.*)
PUBLIC TYPE T_DbxDataEvent_tramo_CheckTableConstraints FUNCTION(p_forUpdate BOOLEAN, p_data RECORD LIKE tramo.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_seqreg_CheckTableConstraints FUNCTION(p_forUpdate BOOLEAN, p_data RECORD LIKE seqreg.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_seqreg_BeforeInsertRowByKey FUNCTION(p_data RECORD LIKE seqreg.*) RETURNS (INTEGER, STRING, RECORD LIKE seqreg.*)
PUBLIC TYPE T_DbxDataEvent_seqreg_AfterInsertRowByKey FUNCTION(p_data RECORD LIKE seqreg.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_seqreg_BeforeDeleteRowByKey FUNCTION(p_key seqreg_pk) RETURNS (INTEGER)
PUBLIC TYPE T_DbxDataEvent_seqreg_AfterDeleteRowByKey FUNCTION(p_key seqreg_pk) RETURNS (INTEGER)
PUBLIC TYPE T_DbxDataEvent_seqreg_BeforeUpdateRowByKey FUNCTION(p_data RECORD LIKE seqreg.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_seqreg_AfterUpdateRowByKey FUNCTION(p_data RECORD LIKE seqreg.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_seqreg_SetDefaultValues FUNCTION(p_data RECORD LIKE seqreg.*) RETURNS (RECORD LIKE seqreg.*)
PUBLIC TYPE T_DbxDataEvent_seg000_CheckTableConstraints FUNCTION(p_forUpdate BOOLEAN, p_data RECORD LIKE seg000.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_seg000_BeforeInsertRowByKey FUNCTION(p_data RECORD LIKE seg000.*) RETURNS (INTEGER, STRING, RECORD LIKE seg000.*)
PUBLIC TYPE T_DbxDataEvent_seg000_AfterInsertRowByKey FUNCTION(p_data RECORD LIKE seg000.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_seg000_BeforeDeleteRowByKey FUNCTION(p_key seg000_pk) RETURNS (INTEGER)
PUBLIC TYPE T_DbxDataEvent_seg000_AfterDeleteRowByKey FUNCTION(p_key seg000_pk) RETURNS (INTEGER)
PUBLIC TYPE T_DbxDataEvent_seg000_BeforeUpdateRowByKey FUNCTION(p_data RECORD LIKE seg000.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_seg000_AfterUpdateRowByKey FUNCTION(p_data RECORD LIKE seg000.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_seg000_SetDefaultValues FUNCTION(p_data RECORD LIKE seg000.*) RETURNS (RECORD LIKE seg000.*)
PUBLIC TYPE T_DbxDataEvent_seccion_CheckTableConstraints FUNCTION(p_forUpdate BOOLEAN, p_data RECORD LIKE seccion.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_productos_CheckTableConstraints FUNCTION(p_forUpdate BOOLEAN, p_data RECORD LIKE productos.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_productos_BeforeInsertRowByKey FUNCTION(p_data RECORD LIKE productos.*) RETURNS (INTEGER, STRING, RECORD LIKE productos.*)
PUBLIC TYPE T_DbxDataEvent_productos_AfterInsertRowByKey FUNCTION(p_data RECORD LIKE productos.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_productos_BeforeDeleteRowByKey FUNCTION(p_key productos_pk) RETURNS (INTEGER)
PUBLIC TYPE T_DbxDataEvent_productos_AfterDeleteRowByKey FUNCTION(p_key productos_pk) RETURNS (INTEGER)
PUBLIC TYPE T_DbxDataEvent_productos_BeforeUpdateRowByKey FUNCTION(p_data RECORD LIKE productos.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_productos_AfterUpdateRowByKey FUNCTION(p_data RECORD LIKE productos.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_productos_SetDefaultValues FUNCTION(p_data RECORD LIKE productos.*) RETURNS (RECORD LIKE productos.*)
PUBLIC TYPE T_DbxDataEvent_irtb00012_CheckTableConstraints FUNCTION(p_forUpdate BOOLEAN, p_data RECORD LIKE irtb00012.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_iptb00012_CheckTableConstraints FUNCTION(p_forUpdate BOOLEAN, p_data RECORD LIKE iptb00012.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_iptb00011_CheckTableConstraints FUNCTION(p_forUpdate BOOLEAN, p_data RECORD LIKE iptb00011.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_intb00012_CheckTableConstraints FUNCTION(p_forUpdate BOOLEAN, p_data RECORD LIKE intb00012.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_grupo_producto_CheckTableConstraints FUNCTION(p_forUpdate BOOLEAN, p_data RECORD LIKE grupo_producto.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_grupo_producto_BeforeInsertRowByKey FUNCTION(p_data RECORD LIKE grupo_producto.*) RETURNS (INTEGER, STRING, RECORD LIKE grupo_producto.*)
PUBLIC TYPE T_DbxDataEvent_grupo_producto_AfterInsertRowByKey FUNCTION(p_data RECORD LIKE grupo_producto.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_grupo_producto_BeforeDeleteRowByKey FUNCTION(p_key grupo_producto_pk) RETURNS (INTEGER)
PUBLIC TYPE T_DbxDataEvent_grupo_producto_AfterDeleteRowByKey FUNCTION(p_key grupo_producto_pk) RETURNS (INTEGER)
PUBLIC TYPE T_DbxDataEvent_grupo_producto_BeforeUpdateRowByKey FUNCTION(p_data RECORD LIKE grupo_producto.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_grupo_producto_AfterUpdateRowByKey FUNCTION(p_data RECORD LIKE grupo_producto.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_grupo_producto_SetDefaultValues FUNCTION(p_data RECORD LIKE grupo_producto.*) RETURNS (RECORD LIKE grupo_producto.*)
PUBLIC TYPE T_DbxDataEvent_companias_CheckTableConstraints FUNCTION(p_forUpdate BOOLEAN, p_data RECORD LIKE companias.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_companias_BeforeInsertRowByKey FUNCTION(p_data RECORD LIKE companias.*) RETURNS (INTEGER, STRING, RECORD LIKE companias.*)
PUBLIC TYPE T_DbxDataEvent_companias_AfterInsertRowByKey FUNCTION(p_data RECORD LIKE companias.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_companias_BeforeDeleteRowByKey FUNCTION(p_key companias_pk) RETURNS (INTEGER)
PUBLIC TYPE T_DbxDataEvent_companias_AfterDeleteRowByKey FUNCTION(p_key companias_pk) RETURNS (INTEGER)
PUBLIC TYPE T_DbxDataEvent_companias_BeforeUpdateRowByKey FUNCTION(p_data RECORD LIKE companias.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_companias_AfterUpdateRowByKey FUNCTION(p_data RECORD LIKE companias.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_companias_SetDefaultValues FUNCTION(p_data RECORD LIKE companias.*) RETURNS (RECORD LIKE companias.*)
PUBLIC TYPE T_DbxDataEvent_clase_productos_CheckTableConstraints FUNCTION(p_forUpdate BOOLEAN, p_data RECORD LIKE clase_productos.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_clase_productos_BeforeInsertRowByKey FUNCTION(p_data RECORD LIKE clase_productos.*) RETURNS (INTEGER, STRING, RECORD LIKE clase_productos.*)
PUBLIC TYPE T_DbxDataEvent_clase_productos_AfterInsertRowByKey FUNCTION(p_data RECORD LIKE clase_productos.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_clase_productos_BeforeDeleteRowByKey FUNCTION(p_key clase_productos_pk) RETURNS (INTEGER)
PUBLIC TYPE T_DbxDataEvent_clase_productos_AfterDeleteRowByKey FUNCTION(p_key clase_productos_pk) RETURNS (INTEGER)
PUBLIC TYPE T_DbxDataEvent_clase_productos_BeforeUpdateRowByKey FUNCTION(p_data RECORD LIKE clase_productos.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_clase_productos_AfterUpdateRowByKey FUNCTION(p_data RECORD LIKE clase_productos.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_clase_productos_SetDefaultValues FUNCTION(p_data RECORD LIKE clase_productos.*) RETURNS (RECORD LIKE clase_productos.*)
PUBLIC TYPE T_DbxDataEvent_bodegas_CheckTableConstraints FUNCTION(p_forUpdate BOOLEAN, p_data RECORD LIKE bodegas.*) RETURNS (INTEGER, STRING)
-- DATABASE EVENT FUNCTION VARIABLES - TABLE LEVEL
PUBLIC DEFINE m_DbxDataEvent_transportistas_CheckTableConstraints T_DbxDataEvent_transportistas_CheckTableConstraints
PUBLIC DEFINE m_DbxDataEvent_transacciones_master_CheckTableConstraints T_DbxDataEvent_transacciones_master_CheckTableConstraints
PUBLIC DEFINE m_DbxDataEvent_transacciones_master_BeforeInsertRowByKey T_DbxDataEvent_transacciones_master_BeforeInsertRowByKey
PUBLIC DEFINE m_DbxDataEvent_transacciones_master_AfterInsertRowByKey T_DbxDataEvent_transacciones_master_AfterInsertRowByKey
PUBLIC DEFINE m_DbxDataEvent_transacciones_master_BeforeDeleteRowByKey T_DbxDataEvent_transacciones_master_BeforeDeleteRowByKey
PUBLIC DEFINE m_DbxDataEvent_transacciones_master_AfterDeleteRowByKey T_DbxDataEvent_transacciones_master_AfterDeleteRowByKey
PUBLIC DEFINE m_DbxDataEvent_transacciones_master_BeforeUpdateRowByKey T_DbxDataEvent_transacciones_master_BeforeUpdateRowByKey
PUBLIC DEFINE m_DbxDataEvent_transacciones_master_AfterUpdateRowByKey T_DbxDataEvent_transacciones_master_AfterUpdateRowByKey
PUBLIC DEFINE m_DbxDataEvent_transacciones_master_SetDefaultValues T_DbxDataEvent_transacciones_master_SetDefaultValues
PUBLIC DEFINE m_DbxDataEvent_tramo_CheckTableConstraints T_DbxDataEvent_tramo_CheckTableConstraints
PUBLIC DEFINE m_DbxDataEvent_seqreg_CheckTableConstraints T_DbxDataEvent_seqreg_CheckTableConstraints
PUBLIC DEFINE m_DbxDataEvent_seqreg_BeforeInsertRowByKey T_DbxDataEvent_seqreg_BeforeInsertRowByKey
PUBLIC DEFINE m_DbxDataEvent_seqreg_AfterInsertRowByKey T_DbxDataEvent_seqreg_AfterInsertRowByKey
PUBLIC DEFINE m_DbxDataEvent_seqreg_BeforeDeleteRowByKey T_DbxDataEvent_seqreg_BeforeDeleteRowByKey
PUBLIC DEFINE m_DbxDataEvent_seqreg_AfterDeleteRowByKey T_DbxDataEvent_seqreg_AfterDeleteRowByKey
PUBLIC DEFINE m_DbxDataEvent_seqreg_BeforeUpdateRowByKey T_DbxDataEvent_seqreg_BeforeUpdateRowByKey
PUBLIC DEFINE m_DbxDataEvent_seqreg_AfterUpdateRowByKey T_DbxDataEvent_seqreg_AfterUpdateRowByKey
PUBLIC DEFINE m_DbxDataEvent_seqreg_SetDefaultValues T_DbxDataEvent_seqreg_SetDefaultValues
PUBLIC DEFINE m_DbxDataEvent_seg000_CheckTableConstraints T_DbxDataEvent_seg000_CheckTableConstraints
PUBLIC DEFINE m_DbxDataEvent_seg000_BeforeInsertRowByKey T_DbxDataEvent_seg000_BeforeInsertRowByKey
PUBLIC DEFINE m_DbxDataEvent_seg000_AfterInsertRowByKey T_DbxDataEvent_seg000_AfterInsertRowByKey
PUBLIC DEFINE m_DbxDataEvent_seg000_BeforeDeleteRowByKey T_DbxDataEvent_seg000_BeforeDeleteRowByKey
PUBLIC DEFINE m_DbxDataEvent_seg000_AfterDeleteRowByKey T_DbxDataEvent_seg000_AfterDeleteRowByKey
PUBLIC DEFINE m_DbxDataEvent_seg000_BeforeUpdateRowByKey T_DbxDataEvent_seg000_BeforeUpdateRowByKey
PUBLIC DEFINE m_DbxDataEvent_seg000_AfterUpdateRowByKey T_DbxDataEvent_seg000_AfterUpdateRowByKey
PUBLIC DEFINE m_DbxDataEvent_seg000_SetDefaultValues T_DbxDataEvent_seg000_SetDefaultValues
PUBLIC DEFINE m_DbxDataEvent_seccion_CheckTableConstraints T_DbxDataEvent_seccion_CheckTableConstraints
PUBLIC DEFINE m_DbxDataEvent_productos_CheckTableConstraints T_DbxDataEvent_productos_CheckTableConstraints
PUBLIC DEFINE m_DbxDataEvent_productos_BeforeInsertRowByKey T_DbxDataEvent_productos_BeforeInsertRowByKey
PUBLIC DEFINE m_DbxDataEvent_productos_AfterInsertRowByKey T_DbxDataEvent_productos_AfterInsertRowByKey
PUBLIC DEFINE m_DbxDataEvent_productos_BeforeDeleteRowByKey T_DbxDataEvent_productos_BeforeDeleteRowByKey
PUBLIC DEFINE m_DbxDataEvent_productos_AfterDeleteRowByKey T_DbxDataEvent_productos_AfterDeleteRowByKey
PUBLIC DEFINE m_DbxDataEvent_productos_BeforeUpdateRowByKey T_DbxDataEvent_productos_BeforeUpdateRowByKey
PUBLIC DEFINE m_DbxDataEvent_productos_AfterUpdateRowByKey T_DbxDataEvent_productos_AfterUpdateRowByKey
PUBLIC DEFINE m_DbxDataEvent_productos_SetDefaultValues T_DbxDataEvent_productos_SetDefaultValues
PUBLIC DEFINE m_DbxDataEvent_irtb00012_CheckTableConstraints T_DbxDataEvent_irtb00012_CheckTableConstraints
PUBLIC DEFINE m_DbxDataEvent_iptb00012_CheckTableConstraints T_DbxDataEvent_iptb00012_CheckTableConstraints
PUBLIC DEFINE m_DbxDataEvent_iptb00011_CheckTableConstraints T_DbxDataEvent_iptb00011_CheckTableConstraints
PUBLIC DEFINE m_DbxDataEvent_intb00012_CheckTableConstraints T_DbxDataEvent_intb00012_CheckTableConstraints
PUBLIC DEFINE m_DbxDataEvent_grupo_producto_CheckTableConstraints T_DbxDataEvent_grupo_producto_CheckTableConstraints
PUBLIC DEFINE m_DbxDataEvent_grupo_producto_BeforeInsertRowByKey T_DbxDataEvent_grupo_producto_BeforeInsertRowByKey
PUBLIC DEFINE m_DbxDataEvent_grupo_producto_AfterInsertRowByKey T_DbxDataEvent_grupo_producto_AfterInsertRowByKey
PUBLIC DEFINE m_DbxDataEvent_grupo_producto_BeforeDeleteRowByKey T_DbxDataEvent_grupo_producto_BeforeDeleteRowByKey
PUBLIC DEFINE m_DbxDataEvent_grupo_producto_AfterDeleteRowByKey T_DbxDataEvent_grupo_producto_AfterDeleteRowByKey
PUBLIC DEFINE m_DbxDataEvent_grupo_producto_BeforeUpdateRowByKey T_DbxDataEvent_grupo_producto_BeforeUpdateRowByKey
PUBLIC DEFINE m_DbxDataEvent_grupo_producto_AfterUpdateRowByKey T_DbxDataEvent_grupo_producto_AfterUpdateRowByKey
PUBLIC DEFINE m_DbxDataEvent_grupo_producto_SetDefaultValues T_DbxDataEvent_grupo_producto_SetDefaultValues
PUBLIC DEFINE m_DbxDataEvent_companias_CheckTableConstraints T_DbxDataEvent_companias_CheckTableConstraints
PUBLIC DEFINE m_DbxDataEvent_companias_BeforeInsertRowByKey T_DbxDataEvent_companias_BeforeInsertRowByKey
PUBLIC DEFINE m_DbxDataEvent_companias_AfterInsertRowByKey T_DbxDataEvent_companias_AfterInsertRowByKey
PUBLIC DEFINE m_DbxDataEvent_companias_BeforeDeleteRowByKey T_DbxDataEvent_companias_BeforeDeleteRowByKey
PUBLIC DEFINE m_DbxDataEvent_companias_AfterDeleteRowByKey T_DbxDataEvent_companias_AfterDeleteRowByKey
PUBLIC DEFINE m_DbxDataEvent_companias_BeforeUpdateRowByKey T_DbxDataEvent_companias_BeforeUpdateRowByKey
PUBLIC DEFINE m_DbxDataEvent_companias_AfterUpdateRowByKey T_DbxDataEvent_companias_AfterUpdateRowByKey
PUBLIC DEFINE m_DbxDataEvent_companias_SetDefaultValues T_DbxDataEvent_companias_SetDefaultValues
PUBLIC DEFINE m_DbxDataEvent_clase_productos_CheckTableConstraints T_DbxDataEvent_clase_productos_CheckTableConstraints
PUBLIC DEFINE m_DbxDataEvent_clase_productos_BeforeInsertRowByKey T_DbxDataEvent_clase_productos_BeforeInsertRowByKey
PUBLIC DEFINE m_DbxDataEvent_clase_productos_AfterInsertRowByKey T_DbxDataEvent_clase_productos_AfterInsertRowByKey
PUBLIC DEFINE m_DbxDataEvent_clase_productos_BeforeDeleteRowByKey T_DbxDataEvent_clase_productos_BeforeDeleteRowByKey
PUBLIC DEFINE m_DbxDataEvent_clase_productos_AfterDeleteRowByKey T_DbxDataEvent_clase_productos_AfterDeleteRowByKey
PUBLIC DEFINE m_DbxDataEvent_clase_productos_BeforeUpdateRowByKey T_DbxDataEvent_clase_productos_BeforeUpdateRowByKey
PUBLIC DEFINE m_DbxDataEvent_clase_productos_AfterUpdateRowByKey T_DbxDataEvent_clase_productos_AfterUpdateRowByKey
PUBLIC DEFINE m_DbxDataEvent_clase_productos_SetDefaultValues T_DbxDataEvent_clase_productos_SetDefaultValues
PUBLIC DEFINE m_DbxDataEvent_bodegas_CheckTableConstraints T_DbxDataEvent_bodegas_CheckTableConstraints
-- REGISTER EVENT FUNCTIONS
PUBLIC FUNCTION registerDbxEvents()
-- REGISTER DATABASE EVENT FUNCTIONS - TABLE LEVEL
END FUNCTION