-
Notifications
You must be signed in to change notification settings - Fork 94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Creating Sales Order and Sales Lines in Microsoft Dynamics #207
Comments
Hi @hsajib-js. First point: Please try your case with the latest stable (currently 1.9.0) pyodata version. If your service is " compatible with OData 1.0 - 3.0", there is no reason to use Second point: The root cause seems to lie in the last line of the provided log file . Seems like an error on the server side to me at first glance. I would focus on debugging the "Microsoft Dynamics NAV 2013" service. I don't see what actually is 31 characters long, but definitely not the log line: |
Hello @phanak-sap , Thank you for responding! For the first point, I actually started using the experimental branch because I was getting this error and this issue discussed about it and suggested to use the experimental branch. For the second point, I will try to provide some script ASAP. |
Hi @hsajib-jsf no sample script was provided and I am not sure if this is even odata V2 or odata V3 problem. Re-open if the problem still persist with more info and the script reproducing the bug. |
I am working on integrating Microsoft Dynamics NAV 2013 R2 with my Python application. My objectives for this integration are:
On the Dynamics NAV side, I am using web services compatible with OData 1.0 - 3.0. I am exposing both Sales Order and Sales Line objects from the web service. I can access the web service through a browser.
On the Python side, I am using
experimental_v3
branch of this library to communicate with Dynamics NAV.My testing code looks like following:
The problem I am facing is I can query all the sales orders just fine but when I am trying to create a sales order along with related sales lines, I am getting the following error:
Here are the detailed logs from running the code:
I have tried to debug this from the NAV side. For that I have used the Dynamics NAV debugger using the 'Debug Next' option. I have used this article as a guideline for debugging without any luck.
My question is how can I get around this error and create the sales lines for the sales order? Are there other things I can do to debug this on the NAV side?
The text was updated successfully, but these errors were encountered: