/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\SBD_constraint.sql **/
 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BD_MATSALE_CTRLSTRATEGY') CREATE INDEX IDX_BD_MATSALE_CTRLSTRATEGY ON T_BD_MATERIALSALINFO ( FCTRLSTRATEGY );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BD_MATPUR_CTRLSTRATEGY') CREATE INDEX IDX_BD_MATPUR_CTRLSTRATEGY ON T_BD_MATERIALPURINFO ( FCTRLSTRATEGY );

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_BD_MATINV_CTRLSTRATEGY') CREATE INDEX IDX_BD_MATINV_CTRLSTRATEGY ON T_BD_MATERIALINVINFO ( FCTRLSTRATEGY );


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