add detail record view