Repository navigation
Report PI payroll on FTE line 241 instead of 242 - #136
Conversation
v_TransactionSfn moves a UCPath row from FTE line 242 to 241 when the employee is the PI of record on any project in the cycle project list. This brings back last year's sp_Adjust241FTE without the self certify title code list. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
GET /api/autoassociations/pi-fte-adjustments lists expense summary rows on FTE line 241 whose title's staff type line is 242, grouped by employee and job code. Review only. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A review only tab after FTE over 1.0 lists the PI payroll reported on FTE line 241 instead of 242, by employee and job code, with CSV export. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
The list shows a PI's 242 payroll on every fund, so the note no longer says all of it is prorated. Also state the reference data assumption in the report query comment. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
Important
This repository does not receive automatic reviews because it has fewer than 10 stars.
|
sprucely
left a comment
There was a problem hiding this comment.
There's a possible improvement you could make to the note on the pi-fte tab. Otherwise, looks good.
| { | ||
| id: 'pi-fte', | ||
| label: 'PI FTE to 241', | ||
| note: 'PIs whose title puts their payroll on FTE line 242 (Professional Support). It is reported on 241 (Scientist) instead. Any State Appropriations (13U02) payroll they have can then be prorated across their projects. Review only.', |
There was a problem hiding this comment.
[P3] Clarify which payroll qualifies for proration
A PI can appear here for one job while their 13U02 payroll from a second job stays on line 243. A PI whose only project is excluded also appears. The note currently says any 13U02 payroll they have can be prorated. A more precise sentence would be “Rule 220 prorates adjusted 13U02 payroll across the PI’s eligible projects.” Update the route test that asserts the current wording.
There was a problem hiding this comment.
Updated in 3638cc6. The note now reads "Rule 220 prorates the adjusted State Appropriations (13U02) payroll across the PI's eligible projects." I kept the fund name alongside 13U02 so it still appears for users. The route test asserts the new wording.
The note said any 13U02 payroll a listed PI has can be prorated. A second job on another FTE line is not prorated, and a PI whose only project is excluded has no project to prorate across. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Summary
Last year's process ran
sp_Adjust241FTEto move PI payroll from FTE line 242 (Professional Support) to 241 (Scientist). This brings that rule into the app, without the self certify title code list.v_TransactionSfnnow reports FTE line 241 when a UCPath row's title puts it on 242 and the employee is the PI on a project indata.ProjectsPI FTE to 241 tab
A new tab on Auto-Associations, after FTE over 1.0, lists what moved. It is review only, with no action to take.
GET /api/autoassociations/pi-fte-adjustmentsNothing is stored to mark a moved row. The list is the
data.ExpenseSummaryrows on line 241 whose title's staff type is on 242. That holds as long as Titles and StaffTypes have not changed since the build.Notes for review
Testing
dotnet test app.sln: 612 passed, including new SQL integration tests for the view, the build and the report querynpm testinclient: 235 passed, with typecheck and lint clean🤖 Generated with Claude Code