Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Contact person details get incorrectly removed from Xero contact records when CiviXero Contact Push Job runs #89

Open
Upperholme opened this issue Jan 5, 2022 · 2 comments

Comments

@Upperholme
Copy link

The site in question sends invoices -generated in Civi - to organisations and individuals. The invoice data gets pushed to Xero as expected. Our finance administrator reviews the draft and sends the invoice to the client from Xero. In the case of client organisations, the administrator makes use of the contact person fields in Xero to record the name of the billing contact and this gets used in the email and subsequent reminders, etc that Xero produces.

If a change is made to the email address for the organisation record in CiviCRM, this change gets pushed to the Xero record, where the email address field for the contact person gets overwritten with the new email address. At the same time, any data stored in the first name and last name fields in Xero for the contact person gets removed. This should not happen.

As there is no obvious way to hold this contact person's name data in the Civi organisation record, and therefore no apparent mapping to the fields in Xero, the fields should not be touched or overwritten by a CiviXero Contact Push Job.

In the case of a change of email address, the change is logged in Xero. But the overwriting of the name fields is not explicitly logged in Xero. Consequently the name data data is lost.

It's not clear to me - I'm not a developer - whether this is a bug in the CiviXero code or in Xero, but either way it should not be happening.

@Upperholme
Copy link
Author

I would love to get this addressed and resolved in a sensible way. If anyone would be willing to look at it and come back to me with a proposal I'll see if I can find funding for the work.

@eileenmcnaughton
Copy link
Owner

My current focus is trying to drive donations to this page - https://givealittle.co.nz/cause/help-liz-fight-cancer so if you are able to donate over there I will at least spend some time diagnosing tomorrow & see what might be involved

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants