Notifications
Announcements
No record found.
I have url of a webservice and I am using .net interop(Wrapper class) to access webservice. How can I delete records from navision in the url.
*This post is locked for comments
Check this link
also this : https://community.dynamics.com/nav/b/navericwauters/archive/2010/05/14/nav-2009-web-services-58-extending-a-page-web-service.aspx
Hi NavTech,
This link can be helpful:
community.dynamics.com/.../125752.aspx
If you have exposed the page as a webservice it will have a function call 'Delete' which will allow you to delete a single record.
Easiest way is write a function in a codeunit to delete the record and then expose that function as a web service.
From .net side you can add this codeunit reference and then call the function with the required parameters.
Thanks Khoa Nguyen and Tharanga
I have write the code to access values from service. I use code like this
SalesHeader.Description := lModel.GetField('Test Field').GetString;
Can you help me what code should I write if I want to insert a record in service url.
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.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
HoangNam 7