Script adds a button to the AR Invoice Batch list to add a test batch and invoice.
Demonstrates how to add a button, insert records and display the error stack.