Record payment: Payment Mode vs. Deposit To and how to "connect" them!?

Record payment: Payment Mode vs. Deposit To and how to "connect" them!?

How do we set up that when we choose: 
"Payment Mode"= Cash, then "Deposit to" is automatically set to Petty Cash, and if we choose 
"Payment Mode"= Check, then "Deposit to" is automatically set to Undeposited Checks, and if we choose 
"Payment Mode"= Bank, then "Deposit to" is automatically set to Bank XX, etc, etc. 

Must be some kind of setup to make this work. Now we get a lot of wrong accounting transactions since the default is "Bank", and when it is changed to Cash, the "Deposit to" is not automatically changed to "Petty Cash" etc.

How should this be set up?