Skip to content
This repository has been archived by the owner on Nov 10, 2020. It is now read-only.

The method 'Except' can't currently be used in a XeroApi WHERE querystring. #37

Open
brightmohan opened this issue Aug 28, 2013 · 0 comments

Comments

@brightmohan
Copy link

Dim ListOfExistingInvoices_Typed As New List(Of Invoice)

inv As New Invoice
inv.InvoiceID = New Guid("fcbfd7b5-9d45-4e0a-8156-d7acc6462767")

inv2 As New Invoice
inv2.InvoiceID = New Guid("9f7b0d52-7096-4101-9a64-ead1ac536306")

ListOfExistingInvoices_Typed.Add(inv)
ListOfExistingInvoices_Typed.Add(inv2)

    For Each arInvoice As Invoice In notArInvoices.Except(ListOfExistingInvoices_Typed)
        Console.WriteLine("Invoice {0} is at status {1}", arInvoice.InvoiceID, arInvoice.InvoiceNumber)
    Next

I get the following error:
The method 'Except' can't currently be used in a XeroApi WHERE querystring.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant