/**Begin D:\zhaohui_zeng\PDM_UPGRADE\PDM1\MRP_constraint.sql **/

 
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_MRP_CALDETAILENTRY_TRACKNUMBER') CREATE INDEX IDX_MRP_CALDETAILENTRY_TRACKNUMBER ON T_MRP_CALDETAILENTRY ( FTRACKNUMBER );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_MRP_PLANORDER_TRACKNUMBER') CREATE INDEX IDX_MRP_PLANORDER_TRACKNUMBER ON T_MRP_PLANORDER ( FTRACKNUMBER );
 

/**End D:\zhaohui_zeng\PDM_UPGRADE\PDM1\MRP_constraint.sql **/
