how do I manage Petty Cash

how do I manage Petty Cash

Hi I have a problem ? 
1. Question ; I am the owner of the company, I withdraw money from bank for my own use and latter-on if required I pay some bills in cash. how do i mange this transaction in zoho books.

2. Question Some time I withdraw cash from bank  for my own use. But If there short of fund in the bank I deposit the cash back in bank. How do I manage this transaction in zoho