/**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_POM_MOES_FORDERID') CREATE INDEX IDX_POM_MOES_FORDERID ON T_POM_MFTORDERENTRY_S ( FORDERID );

IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_POM_MOES_FORDERENTRYID') CREATE INDEX IDX_POM_MOES_FORDERENTRYID ON T_POM_MFTORDERENTRY_S ( FORDERENTRYID );

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