josearturoramirez
Programmer
Hi, look at this case....
I have table with employees, accruals types and other where all accruals earned/used/expired is stores. My goal is this:
Group #1 EmployeeName
\
Group #2 Acrual Type + (Balance to date1) (*a)
\
Group #3 Startin accruals balance (since date1) (*b)
\
(*c) [Details of all transactions of this accrual type]
/
Group #3 Endnig accruals balance (to date2)
/
Group #2 Acrual Type + (Balance to date2) (*d)
*a: Balance to date is the sum of all balance accrued until date1.
*b: Starting Acruall means the amount of the first accrual transaction after date1
*c: Show s all accrual transaction during date1 and date2
*d: Balance to date in this case should use the same formula than *a, but until date2.
I almost get this goal, but i found a problem with a repeatring records in details...
I have table with employees, accruals types and other where all accruals earned/used/expired is stores. My goal is this:
Group #1 EmployeeName
\
Group #2 Acrual Type + (Balance to date1) (*a)
\
Group #3 Startin accruals balance (since date1) (*b)
\
(*c) [Details of all transactions of this accrual type]
/
Group #3 Endnig accruals balance (to date2)
/
Group #2 Acrual Type + (Balance to date2) (*d)
*a: Balance to date is the sum of all balance accrued until date1.
*b: Starting Acruall means the amount of the first accrual transaction after date1
*c: Show s all accrual transaction during date1 and date2
*d: Balance to date in this case should use the same formula than *a, but until date2.
I almost get this goal, but i found a problem with a repeatring records in details...