Author Topic: Plug-in connection with Quickbooks  (Read 1159 times)

Ben Soetemans

  • Member
  • *
  • Posts: 2
Plug-in connection with Quickbooks
« on: March 04, 2014, 01:52:48 PM »
http://www.productivecomputing.com/video/?p=447

If you watch the movie, when you want to add a new customer , do you always need to repeat al the different steps by each custumor, or is this only once.


Kind regards

Ben

Geoffrey Gerhard

  • Guru
  • Member
  • ****
  • Posts: 470
Re: Plug-in connection with Quickbooks
« Reply #1 on: March 04, 2014, 02:20:34 PM »
The BeginSession and EndSession arguments can be called in separate scripts. The value in doing comes from a decrease in the time it takes to complete multiple Requests. The down side for a small set of QB users is that its API supports only one external app's connection at a time (unless that has changed recently) and therefor other external apps are "locked out" until the EndSession is called.

You can also omit some of the detail (like BillingAddr values) if you'd like.

HTH!

Geoffrey Gerhard
Creative Solutions Incorporated
14000 Creekside Drive
Matthews, NC  28105
704) 814-6852

Ben Soetemans

  • Member
  • *
  • Posts: 2
Re: Plug-in connection with Quickbooks
« Reply #2 on: March 04, 2014, 02:29:15 PM »
So you always need to do these steps by every custumor?

Thank you for helping


Ben

Chris Turner

  • Administrator
  • Member
  • *****
  • Posts: 28
    • Productive Computing, Inc.
Re: Plug-in connection with Quickbooks
« Reply #3 on: March 04, 2014, 03:19:28 PM »
Hi Ben,

The short of it is yes, you would need to do these steps for every customer. As Geoffrey has pointed out, you can separate the actual PCQB_BeginSession and PCQB_EndSession calls into separate scripts, so that you begin a session, push X number of customers, and then end that session. Or you could begin and end a session with each and every customer. Either will do, and there are pro's and con's for both methods.

Also as Geoffrey has pointed out, you can omit data that isn't required, such as shipping addresses or billing addresses, in order to make your requests smaller. That really depends on the amount of detail you want to keep for a customer in both FileMaker and QuickBooks.
Chris Turner
Product Support Specialist
Productive Computing, Inc.