SCENARIO:
Updating the Employee record to add or update the Supervisor field returns a notice saying: “Unable to set up approval queues for the expense report with id = XX. Please set expense approval chain related fields correctly.”.
The notice shows that there is an Expense Report that is stuck in the Pending Approval queue that needs to be approved first before the system allows any update in the Employee records’ Supervisor or Expense Approver field.
SOLUTION:
Navigate to Lists > Search > Saved Searches > New
2. Click Transaction
3. Search Title: Enter Title
4. Click Criteria
5. Click Standard
6. Filter:
• Select Type
1. Type: Select Expense Report
2. Click Set
• Select Internal ID
1. Internal ID: any (Internal ID of expense report in question which appear)
2. Click Set
7. Click Preview
8. From the list of Saved Search results, click on View link (this will lead to the Expense Report record)
9. Click on Approve button (for Supervisor Approval) and click again Approve button (for Accounting Approval)
Once this is done, proceed in updating the Supervisor or Expense Approver of the Employee record/s.