问题
I need to create simple query which will show all contracts which will expire in next 3 months. I know how to do that with SQL, but how to do that in Visual Studio when I create query. I added data source Contract table. Added range. Column where is date about expiring is VALIDTO. So, something to write up in value, or how to do that ?
回答1:
Solved with two ranges on VALIDTO column. Used (MonthRange(0,3)) with (Day(0)) formulas.
来源:https://stackoverflow.com/questions/56889905/d365-fo-passing-date-range-in-query