Skip to main content

Notifications

Announcements

No record found.

Finance | Project Operations, Human Resources, ...
Suggested answer

Project Accounting Timesheet integration

Posted on by 240

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
    Shannon Aune 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
    GuruDofGP 240 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
    Beat Bucher GP Gee... 28,021 Super User 2024 Season 1 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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans