QuickBooks Desktop Integration











up vote
0
down vote

favorite
1












I have a task to make a syncing service that can sync the sales records present in the Quick books point of sale into the local database.
How to integrate Quick books desktop point of sale and web application(c#) via web connector?



Code used :
public string sendRequestXML(string ticket, string strHCPResponse, string
strCompanyFileName,
string qbXMLCountry, int qbXMLMajorVers, int qbXMLMinorVers) {
if (Session["counter"] == null) {
Session["counter"] = 0;
}
string evLogTxt="WebMethod: sendRequestXML() has been called by
QBWebconnector" + "rnrn";
evLogTxt=evLogTxt+"Parameters received:rn";
evLogTxt=evLogTxt+"string ticket = " + ticket + "rn";
evLogTxt=evLogTxt+"string strHCPResponse = " + strHCPResponse +
"rn";
evLogTxt=evLogTxt+"string strCompanyFileName = " +
strCompanyFileName + "rn";
evLogTxt=evLogTxt+"string qbXMLCountry = " + qbXMLCountry + "rn";
evLogTxt=evLogTxt+"int qbXMLMajorVers = " +
qbXMLMajorVers.ToString() + "rn";
evLogTxt=evLogTxt+"int qbXMLMinorVers = " +
qbXMLMinorVers.ToString() + "rn";
evLogTxt=evLogTxt+"rn";



        ArrayList req=buildRequest();
string request="";
int total = req.Count;
count=Convert.ToInt32(Session["counter"]);

if(count<total) {
request=req[count].ToString();
evLogTxt=evLogTxt+ "sending request no = " + (count+1) + "rn";
Session["counter"] = ((int) Session["counter"]) + 1;
}
else{
count=0;
Session["counter"]=0;
request="";
}
evLogTxt=evLogTxt+"rn";
evLogTxt=evLogTxt+"Return values: " + "rn";
evLogTxt=evLogTxt+"string request = " + request + "rn";
logEvent(evLogTxt);
return request;
}


It is creating log in the end, how will i fetch the data from the QBPOS?










share|improve this question
























  • You are going to need to post WAY more details. What programming language? What research have you done so far? Post your code. Post your logs. There's a ton of resources out there you can find by searching Google, so where are you stuck?
    – Keith Palmer Jr.
    Nov 12 at 14:27










  • I am using C# programming language. I have installed SDK from the intuits website and connected the Quickbooks with my SDK. Now, i am stuck at creating a service which can connect with my QB POS.
    – Shwetima Gupta
    Nov 14 at 12:26










  • What have you tried so far? Post your code. Post what you've done so far.
    – Keith Palmer Jr.
    Nov 14 at 13:33










  • I am using QBPOS SDK, in the step 3 when i click begin session it says couldnot connect to database. What database is it talking about? Currently i am using the sample code that comes with the SDK, i am using QWCPOSWebService code. Code is : public string sendRequestXML(string ticket, string strHCPResponse, string strCompanyFileName, string qbXMLCountry, int qbXMLMajorVers, int qbXMLMinorVers) { From where i will get the parameter values?
    – Shwetima Gupta
    Nov 16 at 8:35












  • Please help me out with how can i connect QBPOS with my code.
    – Shwetima Gupta
    Nov 16 at 8:52















up vote
0
down vote

favorite
1












I have a task to make a syncing service that can sync the sales records present in the Quick books point of sale into the local database.
How to integrate Quick books desktop point of sale and web application(c#) via web connector?



Code used :
public string sendRequestXML(string ticket, string strHCPResponse, string
strCompanyFileName,
string qbXMLCountry, int qbXMLMajorVers, int qbXMLMinorVers) {
if (Session["counter"] == null) {
Session["counter"] = 0;
}
string evLogTxt="WebMethod: sendRequestXML() has been called by
QBWebconnector" + "rnrn";
evLogTxt=evLogTxt+"Parameters received:rn";
evLogTxt=evLogTxt+"string ticket = " + ticket + "rn";
evLogTxt=evLogTxt+"string strHCPResponse = " + strHCPResponse +
"rn";
evLogTxt=evLogTxt+"string strCompanyFileName = " +
strCompanyFileName + "rn";
evLogTxt=evLogTxt+"string qbXMLCountry = " + qbXMLCountry + "rn";
evLogTxt=evLogTxt+"int qbXMLMajorVers = " +
qbXMLMajorVers.ToString() + "rn";
evLogTxt=evLogTxt+"int qbXMLMinorVers = " +
qbXMLMinorVers.ToString() + "rn";
evLogTxt=evLogTxt+"rn";



        ArrayList req=buildRequest();
string request="";
int total = req.Count;
count=Convert.ToInt32(Session["counter"]);

if(count<total) {
request=req[count].ToString();
evLogTxt=evLogTxt+ "sending request no = " + (count+1) + "rn";
Session["counter"] = ((int) Session["counter"]) + 1;
}
else{
count=0;
Session["counter"]=0;
request="";
}
evLogTxt=evLogTxt+"rn";
evLogTxt=evLogTxt+"Return values: " + "rn";
evLogTxt=evLogTxt+"string request = " + request + "rn";
logEvent(evLogTxt);
return request;
}


It is creating log in the end, how will i fetch the data from the QBPOS?










share|improve this question
























  • You are going to need to post WAY more details. What programming language? What research have you done so far? Post your code. Post your logs. There's a ton of resources out there you can find by searching Google, so where are you stuck?
    – Keith Palmer Jr.
    Nov 12 at 14:27










  • I am using C# programming language. I have installed SDK from the intuits website and connected the Quickbooks with my SDK. Now, i am stuck at creating a service which can connect with my QB POS.
    – Shwetima Gupta
    Nov 14 at 12:26










  • What have you tried so far? Post your code. Post what you've done so far.
    – Keith Palmer Jr.
    Nov 14 at 13:33










  • I am using QBPOS SDK, in the step 3 when i click begin session it says couldnot connect to database. What database is it talking about? Currently i am using the sample code that comes with the SDK, i am using QWCPOSWebService code. Code is : public string sendRequestXML(string ticket, string strHCPResponse, string strCompanyFileName, string qbXMLCountry, int qbXMLMajorVers, int qbXMLMinorVers) { From where i will get the parameter values?
    – Shwetima Gupta
    Nov 16 at 8:35












  • Please help me out with how can i connect QBPOS with my code.
    – Shwetima Gupta
    Nov 16 at 8:52













up vote
0
down vote

favorite
1









up vote
0
down vote

favorite
1






1





I have a task to make a syncing service that can sync the sales records present in the Quick books point of sale into the local database.
How to integrate Quick books desktop point of sale and web application(c#) via web connector?



Code used :
public string sendRequestXML(string ticket, string strHCPResponse, string
strCompanyFileName,
string qbXMLCountry, int qbXMLMajorVers, int qbXMLMinorVers) {
if (Session["counter"] == null) {
Session["counter"] = 0;
}
string evLogTxt="WebMethod: sendRequestXML() has been called by
QBWebconnector" + "rnrn";
evLogTxt=evLogTxt+"Parameters received:rn";
evLogTxt=evLogTxt+"string ticket = " + ticket + "rn";
evLogTxt=evLogTxt+"string strHCPResponse = " + strHCPResponse +
"rn";
evLogTxt=evLogTxt+"string strCompanyFileName = " +
strCompanyFileName + "rn";
evLogTxt=evLogTxt+"string qbXMLCountry = " + qbXMLCountry + "rn";
evLogTxt=evLogTxt+"int qbXMLMajorVers = " +
qbXMLMajorVers.ToString() + "rn";
evLogTxt=evLogTxt+"int qbXMLMinorVers = " +
qbXMLMinorVers.ToString() + "rn";
evLogTxt=evLogTxt+"rn";



        ArrayList req=buildRequest();
string request="";
int total = req.Count;
count=Convert.ToInt32(Session["counter"]);

if(count<total) {
request=req[count].ToString();
evLogTxt=evLogTxt+ "sending request no = " + (count+1) + "rn";
Session["counter"] = ((int) Session["counter"]) + 1;
}
else{
count=0;
Session["counter"]=0;
request="";
}
evLogTxt=evLogTxt+"rn";
evLogTxt=evLogTxt+"Return values: " + "rn";
evLogTxt=evLogTxt+"string request = " + request + "rn";
logEvent(evLogTxt);
return request;
}


It is creating log in the end, how will i fetch the data from the QBPOS?










share|improve this question















I have a task to make a syncing service that can sync the sales records present in the Quick books point of sale into the local database.
How to integrate Quick books desktop point of sale and web application(c#) via web connector?



Code used :
public string sendRequestXML(string ticket, string strHCPResponse, string
strCompanyFileName,
string qbXMLCountry, int qbXMLMajorVers, int qbXMLMinorVers) {
if (Session["counter"] == null) {
Session["counter"] = 0;
}
string evLogTxt="WebMethod: sendRequestXML() has been called by
QBWebconnector" + "rnrn";
evLogTxt=evLogTxt+"Parameters received:rn";
evLogTxt=evLogTxt+"string ticket = " + ticket + "rn";
evLogTxt=evLogTxt+"string strHCPResponse = " + strHCPResponse +
"rn";
evLogTxt=evLogTxt+"string strCompanyFileName = " +
strCompanyFileName + "rn";
evLogTxt=evLogTxt+"string qbXMLCountry = " + qbXMLCountry + "rn";
evLogTxt=evLogTxt+"int qbXMLMajorVers = " +
qbXMLMajorVers.ToString() + "rn";
evLogTxt=evLogTxt+"int qbXMLMinorVers = " +
qbXMLMinorVers.ToString() + "rn";
evLogTxt=evLogTxt+"rn";



        ArrayList req=buildRequest();
string request="";
int total = req.Count;
count=Convert.ToInt32(Session["counter"]);

if(count<total) {
request=req[count].ToString();
evLogTxt=evLogTxt+ "sending request no = " + (count+1) + "rn";
Session["counter"] = ((int) Session["counter"]) + 1;
}
else{
count=0;
Session["counter"]=0;
request="";
}
evLogTxt=evLogTxt+"rn";
evLogTxt=evLogTxt+"Return values: " + "rn";
evLogTxt=evLogTxt+"string request = " + request + "rn";
logEvent(evLogTxt);
return request;
}


It is creating log in the end, how will i fetch the data from the QBPOS?







quickbooks point-of-sale






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Nov 16 at 8:51

























asked Nov 12 at 12:42









Shwetima Gupta

12




12












  • You are going to need to post WAY more details. What programming language? What research have you done so far? Post your code. Post your logs. There's a ton of resources out there you can find by searching Google, so where are you stuck?
    – Keith Palmer Jr.
    Nov 12 at 14:27










  • I am using C# programming language. I have installed SDK from the intuits website and connected the Quickbooks with my SDK. Now, i am stuck at creating a service which can connect with my QB POS.
    – Shwetima Gupta
    Nov 14 at 12:26










  • What have you tried so far? Post your code. Post what you've done so far.
    – Keith Palmer Jr.
    Nov 14 at 13:33










  • I am using QBPOS SDK, in the step 3 when i click begin session it says couldnot connect to database. What database is it talking about? Currently i am using the sample code that comes with the SDK, i am using QWCPOSWebService code. Code is : public string sendRequestXML(string ticket, string strHCPResponse, string strCompanyFileName, string qbXMLCountry, int qbXMLMajorVers, int qbXMLMinorVers) { From where i will get the parameter values?
    – Shwetima Gupta
    Nov 16 at 8:35












  • Please help me out with how can i connect QBPOS with my code.
    – Shwetima Gupta
    Nov 16 at 8:52


















  • You are going to need to post WAY more details. What programming language? What research have you done so far? Post your code. Post your logs. There's a ton of resources out there you can find by searching Google, so where are you stuck?
    – Keith Palmer Jr.
    Nov 12 at 14:27










  • I am using C# programming language. I have installed SDK from the intuits website and connected the Quickbooks with my SDK. Now, i am stuck at creating a service which can connect with my QB POS.
    – Shwetima Gupta
    Nov 14 at 12:26










  • What have you tried so far? Post your code. Post what you've done so far.
    – Keith Palmer Jr.
    Nov 14 at 13:33










  • I am using QBPOS SDK, in the step 3 when i click begin session it says couldnot connect to database. What database is it talking about? Currently i am using the sample code that comes with the SDK, i am using QWCPOSWebService code. Code is : public string sendRequestXML(string ticket, string strHCPResponse, string strCompanyFileName, string qbXMLCountry, int qbXMLMajorVers, int qbXMLMinorVers) { From where i will get the parameter values?
    – Shwetima Gupta
    Nov 16 at 8:35












  • Please help me out with how can i connect QBPOS with my code.
    – Shwetima Gupta
    Nov 16 at 8:52
















You are going to need to post WAY more details. What programming language? What research have you done so far? Post your code. Post your logs. There's a ton of resources out there you can find by searching Google, so where are you stuck?
– Keith Palmer Jr.
Nov 12 at 14:27




You are going to need to post WAY more details. What programming language? What research have you done so far? Post your code. Post your logs. There's a ton of resources out there you can find by searching Google, so where are you stuck?
– Keith Palmer Jr.
Nov 12 at 14:27












I am using C# programming language. I have installed SDK from the intuits website and connected the Quickbooks with my SDK. Now, i am stuck at creating a service which can connect with my QB POS.
– Shwetima Gupta
Nov 14 at 12:26




I am using C# programming language. I have installed SDK from the intuits website and connected the Quickbooks with my SDK. Now, i am stuck at creating a service which can connect with my QB POS.
– Shwetima Gupta
Nov 14 at 12:26












What have you tried so far? Post your code. Post what you've done so far.
– Keith Palmer Jr.
Nov 14 at 13:33




What have you tried so far? Post your code. Post what you've done so far.
– Keith Palmer Jr.
Nov 14 at 13:33












I am using QBPOS SDK, in the step 3 when i click begin session it says couldnot connect to database. What database is it talking about? Currently i am using the sample code that comes with the SDK, i am using QWCPOSWebService code. Code is : public string sendRequestXML(string ticket, string strHCPResponse, string strCompanyFileName, string qbXMLCountry, int qbXMLMajorVers, int qbXMLMinorVers) { From where i will get the parameter values?
– Shwetima Gupta
Nov 16 at 8:35






I am using QBPOS SDK, in the step 3 when i click begin session it says couldnot connect to database. What database is it talking about? Currently i am using the sample code that comes with the SDK, i am using QWCPOSWebService code. Code is : public string sendRequestXML(string ticket, string strHCPResponse, string strCompanyFileName, string qbXMLCountry, int qbXMLMajorVers, int qbXMLMinorVers) { From where i will get the parameter values?
– Shwetima Gupta
Nov 16 at 8:35














Please help me out with how can i connect QBPOS with my code.
– Shwetima Gupta
Nov 16 at 8:52




Please help me out with how can i connect QBPOS with my code.
– Shwetima Gupta
Nov 16 at 8:52

















active

oldest

votes











Your Answer






StackExchange.ifUsing("editor", function () {
StackExchange.using("externalEditor", function () {
StackExchange.using("snippets", function () {
StackExchange.snippets.init();
});
});
}, "code-snippets");

StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "1"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53262438%2fquickbooks-desktop-integration%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown






























active

oldest

votes













active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Stack Overflow!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.





Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


Please pay close attention to the following guidance:


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53262438%2fquickbooks-desktop-integration%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

Guess what letter conforming each word

Port of Spain

Run scheduled task as local user group (not BUILTIN)