June 2016
Intermediate to advanced
388 pages
5h 49m
English
In this recipe, you'll create three factors (Day, Holiday, and NonWorkingDay). The factor Day will return name of the day based on sysdate. The factor Holiday will return TRUE if it is a company nonworking holiday (for example, 1-JAN, 4-JUL, and 15-NOV) and FALSE otherwise. The factor NonWorkingDay will return whether it's a nonworking day (NO, WEEKEND, and COMPANY_HOLIDAY). We'll assume that a day is a nonworking day if it is a weekend or a company nonworking holiday (in case it is both weekend and holiday, it should resolve it to COMPANY_HOLIDAY).
It is assumed that:
Read now
Unlock full access