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

 EXEC P_ALTERPK 'PK_TCCIT_DG_A301010201_DET', 'T_TCCIT_DG_A301010201_DET', 'FID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_TCCIT_DG_A301010201_DET' AND KSQL_INDNAME = 'IDX_TCCIT_301010201_DET_ORG') CREATE INDEX IDX_TCCIT_301010201_DET_ORG ON T_TCCIT_DG_A301010201_DET ( FORGID ,FSKSSQQ ,FSKSSQZ ,FITEMNUMBER );



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