Hello,
I'm tring to find the page that can expose a web service capable of archive sales orders. The same operation you can do in NAV with the button "Archive". I've tried with pages 42 and 48 but there are no exported methods to do it.
Please some one can give some good information on it?
my best regards,
Gianmaria
0
Comments
Why don't you try to publish Codeunit 5063 and use ArchiveSalesDocument function from the exposed codeunit.
The function accept a parameter that is Sales Order No.
Let me know the issue completely.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page
a nice idea.. I've tried to access this code unit but seems i don't have permission. I work a lot with other web services using pages and everything goes ok, but when i try to use code units and expose as web service. Visual studio give me a permission error. Same thing if i try to open the SOAP url by internet explorer. Seem I have to unlock something.
Regards,
Gianmaria
ERROR:
Simply create a wrapping codeunit which receive document type and document no. as separated parameters and call ArchiveSalesDocument function
I already tried this way ... but seem i can't add a new codeunit (nag development environment) nor i can view the code of existing one. Don't have permission to do it. Will call my support and will ask them how to unlock.
Gianmaria
Oh, I thought you were already working with a development license: you'll probably better getting in touch with your partner and ask for this new custom functionality.