Skip to main content

Notifications

Community site session details

Community site session details

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

Project Accounting Timesheet integration

(0) ShareShare
ReportReport
Posted on by 248

Hello Dynamics Community!

We are using Dynamics GP2018 and integrating from a cloud application with API Boomi using eConnect.  We are integrating Timesheets, using the PATimesheets xml, pre and post procedures in eConnect.  The timesheets can be weekly and monthly.

The data is being inserted, but there's an issue.  If we use multiple different PATSNO numbers, all 5 lines for the week time lines are inserted into the PA10001 table, but it replicates the data 5 times over in PA10000 and the PA10003 from the Header insert.  If we use one PATSNO, just one line for the day of the week is inserted into the PA10001 table for the Line insert, not all 5 lines for each day of the week, and the PA10000 and PA10003 Header insert tables then correctly inserts just the one data record summarized amounts.

How is this issue resolved to get all 5 lines inserted for each day in PA10001, and get just the one record line in PA10000 and PA10003 with the stored procedures in eConnect?  Do the stored procedures SQL scripts need to be altered to accommodate for this?  If so, what would be the SQL script modification be to correctly insert the records on all three tables?

Thank you in advance for your assistance!

Diane

Categories:
  • Suggested answer
    Shannon Aune Profile Picture
    on at
    RE: Project Accounting Timesheet integration

    Hi Diane,

    I would agree with Beat, the issue could be related to the API referenced. You can use the econnect document, Beat referenced, to run your xml in sql, and see if you get desirable results, by just repeating the lines in the xml for each day/Project/Cost Category, etc.

  • GuruDofGP Profile Picture
    248 on at
    RE: Project Accounting Timesheet integration

    These are weekly timesheets that are being integrated, but there's no exchange rate as we're not using multi- currency yet.  Do we need to be sure to add in the PATB and PATE, or Rate Expiration and Days to Increment for all of the dates to insert in each line in each timesheet?

  • Suggested answer
    Beat Bucher  GP Geek  GPUG All Star Profile Picture
    28,058 Moderator on at
    RE: Project Accounting Timesheet integration

    Hi Diane,

    It's been a long time I haven't used the PA TimeSheet integration from outside (in fact it goes back to GP2013 when Business Portal was still in use).

    My best guess would be that your data is not coming down into the expected sequence or format... In order to understand how the PATimesheet SP works, you may want to take apart the SQL code and look the sequence of the data insertion into the various tables.. unless you're able to find some of the documentation in the SDK paper for GP that are available from the DVD image..

    I don't have a straight answer, and maybe someone from the MS Support team could chime in here. I don't know either anything from the Boomi API you're mentioning, and that might be the root problem (file format).

    Edit: this might help as reference for the eConnect integration: https://docs.microsoft.com/en-us/troubleshoot/dynamics/gp/example-of-patimesheetstype-xml-schema-in-econnect

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Product updates

Dynamics 365 release plans