TL Rule Development Issue - Cannot locate record definition
Hi All,
I'm trying to build a rule which grants CTO (in addition) when an employee reports time worked on a holiday. I started with TEMPLATE010, but added a couple of SQL objects to populate TL_WRK17 with the user's holidays. I modded a copy of TMPL010_S102 to try and get TL_IPT1_TMP populated only with the holiday DURs instead of all DURs in the reporting period. During testing however, I keep getting an error: INSERTSELECT: Cannot locate record definition (-1,-1).
I thought I was missing a reference or a join somewhere, but I can't seem to see where. My SQL is below. Is anyone willing to be a second set of eyes on this? I've verified that TL_WRK174 is populated with the data, so I know my previous steps are working.