encapsulate getting numbers and parents for new/create/edit/update into types