The chart below shows how to build the diatonic 7th chords from any major scale. The diatonic 7th chords built from the major scale include the major 7th , the minor 7th , the dominant 7th , and the half diminished 7th chord.
The example shows the Bb major scale outlining the triads and the diatonic 7th chords played as arpeggios
The example shown in Bass tab is taken from the "Constructing Walking Jazz Bass Lines " series Book III Standard Lines - Jazz and bebop standards

