I want to create a petty cash transaction so that i can click a petty cash button (with admin authorisation on button) from the ticket screen, then it would ask how much im taking from the till drawer and ask for a reason (or provide a list of options to select from which would be quicker) and update cash account value
Im guessing this isnt as simple as i imagine and having read some issues with refund button im guessing this may a new ticket creating as petty cash as emre suggested a new ticket type for refunds???
First you need to make an open drawer button. You would use a Create Account Transaction action link it to the button. The Transaction should be coming from cash and it should go into a new account called Drawer Withdrawal You track how much is coming out of the drawer by looking at your Drawer Withdrawal account.
I highly recommend looking at the Expenses and Payouts tutorials G and K to get an understanding of how to make new accounts and how to interact with them.
i have an open drawer button that works and opens that cash drawer, with the drawer withdrawal account can i set the open drawer button to ask for an amount that is being removed, as i also use the open drawer button to just open the cash drawer if i need to get into it, without making any withdrawals
You could use an Ask Question action type to do that and it can call the Automated Command and enter the value for the transaction… look at the Discount - Any Item - Ask Custom Amount to get an idea of how to setup a question that asks an amount.