/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\PUR_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_PUR_APILOG_FENTITYNAME') CREATE INDEX IDX_PUR_APILOG_FENTITYNAME ON T_PUR_APILOG ( FENTITYNAME );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_PUR_APILOG_FCREATETIME') CREATE INDEX IDX_PUR_APILOG_FCREATETIME ON T_PUR_APILOG ( FCREATETIME );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_PUR_APILOG_FINTERFACE') CREATE INDEX IDX_PUR_APILOG_FINTERFACE ON T_PUR_APILOG ( FINTERFACE );


/**End E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\PUR_constraint.sql **/
