I am very new to Accpac. I have spent the last few days trying to understand what is involved in doing some custom programming, in order to make a realistic quote.
My background: mostly VB programming, lately moving into .NET (specifically C#).
The situation: the client has an order entry website (ASP.NET), they want any orders put into the website to be automatically put into AccPac (this will avoid duplicate data entry).
My understanding is to use the COM API (being a VB programmer, I am very comfortable using COM objects).
Unfortunately, I do not know which version of Accpac they are using (I am being subcontracted and don't have all the details yet). I have been told that they use a web interface on the client machines, so my understanding is that it would be the Advantage Series.
Question #1
***********
I have seen some example code that uses the COM API, and one thing that alarms me is the error message "VBA macros cannot run where Accpac is deployed as a Web Server" (I often see this in the sample code error handlers when the Errors object is Nothing). Does this mean that I can't use the COM API if Accpac is web deployed (which seems to be the case here)?
Question #2
***********
The web application is not hosted by a third party, so we have generally agreed to use web services to communicate when an order is created. The idea was that I create some C# wrapper classes around the COM API. My classes would have some simple methods for the web app to use (e.g. CreateOrder(OrderID, CustID, ...)).
If their IIS server (the one hosting the web service, not the Web App) is not also the one hosting Accpacc, what do I need to install on it in order to connect to the Accpacc data (besides the COM DLL)? Will there be some licencing issues?
Question #3
***********
We also want to alert the web app when the order becomes invoiced. Is there a way I can "listen" for this event?
I better end this long thread right here. The main thing I need to know if it's possible to do the things listed above?
My background: mostly VB programming, lately moving into .NET (specifically C#).
The situation: the client has an order entry website (ASP.NET), they want any orders put into the website to be automatically put into AccPac (this will avoid duplicate data entry).
My understanding is to use the COM API (being a VB programmer, I am very comfortable using COM objects).
Unfortunately, I do not know which version of Accpac they are using (I am being subcontracted and don't have all the details yet). I have been told that they use a web interface on the client machines, so my understanding is that it would be the Advantage Series.
Question #1
***********
I have seen some example code that uses the COM API, and one thing that alarms me is the error message "VBA macros cannot run where Accpac is deployed as a Web Server" (I often see this in the sample code error handlers when the Errors object is Nothing). Does this mean that I can't use the COM API if Accpac is web deployed (which seems to be the case here)?
Question #2
***********
The web application is not hosted by a third party, so we have generally agreed to use web services to communicate when an order is created. The idea was that I create some C# wrapper classes around the COM API. My classes would have some simple methods for the web app to use (e.g. CreateOrder(OrderID, CustID, ...)).
If their IIS server (the one hosting the web service, not the Web App) is not also the one hosting Accpacc, what do I need to install on it in order to connect to the Accpacc data (besides the COM DLL)? Will there be some licencing issues?
Question #3
***********
We also want to alert the web app when the order becomes invoiced. Is there a way I can "listen" for this event?
I better end this long thread right here. The main thing I need to know if it's possible to do the things listed above?