/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TCCIT_constraint.sql **/


 EXEC P_ALTERPK 'PK_TCCIT_ASSETS_RULE_ENTRY', 'T_TCCIT_ASSETS_RULE_ENTRY', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TCCIT_ASSETS_RULE_ENTRY_FK') CREATE INDEX IDX_TCCIT_ASSETS_RULE_ENTRY_FK ON T_TCCIT_ASSETS_RULE_ENTRY ( FID );


 EXEC P_ALTERPK 'PK_TCCIT_SALARY_RULE_ENTRY', 'T_TCCIT_SALARY_RULE_ENTRY', 'FENTRYID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TCCIT_SALARY_RULE_ENTRY_FK') CREATE INDEX IDX_TCCIT_SALARY_RULE_ENTRY_FK ON T_TCCIT_SALARY_RULE_ENTRY ( FID );



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