wayfair-contribs / plentymarkets-plugin

Wayfair plugin for use in the Plentymarkets eCommerce ERP system
https://marketplace.plentymarkets.com/en/plugins/integration/wayfair_6273
Other
4 stars 3 forks source link

Stock amounts sent to Wayfair may be lower than actual stock #194

Closed jhoule86 closed 3 years ago

jhoule86 commented 3 years ago

Date(s) issue was encountered: 2020-12-02 Supplier's client ID (if known): N/A Wayfair plugin Version (displayed in Deployed column in the details of a Plentymarkets Plugin Set): 1.1.5 Plentymarkets Version / release channel: 7

Preconditions:

Short description: If (and ONLY if) the preconditions are met, stock amounts sent in periodic inventory updates (not Daily "full" inventory updates) can be lower than the actual stock amounts, potentially causing an item to become out of stock on Wayfair.

To Reproduce

  1. Map more than one Plentymarkets Warehouses to the same Wayfair Supplier ID, in the Warehouses page of the plugin's settings
  2. Add stock for a certain item to both Plentymarkets Warehouses
  3. Wait 30 minutes to ensure that the Wayfair plugin has sent the new stock amounts to Wayfair
  4. Change the stock amounts for the item in ONLY one of the warehouses

Expected behavior: On the next inventory synchronization, the reported total amount of stock for the item for the Wayfair Supplier ID is a summation of all stock for the item in all Plentymarkets Warehouses that are assigned to the Wayfair Supplier ID (minus the global Stock Buffer setting in the Wayfair plugin).

Actual behavior: On the next inventory synchronization, the reported total amount of stock for the item for the Wayfair supplier ID is only using the amount in the Warehouse that changed, and may cause the product to go out of stock.

Work Arounds: There is currently no known solution to this issue, other than having a one-to-one relationship between Plentymarkets Warehouses and Wayfair Supplier IDs. To resolve an item being erroneously listed as out of stock in Wayfair, the user must change the stock amount in any warehouse that's associated with Wayfair, to a number that is higher than the Stock Buffer setting in the Wayfair plugin.