Skip to content
This repository was archived by the owner on Nov 10, 2020. It is now read-only.
This repository was 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

@brightmohan

Description

@brightmohan

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions