Modifying DDP/PAY003 to print Primary jobtitle on checks/advice
Hello,
I am trying to modify DDP003 and PAY003 to print a users primary job title on checks/advice. Upon first look it appears fairly simple yet I am not seeing the results I had expected, hoping someone here can point out what I am missing.
I modified the Get-Ee-Job-Data procedure and added the J.JOB_INDICATOR to the select, then added this piece of logic to the procedure in order to grab the primary job title after the Get-Job-Title process runs
do Get-Job-Title
if &J.JOB_INDICATOR = 'P'
let $primaryJobTitle = $JobTitle
end-if
Then later on down the file when we are assigning the XMLTAG for job_title I changed the $JobTitle variable to $primaryJobTitle