PayrollElementDetails.dat and PayrollElementDefinition.dat issue
Summary
PayrollElementDetails.dat and PayrollElementDefinition.dat issueContent
Hi experts,
I was requested to come up with an HDL to automate loading a complete payroll element definition into the system. A completed means element definition itself + input values + element eligibility.
I figured out that it's possible with a combination of PayrollElementDetails.dat and PayrollElementDefinition.dat
Our integration tool generates a zip file with two mentioned HDL files inside and puts it to the content server and lunches the HDL web service to initiate HDL files load.
The challenge is that after the PayrollElementDetails.dat finishes system submits a post-process "Create Element from Element Template" that creates payroll elements. So it takes some time but the second PayrollElementDefinition.dat lunches right after the first one finished and it fails because elements are not yet created. PayrollElementDefinition.dat supports only update, delete operations.