Plug-ins > FM Books Connector Online

Code: -990 Ids service endpoint was not found

(1/2) > >>

skhan20:
Hi all, new to the Productive computing plugin line, although a familiar with FileMaker...
I am getting the Ids Service endpoint was not found error message when I attempt to create an invoice using the plugin.

I am able to successfully sync Customers, and update their information, however I get the message above whenever I try to sync an invoice.

The script searches for active clients, filters their service times, and then loops and nested loops through the records to sum up the line items and transfer each per a single invoice, with multiple line items. I can't upload a copy of the file, or copy paste the script here.. (not sure why it wont let me paste) but I am going to simplify the script below:

PCQO_RqNew("Create" ; "Invoice")
PCQO_RqAddFieldWithValue ("CustomerRef::Value" ; $id)
PCQO_RqAddFieldWithValue ("DueDate" ; Get(CurrentDate)
#prep Line Items
Loop
 Set Variables ...
 ...
 ...
PCQO_RqAddRelatedRecord ("Line")
PCQO_RqAddFieldWithValue ("Description" ; $descr)
PCQO_RqAddFieldWithValue ("Amount" ; $amount)
PCQO_RqAddRelatedRecord ("SalesItemLineDetail")
PCQO_RqAddFieldWithValue ("UnitPrice" ; $unit)
PCQO_RqAddFieldWithValue ("ItemRef::name" ; $name)
PCQO_RqAddFieldWithValue ("Qty" ; $qty)
PCQO_RqCloseRelatedRecord
PCQO_RqCloseRelatedRecord
Exit Loop if (calc to exit)
Go To Record (By Calc)
End Loop

PCQO_RqExecute


For my test, I had 3 iterations of the loop, to define 3 line items. After which I execute the process and receive the error.

Any thoughts?

Thanks in advance.

Geoffrey Gerhard:
Intuit's ESR shows ItemRef before Unit Price. I haven't tested what happens if you try to pass an element to QB Online in a different order than is documented in the ESR, but wouldn't be surprised if that's the source of the error you're seeing.

HTH!

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

skhan20:
Thanks Geoffrey, I am going to check it out later today.

-S

skhan20:
By Adding the ItemRef to UnitPrice, an error on the execution of that single step creates the following message:

Error setting the field data

CODE: -990

SEVERITY: Exception

MESSAGE: Object reference not set to an instance of an object.

SOURCE: FMBooksOnline.fmx

Geoffrey Gerhard:
I'm not sure what you mean by "By Adding the ItemRef to UnitPrice". I'm thinking the problem might be resolved by changing the order of execution to this...

PCQO_RqAddRelatedRecord ("SalesItemLineDetail")
PCQO_RqAddFieldWithValue ("ItemRef::name" ; $name)
PCQO_RqAddFieldWithValue ("UnitPrice" ; $unit)

Is that what you tried?

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

Navigation

[0] Message Index

[#] Next page

Go to full version