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 dont wish to fianlise the transaction and you want to cancel it completely.