The pickup-stripping mechanism for inelastic and quasi-inelastic scattering