Question

The record cannot be synced because it does not exist in the external system


Userlevel 3
Badge

I’ve had this issue for exactly a month now. Items randomly fall into this error status of “The record cannot be synced because it does not exist in the external system”. All of these also have the characteristic of being a Status = Deleted. The item itself isn’t deleted but the Sync History record is. See this video which shows that when I try to update the status and sync the item, it automatically falls back into the status of Deleted:

 

We’ve been manually updating our inventory in Shopify, among other manual updates due to bugs. It’s very labor intensive and we’re going into our busy season. We migrated to Acumatica due to the integration with Shopify, but it’s not working out so great. Please help!  

 

 


12 replies

Userlevel 3
Badge

Hi there! We have had the same issue. How I have resolved it in the past was to edit the product and deleted the external ID out of Acumatica. 

To the best of my understanding, if you delete an item out of shopify after it’s been synced, and try to recreate it, acumatica is trying to hit an endpoint that doesn’t exist so it won’t work. Unfortunately the delete button does not actually delete the link to the old page. 

It’s not great, but you have to select an item one at a time, click the three dots, and then select edit. Then it will pull up this screen:

Delete out the external ID and leave the need to sync box checked. It should work after that.

If someone has a way to do it in bulk that would be nice to know, but we have fixed these one at a time in the past.

Userlevel 3
Badge

Secondary thought - I’m not sure, but I would guess that fixing only the stock items should cascade to fix the product availability without having to do both. Let me know if you end up testing that out!

Userlevel 1

Hi @lawsont, this behavior might happen depending on some scenarios. If we have “Deleted” status with “Local Delete” as Last Operation then it might indicate that there are ids mismatch. This could happen due to some reasons, such as customizations or entity mapping, which would require further investigation. Most probably once you fix the issue with Stock Item, then Product Availability should sync as well.

  1. Could you please check the status of the column “Last Operation” in Sync History (BC301000)?
  2. What version are you using? 
  3. Could you please provide what is the product availability mode?

To the best of my understanding, if you delete an item out of shopify after it’s been synced, and try to recreate it, acumatica is trying to hit an endpoint that doesn’t exist so it won’t work.

 

@jfarrell, it should still adjust its external value to the new created product even if you sync an item, delete in Shopify, and try to sync again. This happens because when we try to get external item with old deleted ID then Shopify returns null. The ERP behavior should be the same as if you edit the sync status and delete the externID.

 

Unfortunately the delete button does not actually delete the link to the old page. 

@jfarrell, could you please provide some more information regarding this? technically once we delete the sync status and save in Sync History (BC301000), then the processing should work as a new sync. It will not save old ID. For example, there are new sync IDs used.

Userlevel 3
Badge

hey @gabrielpaz86! that’s been my experience with the acumatica delete button on the commerce sync page. it doesn’t remove the link to the old item and we get the same error from the original post on this thread. the only way i got it to work was going into the items as I described. I’m not really sure how to explain that differently - can you be specific about what you want more information on?

Userlevel 1

@jfarrell, sure. Could you please provide the steps to reproduce such scenario (if it is an issue)? I couldn’t reproduce from my side.

Userlevel 3
Badge

@jfarrell The edit function is definitely enlightening, thanks! Although, we may have slightly different issues. In our case, the External ID that’s referenced is the correct one and to my knowledge they’ve never been deleted. I’m not sure what event forced it into this status, but in all of these cases, I simply want it to update the shopify product that lives at this External ID, but it refuses to do so. The fact that it thinks it “does not exist” yet shows evidence that it exists with a direct link to the page is what I don’t understand. 

Userlevel 3
Badge

@gabrielpaz86 Thanks, here’s the answers to your questions:

  1. It’s a combination of:
    • Deleted Externally: This field is helpful, because I can identify that these are truly deleted externally. It’s the minority of them, but at least I can filter this out when trying to solve for the records
    • Deleted in ERP: See example video. It definitely exists in the ERP with a quantity available and everything. This might be our primary issue. Luckily it’s only 204 records. I’m going to go through it more thoroughly now. 
    • Modified in ERP: There are many records that show this status AND the “does not exist in external” error, but none of those have a Status = Deleted interestingly. Not sure what to make of it, but figured I’d note it. 
  2. Currently 23R1. We’re migrating to 23R2 as we speak, but finding additional issues with it, so we can’t launch that yet. Maybe some of these issues are solved in R2?
  3. Product Availability Mode = Available

Thanks 

Userlevel 1

@lawsont,

If these Items has Availability Mode as “Set as Available (Don’t Track Qty)” and in ERP you are having “Deleted” status with “Deleted in ERP” as in the video, then we are actually updating the external store. In this case you may consider them as “Processed”, we have an internal ticket for that. And depending on your prepare mode (which usually is “Incremental”) then these entities will keep being repreapred, and as consequence they will keep updated, so you don’t need to manually set them as “prepared”.

How to test that:

  1. Go to the product that has “Set as Available (Don’t Track Qty)” in Shopify. The “Track quantity” should be disabled. Please enable and save.

     

  2. Prepare and process the product availability for the item.
  3. This value will be updated and disabled.

 

Userlevel 3
Badge

@gabrielpaz86 If I’m understanding correctly, you’re saying the issue is because we have these items set as “Set as Available (Don’t Track Qty)”? I don’t think that’s my issue because I did a Count on that field and none of them have that setting. 

 

Almost all of them have the “Store Default” which is “Set as Available (Track Qty)”

 

Also, at this point, we’ve been manually looking at each one of these and the inventory is tracked in Shopify for all of them and the inventory is incorrect. There have been a couple cases where the inventory happens to be correct, but we’ve now processed over 1,000 in the past month in which the inventory is incorrect. It’s very painful to have to do this and our busy season has just started. It’s causing issues with our customers and our hands are about to fall off trying to keep up with the manual updating! 

Userlevel 1

@lawsont, thank you for your answer. We will investigate your case internally. 

Userlevel 3
Badge

@gabrielpaz86 Thanks, SWK has a case open with Acumatica as of a few weeks ago if that helps. 

Userlevel 7
Badge +6

@lawsont , I have two thoughts:

  1. Template items are not synced for product availability - only the individual stock items. So instead of syncing the availability for the template item, you should be doing it for the stock item (variant).
  2. Often times, it’s not a bad idea to re-sync Template Items and Stock Items if you encountered serious issues with product availability.
  3. Finally, product availability sync had (has?) an issue when you have it on a Real Time Sync. Try to stop RTS for product availability and instead utilize a schedule - this worked for us more than once (both for Shopify and BigCommerce).

Let us all know if anything helped.

Reply


About Acumatica ERP system
Acumatica Cloud ERP provides the best business management solution for transforming your company to thrive in the new digital economy. Built on a future-proof platform with open architecture for rapid integrations, scalability, and ease of use, Acumatica delivers unparalleled value to small and midmarket organizations. Connected Business. Delivered.
© 2008 — 2024  Acumatica, Inc. All rights reserved