09-14-2020 05:51 AM
How to check if time period is the last month in a quarter in the Business Rule?
Thanks in advance.
Yan Savinsky
10-10-2021 11:18 PM
Hello Yan,
There is no direct api to check for this (although there is one to check IsLastPeriodInYear), but the following line of code will work:
If api.Time.GetPeriodNumFromId(optional TimeID) Mod 3 = 0 Then