Earlier we coded a taPMTransacionInsertWrapper, but it was simpler
This one includes error handling, a TRANSACTION, and distributions