Personalized Community is here!
Quickly customize your community to find the content you seek.
Choose your path Increase your proficiency with the Dynamics 365 applications that you already use and learn more about the apps that interest you. Up your game with a learning path tailored to today's Dynamics 365 masterminds and designed to prepare you for industry-recognized Microsoft certifications.
Visit Microsoft Learn
2023 Release Wave 1Check out the latest updates and new features of Dynamics 365 released from April 2023 through September 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | All TechTalks | Architecture Insights
I am working on integrating Microsoft Dynamics NAV 2013 R2 with my Python application. My objectives for this integration are:1. Query all the Sales Orders2. Create a new Sales Order and related Sales Lines
On the Dynamics NAV side, I am exposing both Sales Order and Sales Line pages from the web service.
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:
HttpError: HTTP POST for Entity Set Sales_Order failed with status code 400Process finished with exit code 1
Has anyone integrated external applications with NAV through web services for creating sales documents? If so, has anyone seen this error?I have also tried to debug this from the NAV side, using the 'Debug Next' option but without any luck.
Any suggestion or ideas to resolve this issue?
Going direct to those tables isn’t a regular approach. I’d have it to a standalone set and then process them to the main tables. This can avoid conflicts with core code validations. If you don’t want to do that at least have 2 pages purposely created for the job. This is how things are done with the latest version. Stops you running the same code as you would in the regular UI
That's a good idea. I am going to create 2 new pages for this purpose and see how that goes.
I will post here the results later.
Business Applications communities