The 'Cancel' button will cancel the transaction in full that you have commenced entering.
See example below of Cancelling a Sales Order.
- Click on "Relationships"
- Click on "Customer Open Items"
- Click on "Customer Debits"
- Click on "New"
- Enter all details
- Click on "Cancel" if you don't wish to finalise the transaction and you want to cancel it completely.