I set up a query in our Development Environment to query the Sales Invoice Line table and get two columns. I would like to filter on, but not return, the Shipment Date column, so I set that as a Filter.
I then connected this to Web Services (oData) and tried to run a query using this filter:
(ShipmentDate ge datetime'2018-03-01T00:00:00Z' and ShipmentDate le datetime'2018-03-01T23:59:59Z')
Unfortunately it returns the following error:
Type 'NAV.WS_GetSalesInvoiceLinesTotals' does not have a property 'ShipmentDate'.
How can I use oData to filter on that column? Is there some other way to reference it? The query in Development Environment looks like this:
| Type |
Data Source |
Name |
Method Type |
Method |
Group By |
| DataItem |
Sales Invoice Line |
GetSalesInvoiceLinesTotals |
|
|
|
| Column |
No. |
ItemNumber |
None |
|
(checked) |
| Column |
Quantity |
Quantity |
Totals |
Sum |
|
| Filter |
Shipment Date |
ShipmentDate |
|
|
|
Thanks in advance!
*This post is locked for comments
I have the same question (0)