Skip to main content

Notifications

Microsoft Dynamics GP (Archived)

GP web service for customer's yearly summary

Posted on by Microsoft Employee

Hello,

We are trying to use GP web service to implement some of the functionalities our web site needs. We need to implement yearly summary where user can use either the fiscal year or calendar year and select a year from the list. Is there a GP web service method which we can use to get the fiscal year list and get a yearly summary based on the year selected by the user?

Thank you,

Farzana Jashim

*This post is locked for comments

  • Suggested answer
    Josh P Profile Picture
    Josh P 2,895 on at
    RE: GP web service for customer's yearly summary

    I do not know of a method that provides this out of the box with web services. This is really a bare-bones web service that gives transaction data import/export methods. The service can be used for summary reporting, but I think you will need to go the route of customization.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: GP web service for customer's yearly summary

    Hi Joshua,

    Thanks for your reply. From GP > Inquiry > Yearly Summary, I am looking for similar data. I don't need to display all the records, if there is any way to get the summary which shows similar data as Yearly Summary in GP, that will work for us. I could get the Payment Summary by using GetCustomerReceivablesSummaryByKey method. Do you know if there is any method for the yearly summary window?

    Thank you,

    Farzana Jashim

  • Suggested answer
    Josh P Profile Picture
    Josh P 2,895 on at
    RE: GP web service for customer's yearly summary

    Hi Farzana,

    The closest built-in method that I know of in web services is GetGLTransactionList which returns a collection of GL Summaries. The problem is the web service only returns 1000 rows per query without some loop logic shenanigans to get all the transactions into a collection that will allow you to modify it via code.

    Here is the link to this method on MSDN: msdn.microsoft.com/.../cc508477.aspx

    Now, what I would recommend is to extend the service using the built-in eConnect stored procedures that feed data to the web service. This way, you can build the logic into SQL, and pass only the data you need to the web service. It will make things much faster, and you can customize the SOAP object sent back to you.

    Here is a link to get you started: msdn.microsoft.com/.../cc508802.aspx

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!

Community AMA December 12th

Join us as we continue to demystify the Dynamics 365 Contact Center

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,240 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,149 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans