Add UDF to Payroll Earnings Report Selection Criteria

SOLVED

Hello,

I have been asked to add the Labor Code to the Payroll Earnings report selection grid under Employee Last Name and have this field filter the report.  I was able to add a UDF to the selection grid and the Earnings report work table.  However, I am not sure how to link them together.

I am new to scripting in Sage 100 and know this may be required to accomplish this task.  Any advice or guidance would be very appreciated.

Thanks,

Brian