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

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_TCCIT_SEASONAL_SPLIT_SJ' AND KSQL_INDNAME = 'IDX_TCCIT_SPLIT_SJ_ORGSKSS') CREATE INDEX IDX_TCCIT_SPLIT_SJ_ORGSKSS ON T_TCCIT_SEASONAL_SPLIT_SJ ( FTAXORGID ,FSKSSQQ ,FSKSSQZ );

 EXEC P_ALTERPK 'PK_TCCIT_APITUDEINFO_BRANC', 'T_TCCIT_APITUDEINFO_BRANC', 'FENTRYID', '1';

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




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