This is a sql script that will insert/update into the SY00500 batch table in Dynamics GP. It works in the bigger modules, but not all. I'd be happy to update it if there is a request.
It was written against GP 9 but will probably work against later versions
Edit 8/30/2018 added PA Billing support