BI Publisher - Obtain YTD / accumulated balances via SQL
Greetings,
We are trying to pull custom balance totals via a SQL query in BI publisher. So far, we have been able to obtain individual run results but cannot pull the total balance. We are able to see the accumulated balance via Payroll UI.
Has anyone done this before or provide some direction to the tables the balances are stored in? Here is the query we have currently been using:
SELECT DISTINCT
papf.person_number PERSONNUMBER
,ppnf.first_name FIRSTNAME
,ppnf.middle_names MIDDLENAME
,ppnf.last_name LASTNAME
,pbtt.balance_name BALANCENAME
,ppa.date_earned PERIODENDDATE
,ppa.effective_date CHECKDATE
Tagged:
0