NigelJewell
Programmer
Hi,
We want to update the AccPac (5.4a) currencies using Web Services.
We need access to view CS0005, but we cannot access this.
We are told it is related to the DBLinkType but we can't find any reference to this.
This doesn't work:
ACCPACWebServiceSystemServices Accpac = new ACCPACWebServiceSystemServices();
String session = Accpac.SessionOpen("xxx", "xxx", "xxx", DateTime.Today);
string CurrencyHeader = Accpac.SessionOpenView(session, "CS0005");
We are told that this should work (but this seems to be for an different version of AccPac).
sessionToken = ws.SessionInit("CS", "CS0001", "54A");
ws.SessionOpen(sessionToken, "xxx", "xxx", "xxx", DateTime.Today);
AccpacDBLink dblink = ws.SessionOpenDBLink(sessionToken, DBLinkType.System);
string CurrencyHeader = dbLink.SessionOpenView(sessionToken, "CS0005");
Any ideas?
Regards,
Nige.
We want to update the AccPac (5.4a) currencies using Web Services.
We need access to view CS0005, but we cannot access this.
We are told it is related to the DBLinkType but we can't find any reference to this.
This doesn't work:
ACCPACWebServiceSystemServices Accpac = new ACCPACWebServiceSystemServices();
String session = Accpac.SessionOpen("xxx", "xxx", "xxx", DateTime.Today);
string CurrencyHeader = Accpac.SessionOpenView(session, "CS0005");
We are told that this should work (but this seems to be for an different version of AccPac).
sessionToken = ws.SessionInit("CS", "CS0001", "54A");
ws.SessionOpen(sessionToken, "xxx", "xxx", "xxx", DateTime.Today);
AccpacDBLink dblink = ws.SessionOpenDBLink(sessionToken, DBLinkType.System);
string CurrencyHeader = dbLink.SessionOpenView(sessionToken, "CS0005");
Any ideas?
Regards,
Nige.