/**Begin E:\NextERP_PDM\PDM_UPGRADE\PDMS\branch_lastest\pdm\IM_constraint.sql **/
EXEC p_DropIdx 'IDX_IM_INVBC_FOID', 'T_IM_INVBALANCE';

 IF NOT EXISTS (SELECT 1 FROM KSQL_INDEXES WHERE KSQL_INDNAME = 'IDX_IM_INVBC_ORG_PD_ENDP_ML') CREATE INDEX IDX_IM_INVBC_ORG_PD_ENDP_ML ON T_IM_INVBALANCE ( FORGID ,FPERIOD ,FENDPERIOD ,FMATERIALID );


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