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

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


 EXEC P_ALTERPK 'PK_TCCIT_DEDUCT_OTHER_SUM', 'T_TCCIT_DEDUCT_OTHER_SUM', 'FID', '1';

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



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