Data modify using OData Web Service in NAV 2013
lakshanvindana
Member Posts: 79
Dear Experts,
I'm having an issue when I try to add/modify data using Web Service.
version : NAV 2013
OS : Win 07
Service : OData
1. Can use OData service to add/modify data?
(because I saw a demo doing so, but with NAV 2013 R2)
2. Any idea about following error?
Thank you.
I'm having an issue when I try to add/modify data using Web Service.
version : NAV 2013
OS : Win 07
Service : OData
1. Can use OData service to add/modify data?
(because I saw a demo doing so, but with NAV 2013 R2)
2. Any idea about following error?
Thank you.
Lakshan Kulawansa
ERP Consultant - MS Dynamics NAV
https://lk.linkedin.com/pub/lakshan-vindana-kulawansa/37/2a2/592
ERP Consultant - MS Dynamics NAV
https://lk.linkedin.com/pub/lakshan-vindana-kulawansa/37/2a2/592
0
Answers
-
1. with NAV2013 : no ; with NAV2013R2 : yes
2. what did you do?Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
thank you for the reply
1. understood, can u please tell me how to use SOAP to read,add,modify,delete.
2. this is when i try to add/modify data using OData in 2013
Lakshan Kulawansa
ERP Consultant - MS Dynamics NAV
https://lk.linkedin.com/pub/lakshan-vindana-kulawansa/37/2a2/5920 -
1. Reading : you can use ODATA to do that: I am using it and it is very easy to do. Just create a page to show the data and then publish it in webservices.
For receiving data using webservices, create a codeunit with functions with parameters in which you receive the data. If there are just a few fields, you can put the fields as parameters otherwise, you need to create an XML-port and put that as as a parameter in the function.
That codeunit has also to be published as a webservice.
You can use SOAPUI to call the webservice to send some data into NAV.
Explaining how to this is a little too long for this post, so do some research in the online help of NAV on how to prepare the webservice and some googling/binging/duckduckgoing to find out how to use SOAPUI.
2. :thumbsup:Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
thank you :thumbsup:Lakshan Kulawansa
ERP Consultant - MS Dynamics NAV
https://lk.linkedin.com/pub/lakshan-vindana-kulawansa/37/2a2/5920
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions