Skip to main content

Notifications

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,297 on at
    RE: Generalized method to Create, Update, Get and Delete records from GP.

    Krunal,

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

    Thanks

    Sandip

  • krunal Profile Picture
    65 on at
    RE: Generalized method to Create, Update, Get and Delete records from GP.

    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

  • Priya Swain Profile Picture
    600 on at
    RE: Generalized method to Create, Update, Get and Delete records from GP.

    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.

  • Suggested answer
    sandipdjadhav Profile Picture
    18,297 on at
    RE: Generalized method to Create, Update, Get and Delete records from GP.

    Priya,

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

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

    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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Featured topics

Product updates

Dynamics 365 release plans