Hi:
I'm having to use a direct import of data into SQL from an Excel source file. This includes an import into (a) the unposted transaction table and (b) the SY00500 table to create the Batch ID.
The one transaction imports just fine, as I review it in GP.
But, when I look at the Batch ID that the transaction is supposed to be in, the window shows 0 transactions and $0.00.
Sure, I could create the batch before the import and the batch would be properly updated to "reflect" the transaction. But, I'd prefer not making the end user create the Batch ID beforehand.
I need to "put something" into this import to get the transaction properly saved into the Batch ID.
Is there T-SQL scripting that can be used to automatically save a transaction into a batch that is already in GP?
Thanks!
John