Formula Compile error - 'database item or local variable PAYROLL_ASSIGNMENT_ID used as a context'
Summary:
I need to pull the Assignment status type ID from Payroll access to HR formula and use that Assignment status type ID in my Element skip formula to check on conditions of the status.
I referred the DOC IDs Doc ID 2020211.1 and Doc ID 2534633.1 in MOS and found the same code as below. But when I use RUN_INCLUDED_PAYROLL_ASGS DBI, am getting 'database item or local variable PAYROLL_ASSIGNMENT_ID used as a context' compilation error in element skip formula.
Could anyone let me know what is missing here which is not allowing me the same code to be not used?
0