/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\TCCIT_constraint.sql **/
 EXEC P_ALTERPK 'PK_TCCIT_ZCZJTX_DETAIL', 'T_TCCIT_ZCZJTX_DETAIL', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TCCIT_ZCZJTX_DETAIL') CREATE INDEX IDX_TCCIT_ZCZJTX_DETAIL ON T_TCCIT_ZCZJTX_DETAIL ( FORGID ,FSKSSQQ ,FSKSSQZ ,FRULEID ,FITEMNUMBER );


 EXEC P_ALTERPK 'PK_TCCIT_ZCZJTX_SUMMARY', 'T_TCCIT_ZCZJTX_SUMMARY', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_TCCIT_ZCZJTX_SUMMARY') CREATE INDEX IDX_TCCIT_ZCZJTX_SUMMARY ON T_TCCIT_ZCZJTX_SUMMARY ( FORGID ,FSKSSQQ ,FSKSSQZ );



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