Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Answered

eConnect POP Document Creation

(0) ShareShare
ReportReport
Posted on by 289

So I have had a production integration for many years now. Using eConnect to port Excel sheets over into GP for new Purchase Order documents. Using a C# project. Now there is a new requirement, in terms of what fields to port over into the new GP POP document. 

The endusers want to populate the Contract Number and Confirm With fields that appear in the Purchasing Vendor Detail Entry form. Which can be accessed in the client UI when the enduser clicks on the right arrow next to the Vendor ID in the POP header. 

Wondering how to accomplish this using eConnect in my C# project. Currently I have defined the taPoLine_ItemsTaPoLine[] eConnect class member for the POP lines and the taPoHdr eConnect class member for the POP header. But I don't see where the Purchasing Vendor Detail Entry form comes into play in relation to the PO Header in eConnect.

Any suggestions?

Categories:
  • Suggested answer
    Greg Kujawa Profile Picture
    Greg Kujawa 289 on at
    RE: eConnect POP Document Creation

    Perfect! Added that custom script to the taPoHdrPost stored proc and it works flawlessly. Thanks so much!

  • Verified answer
    Almas Mahfooz Profile Picture
    Almas Mahfooz 11,006 User Group Leader on at
    RE: eConnect POP Document Creation

    Hi Greg,

    Just alter taPoHdrPost with update script

    update POP10100  set POPCONTNUM='12345' where PONUMBER= @I_vPONUMBER

    and in taPoHdr there is node for confirm 1 field with name @I_vCONFIRM1

  • Greg Kujawa Profile Picture
    Greg Kujawa 289 on at
    RE: eConnect POP Document Creation

    Here is a reference document I was referring to --> dyndeveloper.com/eConnectField.aspx. I was able to connect the CONFIRM1 field, so that now is populated. It's just the POPCONTNUM field that seems to be missing as far as I can tell.

  • Greg Kujawa Profile Picture
    Greg Kujawa 289 on at
    RE: eConnect POP Document Creation

    These particular fields are associated with the POP header, not the POP lines. And these header values are what appear on the PO hardcopy that's printed.

  • Richard Wheeler Profile Picture
    Richard Wheeler 75,788 Moderator on at
    RE: eConnect POP Document Creation

    Can you build your code for these fields and add this code to the taPoLine_ItemsTaPoLine post script?

  • Greg Kujawa Profile Picture
    Greg Kujawa 289 on at
    RE: eConnect POP Document Creation

    Looking at the fields in the POP10100 SQL table I see the POPCONTNUM represents the Contract Number field. And CONFIRM1 represents the Confirm With field. But I don't see the POPCONTNUM field exposed in eConnect as a class member. 

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

Announcing Our 2025 Season 1 Super Users!

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

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Tip: Become a User Group leader!

Join the ranks of valued community UG leaders

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,305 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans