web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

How to post salesInvoice webservice using java

(0) ShareShare
ReportReport
Posted on by

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

I have the same question (0)
  • Suggested answer
    Nareshwar Raju Vaneshwar Profile Picture
    5,596 on at

    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.

  • Suggested answer
    keoma Profile Picture
    32,729 on at
  • Community Member Profile Picture
    on at

    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
    Nareshwar Raju Vaneshwar Profile Picture
    5,596 on at

    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
    on at

    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

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics NAV (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans