Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested answer

Saving a Transaction in a Batch Through Importing

(0) ShareShare
ReportReport
Posted on by

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

Categories:
  • RE: Saving a Transaction in a Batch Through Importing

    Hi Dave!

    eConnect doesn't have a node for the type of unposted transaction that I'm importing.

    John

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    David Musgrave MVP ... 13,965 Most Valuable Professional on at
    RE: Saving a Transaction in a Batch Through Importing

    Hi John

    Why do you use a tool like eConnect.  You can call eConnect scripts from SQL if you want and they do all the business logic checks and will update the batch totals.

    Regards

    David

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 292,516 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 231,409 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans