Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

How to post salesInvoice webservice using java

Posted on by Microsoft Employee

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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to post salesInvoice webservice using java

    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.

    dynamicsuser.net/.../45810

  • Suggested answer
    RE: How to post salesInvoice webservice using java

    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.

    Capture123.PNG

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: How to post salesInvoice webservice using java

    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

  • Suggested answer
    keoma Profile Picture
    keoma 32,675 on at
  • Suggested answer
    RE: How to post salesInvoice webservice using java

    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.

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.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans