August 15, 20187 yr Hi, Hoping someone and provide some guidance. I have been running version 1.0.1.5 of QBO for a number of years without issue. I have just update the plugin to the latest version 2.0.4.0 and something has changed which isn't working with my PCQO scripts. The following error is occurring when try to execute the Invoice upload command: Error executing request CODE: 2010 SEVERITY: ValidationFault MESSAGE: Request has invalid or unsupported property Property Name:Can not construct instance of com.intuit.schema.finance.v3.LineDetailTypeEnum from String value ("Service"): value not one of declared Enum instance names: [JournalEntryLineDetail, DepositLineDetail, SalesItemLineDetail, PurchaseOrderItemLineDetail, DiscountLineDetail, TDSLineDetail, SubTotalLineDetail, ItemReceiptLineDetail, PaymentLineDetail, TaxLineDetail, AccountBasedExpenseLineDetail, SalesOrderItemLineDetail, ItemBasedExpenseLineDetail, GroupLineDetail, DescriptionOnly] specified is unsupported or invalid SOURCE: PCQO_RqExecute Running Debugger stops at the Execute invoice upload line with the above error, and as the error states. I have been through the Demo file to try and see if there are any new commands, or to see if any of the PCQO_ commands have changed. But unable to find any differences. I have attached a PDF of the script I think is failing. If anyone can see where my script is incompatible with the new plugin I would be eternally greatful. Many Thanks, Brandan Script.pdf
August 15, 20187 yr Author I found the problem ! It was this line: Set Variable [ $$Result ; Value:PCQO_RqAddFieldWithValue( "DetailType" ; "Service" ) ] Needs to be: Set Variable [ $$Result ; Value:PCQO_RqAddFieldWithValue( "DetailType" ; "SalesItemLineDetail" ) ] Looks like 'Service' no longer works. I'm very happy
August 15, 20187 yr Hello, Happy to hear you were able to figure out the issue. With version 2 of FM Books Online, the API actually changed. You can refer to this link to review the current API: https://developer.intuit.com/docs/api/ Feel free to contacts us if you have any future questions. Have a good day! Best Regards, -Quincy
Create an account or sign in to comment