QB::InvoiceLine.query_xsd returns nil
Reported by Steven Price | July 27th, 2009 @ 05:08 PM | in 2.0 - "Ambidextrous Octopus"
I am having a problem with querying the QB::InvoiceLine on an invoice. The write_xsd works but the query_xsd returns nil.
Comments and changes to this ticket
-
Steven Price July 27th, 2009 @ 05:08 PM
- Tag set to bug
-
Daniel Parker July 27th, 2009 @ 08:58 PM
- Tag cleared.
- State changed from new to invalid
There is a query option on Invoices (and some other objects), IncludeLineItems. Combine it with your other query filters - use it like this:
QB::Invoice.all(:IncludeLinkedTxns => true) QB::Invoice.first(:ListID => ['...'], :IncludeLinkedTxns => true)
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป