I have check that documentation before but in my scenario address doctype is not directly connected to Job doctype via link field, instead customer is connected to job doctype and customer is connected to address doctype via link field.
I just wanted to fetch the address of customer based on customer selection in Job doctype.