Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

Gp Web services validation exceptions

(0) ShareShare
ReportReport
Posted on by 35

Hello,

I need some help with the dynamics gp web services PLEASE. I've created an application to change a PO line date, unit cost and quantity. I'm a c# developer and I'm not very familiar with GP, but the app works. Anyways, sometimes (almost always) I got validation exceptions that not even the responsible for GP here in the company understands. Because everything is there when we check the table. Still the web service returns to me "Shipping method does not exist" for example, or : {System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]: A validation exception has occurred.

Validation Errors:

- Decimal Places passed in for QUANTITY does not match setup

- Document Date is required for PA

Actually I really don't know if I'm doing something wrong in code or if it is only data driven error, because the same PO worked before.

Can someone give me a clue of what to do to make these web services work!? I appreciate your help!

*This post is locked for comments

  • Suggested answer
    sandipdjadhav Profile Picture
    sandipdjadhav 18,265 on at
    RE: Gp Web services validation exceptions

    Hi,

    When you create PO - Manually or with WebService  it's different then updating existing PO. You need to sit with end users and see what happen when you update existing PO. Try all scenario where PO was new, change, partially or fully received.

    You need to pass Decimal Place for Qty . - msdn.microsoft.com/.../cc508040.aspx

    msdn.microsoft.com/.../cc508046.aspx

    Document Date is required for PA - Don't understand.

    You can find logical description in WebService server---> Event Viewer-->eConnect. This may help you to understand what exactly going on.

    Let me know how it goes.

    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans