Recently I have a chanced to work with a POS system solution provider to link back to NAV.
The POS System is developed using .NET platform, and they need to write back sales transaction and payment from the frontend (shops) back to backend, which is NAV.
This is our first time using MS Dynamics NAV Web Service for system integration.
What I have done is to publish the pages required which is the Sales Order page and Cash Receipt Journal Page. With these two pages published, the POS can insert & updata data into these two pages. Whatever fields that we published inside the page can be accessed by external.
For posting, we cannot just publish standard posting codeunit. There will be errors because normally for posting routine, we will pass the whole table record into codeunit. But from external, there will not have the record variable.
Thus, what I did is to create a new codeunit for any functions that I want to published to POS. For an example, for Sales Posting I have write a function to call standard posting Codeunit with 4 parameters as per below:
1. Document Type
2. Document No
3. Ship (Boolean)
4. Invoice (Boolean)
So the POS just need to my customized codeunit's posting function with the above mentioned parameters.
Still something new to us, but is it fun to explore.
: )
Subscribe to:
Post Comments (Atom)
3 comments:
I believe you know about the way of mssql mdf repair
Web services are very useful - and in NAV 2013 they get a lot more robust and powerful. Have you had a chance to play with 2013 yet?
Halo,I'm Helena Julio from Ecuador,I want to talk good about Le_Meridian Funding Service on this topic.Le_Meridian Funding Service gives me financial support when all bank in my city turned down my request to grant me a loan of 500,000.00 USD, I tried all i could to get a loan from my banks here in Ecuador but they all turned me down because my credit was low but with god grace I came to know about Le_Meridian so I decided to give a try to apply for the loan. with God willing they grant me loan of 500,000.00 USD the loan request that my banks here in Ecuador has turned me down for, it was really awesome doing business with them and my business is going well now. Here is Le_Meridian Funding Investment Email/WhatsApp Contact if you wish to apply loan from them.Email:lfdsloans@lemeridianfds.com / lfdsloans@outlook.comWhatsApp Contact:+1-989-394-3740.
Post a Comment