Hi All,
We have a requirement to expose an odata entity which will expose the Purchase Orders with Invoiced and Received status. And if the purchase order is in Invoiced status, it should expose the records that are invoiced after -10 days from the current date.
Created a data entity with PurchTable as a datasource and added range for the PurchStatus field with (Invoiced OR Received) values.
Added VendInvoiceJour as child datasource and added range for the InvoiceDate field with (GreaterThanDate(-10)) value.
The issue is when we use the join type as 'Inner Join', it exposes the Invoiced purchase orders with proper date range but it ignores the 'Received' purchase orders. And if the join type is 'Outer join', it ignores the date range and exposes all the invoiced and received purchase orders.
Could anyone share info on how this can be handled.
Thanks!

Report
All responses (
Answers (