XeroAPI.Net icon indicating copy to clipboard operation
XeroAPI.Net copied to clipboard

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

Open brightmohan opened this issue 11 years ago • 0 comments

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.

brightmohan avatar Aug 28 '13 01:08 brightmohan