Using the Quickbooks ruby gem how do I return invoices by customer_ref? -


I should ask invoice by customer_ref I have tried:

  invoice = service.query ("Choose from * invoice where customer_ref = 75")  

but it returns only:

  Quickbooks :: IntuitRequestException: error parsing query: queryparser error: "& Lt; integer & gt;" on line 1, column 44 75 "" expected. One was hoping for: "wrong" ... "right". ..  

How can I return invoices by customer_ref?

OK .. I answer other people with a link to answer my own question I'm going to help if they stumble in similar problems See the advanced SQL query page provided by Intuit:

  Invoice = service.query ("Select from invoice * CustomerRef = '75' ") *  

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -