/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\POM_constraint.sql **/
 EXEC P_ALTERPK 'PK_POM_MFTREPORTACTIVITY', 'T_POM_MFTREPORTACTIVITY', 'FDETAILID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_POM_MFTREPORTACTIVITY_FEID') CREATE INDEX IDX_POM_MFTREPORTACTIVITY_FEID ON T_POM_MFTREPORTACTIVITY ( FENTRYID );



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