LAST_PAY_NUMBER
From P2K_HR_EMPLOYMENTS, this is a system controlled field that identifies the last pay number for this employee. This field is not used to determine the next pay number on the P2K_PR_PAY_HEADERS. That is determined by evaluating the highest pay number in the database.