Hi - I'm trying to filter a grid that is bound to child tables using .Include() and .IncludeNext() and having no luck. I keep getting the error below - any help would be appreciated, I tried just about everything including gathering up all the SerialNumbers at a higher level but that was flakey code and causing a performance degradation.
Message"Invalid property or field - 'SerialNumber' for type: Invoice"string
Here's my data load statement:
invoices = from inv in _context.Invoices.Include(i => i.ShippingAddress).Include(i => i.InvoiceLines).ThenInclude(s => s.SerialNumbers)
where orgIds.Contains(inv.OwnedBy_Id) select inv;
And my filters: