Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

How to get totals on POs using taPOHdr and taPOline

Posted on by 75,730

We are bringing in PO's using a SQL script and job and the PO headers and lines come over fine but the totals on the POs do not reflect the totals of the lines. Do we have to compute the totals at the end and update the PO totals for each PO? We first use taPOHdr to create the PO header and then taPOLine to insert the lines.

*This post is locked for comments

  • Srini Ramidi Profile Picture
    Srini Ramidi 2 on at
    RE: How to get totals on POs using taPOHdr and taPOline

    YES there is a code.

    If it answers your question, mark it as 'Answered'

    Best

    Srini

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,730 on at
    RE: How to get totals on POs using taPOHdr and taPOline

    Interesting, you do it backwards. Thanks. There must be code inside taPOHdr that totals the lines.

  • Verified answer
    Srini Ramidi Profile Picture
    Srini Ramidi 2 on at
    RE: How to get totals on POs using taPOHdr and taPOline

    Hello,

    Make sure you create the lines first(taPOLine) then PO Header(taPOHdr).

    Best,

    Srini

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans