/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\POM_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_IM_MDCMENTRY_FWORKCENTER') CREATE INDEX IDX_IM_MDCMENTRY_FWORKCENTER ON T_IM_MDC_MQBENTRY ( FOPRWORKCENTER );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_IM_MDCMRB_FORGID') CREATE INDEX IDX_IM_MDCMRB_FORGID ON T_IM_MDC_MREQOUTBILL ( FORGID );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_IM_MDCMRB_FBIZTIME') CREATE INDEX IDX_IM_MDCMRB_FBIZTIME ON T_IM_MDC_MREQOUTBILL ( FBIZTIME );


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