Complete work flow. Isolation of next_case_num and next_note_num which will be used later for assigning to note objects in main.py