Hi
Am trying to connect to POS programmatically.
The code looks something like this but BuildForAPI is no longer valid.
What is the new call?
// add connection information
QSRules.ConnectionInfo ci = new QSRules.ConnectionInfo();
ci.ApplicationMode = QSRules.applicationModeEnum.applicationmodeHQ;
ci.ConnectTimeout = "60";
ci.DataSource = "";
ci.InitialCatalog = "";
ci.RegisterNumber = 0;
ci.provider = "sqloledb";
//truncated
if (this.session.BuildForAPI(ref ci, 0, ref refbool) == 0) return true;
else return false;
*This post is locked for comments
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,253 Super User 2024 Season 2
Martin Dráb 230,188 Most Valuable Professional
nmaenpaa 101,156