Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

web services for GP 2010 - CreateSalesInvoice() Where do I find the Document/Invoice number

(0) ShareShare
ReportReport
Posted on by 545

See http://msdn.microsoft.com/en-us/library/cc508459.aspx

I am writing an online shopping cart.  Prior to check out, I am able to have web services for GP 2010 create a SalesInvoice.  However, I would like to extract the Document/Invoice number from this Sales Document inwhich to provide to the Payment Provider (Authorize.NET in this case).

I cannot seem to find the GP SalesInvoice document number.

I have since had to create an additional WCF services of which leverages eConnect to fetch the next sop document number (GetNextSopNumber).

Two things:

1) This seems very clunky to me having to use the web services for GP |and| and an eConnect web service in order to create a Sales Invoice with a Document/Invoice number.  So clunky, that it makes me think I'm doing something wrong here.

2) Where do I find the Document/Invoice number of a GP SalesDocument?  I will need to know this regardless.

Thanks,

Don

*This post is locked for comments

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

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

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 231,723 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans