Sample (which sample are you having trouble with)
powerplatform-samples/samples
/weekly-timesheet-sharepoint
Authors
@aprildunnam
Expected or Desired Behavior
- When I submit my saved timesheet, manager details should be updated while submitting the record.
Observed Behavior
- Manager details are updated only when I click on "Submit" in my New Timesheet. If I save the timesheet and then come back and submit, Employee and Manager details remain the same.
Steps to Reproduce
- Create New Timesheet.
- Add hours in appropriate days.
- Click "Save" to save the timesheet.
- From home page click on "My Timesheets", open the timesheet that is pending for submission (just saved)
- Click on Submit.
- Open TimeEntries SharePoint list, view the record that you just submitted.
- Status will be "Submitted for Approval", Employee and Manager details will be same.
Additional context
- Save and Submit button code in the "My Applications" page contains the same code, submit button code should look for Manager's details instead of current user