This error is encountered if the Department used on the transaction is inactive (XXX refers to the Internal ID of the Department). To resolve, user can activate the Department or change the department used on the transaction.
To activate the Department:
1. Navigate to Setup > Company > Departments
2. Put a check mark on the Show Inactives box.
3. Locate the Internal ID of the Department.
4. Remove the check mark on the Inactive column.
5. Click Submit.