/**Begin D:\PDM_UPGRADE\PDM1\HRPTMC_table.sql **/
IF NOT EXISTS (SELECT 1 FROM KSQL_USERTABLES WHERE KSQL_TABNAME = 'T_HRPTMC_ANOBJCONFIGHIS') 
 CREATE TABLE T_HRPTMC_ANOBJCONFIGHIS (
FID BIGINT DEFAULT 0 NOT NULL,
FANOBJID BIGINT DEFAULT 0 NOT NULL,
FOBJECTTYPE VARCHAR(50) DEFAULT ' ' NOT NULL,
FQUERYFIELD NCLOB,
FJOINENTITY NCLOB,
FENTITYRELATION NCLOB,
FCALCULATEFIELD NCLOB,
FDATAFILTER NCLOB,
FPIVOTINDEXES NCLOB,
FGROUPFIELDS NCLOB,
FSTARTTIME DATETIME,
FENDTIME DATETIME,
FCREATORID BIGINT DEFAULT 0 NOT NULL
);


IF NOT EXISTS (SELECT 1 FROM KSQL_USERTABLES WHERE KSQL_TABNAME = 'T_HRPTMC_REPORTCONFIGHIS') 
 CREATE TABLE T_HRPTMC_REPORTCONFIGHIS (
FID BIGINT DEFAULT 0 NOT NULL,
FREPORTID BIGINT DEFAULT 0 NOT NULL,
FRPTMANAGECONFIG NCLOB,
FCALCULATEFIELD NCLOB,
FDATESPLIT NCLOB,
FPRESETINDEX NCLOB,
FSTARTTIME DATETIME,
FENDTIME DATETIME,
FCREATORID BIGINT DEFAULT 0 NOT NULL
);



/**End D:\PDM_UPGRADE\PDM1\HRPTMC_table.sql **/
