Add new function generateTransactionNumber()

This is based on the function with a similar name in the Invoices plugin, and does the same thing.
Update PO Number field name