D365 FO Simple Query for expiring contract

微笑、不失礼 提交于 2019-12-11 15:51:25

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!