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
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.
Thanks Khoa Nguyen and Tharanga
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.
Sohail Ahmed
2
mmv
2
Amol Salvi
2