Electron - phonon effects on transport in mesoscopic heterostructures