Xero sync bugfix - Change how Xero Export errors (Super membership XXXXXXXXX is being referenced and can't be deleted) are handled by the system
Clients with Xero connections active would receive this error message: Xero Export errors (Super membership XXXXXXXXX is being reference and can't be deleted) intermittently.
This prevented these select employees from being exported to Xero.
In finding the solution to this issue, we identified an existing bug on Xero's side where Xero keeps changing the unique ID for a superfund membership when a membership is added. Because of this, our copy of the superfund membership is stale.
Provided we have experience with Xero on their turn-around for bugfixes on their end. We worked on a solution that would handle these cases that cause this error.
New validations (dev notes):
We preemptively check for references within the Xero Payload. We check if the SuperMembership value is referenced in either of the below:
We check the Xero API values SuperMembershipID or uniqueSuperFundId when determining equivalence between enableHR and Xero.
Have more questions? Submit a request