Hi guys i m trying to post salesInvoice webserivce using java.But i am not getting it how to post?
Although i am able to do that one using UI.
Instant help needed.
Thanks and Regards
Vija Maddi
*This post is locked for comments
Hi guys i m trying to post salesInvoice webserivce using java.But i am not getting it how to post?
Although i am able to do that one using UI.
Instant help needed.
Thanks and Regards
Vija Maddi
*This post is locked for comments
Hi Vijay,
Even i have this problem and i found way to do this, i hope it will be helpful even for you.
For posting any invoice you need to publish web service as codeunit. and to publish codeunit you need Developer license. so contact your partner or try buying license.
For activating the License file.
msdn.microsoft.com/.../dd338774%28v=nav.70%29.aspx
For publishing a codeunit web service follow this link.
msdn.microsoft.com/.../dd339004%28v=nav.70%29.aspx
And for posting invoice using codeunit you can follow this link.
Hi Vijay,
The blog I have mentioned written by FreddyK needs the basic knowledge of Java and how the technology works.
Please read the prerequisites before using Java with integrating NAV web services. Exposing the relevant pages you wanted to process. (eg. Customer ,Sales Order,Sales Invoices).
When you do a wsimport and compile on Java of NAV web services, you are set to go. To answer your question, after compiling, you will get updated with all the NAV actions as Java methods.Please check the attached picture. So you can call the methods with appropriate parameters. Hope it helps.
Please check the attached picture, I have exposed and pulled up the xsd for Customer Card page. Likewise, you can expose the pages and call the methods with appropriate parameters.
Hope it helps.
Hi Naresh and archer thanks for Quick response.
I am working on sales module so that i have created the customer and sales order and sales invoices by using the microsoft dynamics navision studio 2013.By using the navision studio on the top of that their is action tab so i posted the sales invoices succesfully.
Now I need to do the same way by using the webservices and java. so that i have created page webservice of Customer ,Sales Order,Sales Invoices. So I need To Post The Sales Invoices But Their Is No Option Like Post Their Is No Relation Between The Sales Order And Sales Invoice.
can you help with more information.
Again thanking you
Hi Vijay,
What do you mean by you are not able to post it thru webservices? Is there any error message is preventing you?
If not there is a general Microsoft recommended guide which can help you.
Link: blogs.msdn.microsoft.com/.../connecting-to-nav-web-services-from-java
Hope it helps.
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,269 Super User 2024 Season 2
Martin Dráb 230,198 Most Valuable Professional
nmaenpaa 101,156