In this article, we will explain why you may encounter a field ‘Code’ error when syncing a Purchase Order (PO) to Xero, and how to resolve it.
When syncing POs from MeasureSquare CRM to Xero, the sync may fail if duplicate product codes exist in your Xero account. Each product code in Xero must be unique — if the system finds more than one product with the same code, it cannot determine which record to update, and the sync will fail with a field ‘Code’ error.