/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\MSPLAN_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_MSPLAN_INVLEVELENTRY_O') CREATE INDEX IDX_MSPLAN_INVLEVELENTRY_O ON T_MSPLAN_INVLEVELENTRY ( FENTRYORG );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_MSPLAN_INVLEVELENTRY_M') CREATE INDEX IDX_MSPLAN_INVLEVELENTRY_M ON T_MSPLAN_INVLEVELENTRY ( FENTRYMATERIEL );

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