Query to retrieve Latest payroll Relationship Number
Summary
Query to retrieve Latest payroll Relationship NumberContent
Hi ,
I am working on a Update Element Entry PBL file and needing to pass Payroll Relationship number for my element which is at Payroll Relationship level.
To pass this number I aim looking to find a query to retrieve latest payroll relationship number.
I could find them in pay_pay_relationships_dn table but the end date column in this table is same (4712/12/31) for the two rows that are in the table for a given person id.
I could see from the application front end that the element entry is tied to a relationship number "xxxx-1" where xxxx is the person number.