Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Retrieve QBD Invoices by Customer ID
- //Documentation: http://goo.gl/daiyz
- InvoiceQuery invoiceQuery = new InvoiceQuery();
- IdType[] customerIdType = new IdType[] { new IdType() { idDomain = idDomainEnum.QB, Value = "792" } };
- invoiceQuery.Item1 = new IdSet() { Id = customerIdType };
- invoiceQuery.Item1ElementName = Item1ChoiceType4.ContactIdSet;
- List<Intuit.Ipp.Data.Qbd.Invoice> invoicesByCustomer = invoiceQuery.ExecuteQuery<Intuit.Ipp.Data.Qbd.Invoice>(context).ToList();
Advertisement
Add Comment
Please, Sign In to add comment