Files
MBS/DATABASE/dbdgii_events.4gl
T

46 lines
2.7 KiB
Plaintext

#+ DB schema - Events Management (dbdgii)
--------------------------------------------------------------------------------
--This code is generated with the template dbapp5.0
IMPORT FGL libdbappEvents
IMPORT FGL dbdgii_common
IMPORT FGL dbdgii
--------------------------------------------------------------------------------
--Database schema
SCHEMA dbdgii
-- DATABASE EVENT FUNCTION TYPES - TABLE LEVEL
PUBLIC TYPE T_DbxDataEvent_empresastmp_CheckTableConstraints FUNCTION(p_forUpdate BOOLEAN, p_data RECORD LIKE empresastmp.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_empresastmp_BeforeInsertRowByKey FUNCTION(p_data RECORD LIKE empresastmp.*) RETURNS (INTEGER, STRING, RECORD LIKE empresastmp.*)
PUBLIC TYPE T_DbxDataEvent_empresastmp_AfterInsertRowByKey FUNCTION(p_data RECORD LIKE empresastmp.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_empresastmp_BeforeDeleteRowByKey FUNCTION(p_key empresastmp_pk) RETURNS (INTEGER)
PUBLIC TYPE T_DbxDataEvent_empresastmp_AfterDeleteRowByKey FUNCTION(p_key empresastmp_pk) RETURNS (INTEGER)
PUBLIC TYPE T_DbxDataEvent_empresastmp_BeforeUpdateRowByKey FUNCTION(p_data RECORD LIKE empresastmp.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_empresastmp_AfterUpdateRowByKey FUNCTION(p_data RECORD LIKE empresastmp.*) RETURNS (INTEGER, STRING)
PUBLIC TYPE T_DbxDataEvent_empresastmp_SetDefaultValues FUNCTION(p_data RECORD LIKE empresastmp.*) RETURNS (RECORD LIKE empresastmp.*)
PUBLIC TYPE T_DbxDataEvent_empresas_CheckTableConstraints FUNCTION(p_forUpdate BOOLEAN, p_data RECORD LIKE empresas.*) RETURNS (INTEGER, STRING)
-- DATABASE EVENT FUNCTION VARIABLES - TABLE LEVEL
PUBLIC DEFINE m_DbxDataEvent_empresastmp_CheckTableConstraints T_DbxDataEvent_empresastmp_CheckTableConstraints
PUBLIC DEFINE m_DbxDataEvent_empresastmp_BeforeInsertRowByKey T_DbxDataEvent_empresastmp_BeforeInsertRowByKey
PUBLIC DEFINE m_DbxDataEvent_empresastmp_AfterInsertRowByKey T_DbxDataEvent_empresastmp_AfterInsertRowByKey
PUBLIC DEFINE m_DbxDataEvent_empresastmp_BeforeDeleteRowByKey T_DbxDataEvent_empresastmp_BeforeDeleteRowByKey
PUBLIC DEFINE m_DbxDataEvent_empresastmp_AfterDeleteRowByKey T_DbxDataEvent_empresastmp_AfterDeleteRowByKey
PUBLIC DEFINE m_DbxDataEvent_empresastmp_BeforeUpdateRowByKey T_DbxDataEvent_empresastmp_BeforeUpdateRowByKey
PUBLIC DEFINE m_DbxDataEvent_empresastmp_AfterUpdateRowByKey T_DbxDataEvent_empresastmp_AfterUpdateRowByKey
PUBLIC DEFINE m_DbxDataEvent_empresastmp_SetDefaultValues T_DbxDataEvent_empresastmp_SetDefaultValues
PUBLIC DEFINE m_DbxDataEvent_empresas_CheckTableConstraints T_DbxDataEvent_empresas_CheckTableConstraints
-- REGISTER EVENT FUNCTIONS
PUBLIC FUNCTION registerDbxEvents()
-- REGISTER DATABASE EVENT FUNCTIONS - TABLE LEVEL
END FUNCTION