Hi,
I work for a web development company, and we've been approached by a client who want, among other things, to have their website display various queries on their customer data (eg. show me everyone within fifty miles, everyone under category X, etc.) which is stored in Microsoft Dynamics NAV. It would be good to have read/write access to records, but it's not a deal-breaker to have only read. I was hoping folk would recommend a way to communicate with the server. I'm happy accessing the DB directly; it would be nice if there was an API dedicated to this; any other ideas?
We haven't yet produced a proposal for this client, so I'm looking for an idea of available methods and their complexity. I've done a couple of searches and found very little; if this area's been covered already, please feel free to throw some links and say, 'go read!'
Many thanks in advance,
Andy
0
Comments
http://www.BiloBeauty.com
http://www.autismspeaks.org
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
@kine Forgive my ignorance, but is it necessarily the case that they will have a NAV partner? I'm afraid I am really new to NAV. And regarding the replicating idea, how would you foresee managing changes from the website propagating to the NAV db? Maybe we could access the db directly for writes (as they would be relatively rare) and use the replicated db for reads? Are you confident that it's a bad idea to read the db directly? (Allowing that it would need to be load-tested and potentially moved to a more powerful server.)
Thanks all for your time, very much appreciated,
What kine suggested is the way to go about it. Instead of having programs access your ERP database directly, dump the necessary data into a separate SQL express database for the website to do query on.
AP Commerce, Inc. = where I work
Getting Started with Dynamics NAV 2013 Application Development = my book
Implementing Microsoft Dynamics NAV - 3rd Edition = my 2nd book
@Alex Many thanks.
How you do it is just going to depend on what exactly they expect out of this 'integration'.
You can generate files in your web app and then use dataports for flat text imports, XMLPorts for structured files, and then setup automated processes in NAV to run those and process the information contained in those files. For that you will need someone who knows NAV to write code to handle this data you output. This is the easiest way.
Microsoft Certified Business Management Solutions Professional
Microsoft Certified Business Management Solutions Specialist
http://www.navisiontech.com
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
@gvolkov, kine - Thanks, I didn't know there was a web services API.
I take it from gvolkov's comment that the web services API was only added in v6; I don't think I can assume they will be running that version. So a bit of googling tells me that NAS is the application server, ie the middle tier. Could anyone point me at some docs on how to remotely interface with it?
Thanks
Another way would be to do a technical upgrade to NAV 2009 SP1 (so you are only updating the technical NAV environment, not the NAV application). Then you can use the Webservices functionality, directly from your web application, to put your data into NAV.
Thanks again for the help, it's been invaluable to a complete NAV noob like myself:)
Welcome to the NAV world, and to this on-line community.
Microsoft Certified Business Management Solutions Professional
Microsoft Certified Business Management Solutions Specialist
http://www.navisiontech.com