Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

How to get totals on POs using taPOHdr and taPOline

(0) ShareShare
ReportReport
Posted on by 75,848 Moderator

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
    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
    75,848 Moderator 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
    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

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 >

Featured topics

Product updates

Dynamics 365 release plans