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

Notifications

Announcements

No record found.

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

I have the same question (0)
  • Suggested answer
    sandipdjadhav Profile Picture
    18,306 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,306 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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
mtabor Profile Picture

mtabor 1

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans