Users may encounter an error when creating an Expense Report for an employee who is expected to be active in NetSuite. This issue can occur even if the employee record appears valid at first glance. The article below explains the cause of the issue and the steps taken to resolve it.
Scenario
When attempting to create an Expense Report for an employee, the following error message appears:
“You cannot create an Expense report for a terminated employee.”
Investigation
Testing confirmed that Expense Report creation was successful for other active employees. However, when attempting to create an Expense Report for the affected employee, the system returned the error indicating that the employee was inactive or terminated.
A comparison of employee records revealed that the affected employee record did not have a value populated in the Hire Date field.
Because the Hire Date field was blank, NetSuite was unable to recognize the employee as active, which prevented the creation of the Expense Report.
Solution
To resolve the issue:
- Navigate to the affected Employee Record.
- Edit the employee record.
- Populate the Hire Date field with any valid past date.
- Save the employee record.
- Create a new Expense Report for the employee.
Result
After populating the Hire Date field, the Expense Report was created successfully without any errors.
Related SuiteAnswer: 1019557 | Resolve Error: "You Cannot Create an Expense Report for a Terminated Employee." When an Active Employee Creates Expense Report