Material flow management with interface to ERP-systems