$expand filter is not working for F&O ODATA for SalesInvoice
Hi,
As Layan mentioned it is not due to a trial account.
I now created copies of the invoice entities and checked my comments below. It is indeed as I can remember. I got it working when the entity key on the header was reduced to 1 field that matched the field name on the entity relation from the line entity to the header.
$expand filter is not working for F&O ODATA for SalesInvoice
Hi Community member,
it's not because of the trial account. I just tried it myself and i got the same behaviour. It worked for sales orders but it didn't work for SalesInvoiceV2Lines.
I will need to Investigate when I have the time and get back to you
$expand filter is not working for F&O ODATA for SalesInvoice
Hi,
It isn't an issue with the $expand filter. I think it is an issue with the entity key on the invoice header. This now has three fields where the relation on the invoice lines only has the InvoiceNumber field.
I have seen this on another entity before and at that time created copies of the entities having only one field on the entity key of the header, where the relation on the line was also matching the same field.
$expand filter is not working for F&O ODATA for SalesInvoice
I don't know if it makes any difference, but I don't think you should be using SalesInvoiceV2Lines. This entity is deprecated and replaced with SalesInvoiceV3Lines.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.