web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Generalized method to Create, Update, Get and Delete records from GP.

(0) ShareShare
ReportReport
Posted on by 600

Hi All,

I am new to GP. Creating a small application, using the GP webservice.

Below is the sample code I am using.

 Policy objCusomerPolicy = wsDynamicsGP.GetPolicyByOperation("CreateCustomer", context);

  wsDynamicsGP.CreateCustomer(objCustomer, context, objCusomerPolicy);

Is there any generalized method there using webservice, like single method to create records in GP. Similarly for update, delete and getting records.

 

Regards,

Priya.

*This post is locked for comments

  • Suggested answer
    sandipdjadhav Profile Picture
    18,359 on at

    Priya,

    There is web method available to create customer. Here is link for your reference.

    msdn.microsoft.com/.../cc508425.aspx

    Thanks

    Sandip

  • Priya Swain Profile Picture
    600 on at

    Thanks Sandip.

    Very Sorry for replying late.

    The URL you provided is specific for customer. I want a single genaralized method for creation of every entity.

    Regards,

    Priya.

  • krunal Profile Picture
    65 on at

    Hello,

    I Want to find Department information. using Web Service in my C# solution.

    Let me know what could be the preferred solution.

    Thanks

    Krunal Jani

  • Suggested answer
    sandipdjadhav Profile Picture
    18,359 on at

    Krunal,

    If there is not Dynamics GP WebService to get Departments then create your custom webservice using table- UPR40300

    Thanks

    Sandip

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the August Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans