@rkroy39 get_list apply user permissions for the records for the session user. if you don’t have permissions for a specific document , it wont appear . frappe.db.get_all is same as frappe.db.get_list but will fetch all records without applying permissions.
But I logged in as an Administrator. Then I think it should be able to get to.
Second, What is the difference between branch and designation doctype that it is not able in the current user? How do I find it so that I get to know it well in advance about when and how to use it?
@rkroy39 verify your user and permission .
branch is like you have 2 branches of your company , different cities . different buildings . they are called branches . for example HQ branch , and factory branch .
designation is what the job called for a specific employee . for example a software engineer .
the reason branch and designation not appeared because of level permissions . open customize employee , open the branch field and check permission level . reset it to 0 . also give permission of branch and designation to the user .