Author Topic: FM Books Connector Registration Clarity  (Read 2741 times)

Daniel

  • Member
  • *
  • Posts: 11
FM Books Connector Registration Clarity
« on: May 20, 2013, 01:46:20 PM »
I'm reading through the developer's guide and understand the benefits of hard-coding the registration information (Server Name, Port, Page, and License ID).  However, I'm confused how often I need to do this.  It seems like I should only have to register the plugin once.  But the developer's guide seems to suggest I register the plugin before every script using the plugin.  Is that correct?

Braedon Vogel

  • Global Moderator
  • Member
  • *****
  • Posts: 2
Re: FM Books Connector Registration Clarity
« Reply #1 on: May 28, 2013, 02:54:33 PM »
Hi Daniel,

You will only need to register the plug-in once per client machine. The "plug-in checker" script as suggested in the documentation is simply a means of catching connection errors to QuickBooks. It should only attempt to register via PCQB_Register if PCQB_GetOperatingMode is not equal to "LIVE" ("LIVE" means it has been registered). It is good practice to include this script before any script that uses FM Books functions in the event that a client tries to run the script without having the plugin installed or registered on their machine.

It is important to note however that any request to QuickBooks should begin with the PCQB_BeginSession function. This is necessary in order to initiate a conversation with QuickBooks which should be finalized with the PCQB_EndSession function any time you need to communicate with QuickBooks.

spartacus258

  • Member
  • *
  • Posts: 1
Re: FM Books Connector Registration Clarity
« Reply #2 on: July 10, 2013, 05:16:56 AM »
useful information
Cand o femeie cumpara pantofi dama sau sandale dama va cumpara intotdeauna si 2 rochii de seara