Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

eConnect GetEntity returns blank string

Posted on by Microsoft Employee

I am sending an invoice transaction (taPMTransactionInsert and taPMDistribution_ItemsTaPMDistribution) to Dynamics GP and I am getting up to the point of making the call to eConnectMethods.GetEntity() and I have confirmed that XmlDocument.OuterXml has been created properly. However, GetEntity() returns a blank string (not null).

There are errors in the XML (eg. invalid account codes) but I would expect either eConnect to throw an exception or to return error information in the string returned by GetEntity().

Thanks in advance for your assistance!

*This post is locked for comments

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: eConnect GetEntity returns blank string

    Use CreateTransactionEntity() to post the transaction, not GetEntity().

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

Featured topics

Product updates

Dynamics 365 release plans