Plan: Available: All plans
Users: Not Available: All users Available: FYI Admins or User Group permissions
Practice Management Source: Available: All sources
Issue
For practices integrated with Xero Practice Manager, when I change the Job State in the Update Job drawer FYI, the following error is displayed in Practice Activity:
- Error exporting job state - Invalid state code.
If creating a new job, the job will be synchronised to XPM using the default Job State selected in the XPM Practice Settings.
Cause
This issue can be caused by the following:
- The Job State has been deleted in Xero Practice Manager, but is still available in FYI.
- The Job State's name has been changed in Xero Practice Manager, and the change has not yet synced to FYI.
Solution
Compare FYI with Xero Practice Manager to confirm if the Job State exists in XPM and the name is the same.
- If the Job State has been deleted from Xero Practice Manager, the Job State will be archived in FYI during the next job sync with XPM. A different Job State must be selected.
- If the Job State name has changed, run a manual Job sync to update the Job State in FYI. Once the Job State displays the new name, retry updating the job to use the updated Job State.
Refer also to Renaming a Job State and Archiving a Job State in Job States Overview.