For more information, please refer to this announcement explaining best practices for getting answers to questions.
HCM Extract for assignment changes only generating previous sequenced row
Summary:
I've created a HCM Extract that pulls assignment details for employees, including past, present, and future assignments. The only filtering criterion I use is the assignment type. The key attributes for each record are the assignment ID, the effective sequence, and the assignment start date. The script works well in most cases, but there's an issue when multiple changes occur on the same day, leading to an increment in the effective sequence.
Specifically, when the effective sequence increments on the same assignment start date, the data output for the old action shows 'PAY' instead of 'HIRE', which is inconsistent with what I see in the front-end system. The front-end correctly shows 'HIRE' for the first effective sequence, but the extract is generating 'PAY' for the same sequence when multiple changes occur on the same day.