/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\PDM_constraint.sql **/
 EXEC P_ALTERPK 'PK_FMM_ROUTECONFRULE', 'T_FMM_ROUTECONFRULE', 'FDETAILID', '1';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_TABNAME = 'T_FMM_ROUTECONFRULE' AND KSQL_INDNAME = 'IDX_FMM_ROUTECONF_RULE') CREATE INDEX IDX_FMM_ROUTECONF_RULE ON T_FMM_ROUTECONFRULE ( FCONFIGRULEID );



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