How to Map doctype fields to another doctype while creating through link field

i have selected party type and party in payment request form as now i don’t have bank account for the party

So i need to create new bank account for the party through bank account link field. when i click create new bank account via bank account link field then i need to set party type and party from payement request to bank account