
is documentation for oms reservations up to date? How to sync reservations across stores in DMS?

Hi all :)
When setting up our store, we tried to use the storesWithSharedPersistence setting, which never worked for us.
This setting is described at
https://docs.spryker.com/docs/pbc/all/warehouse-management-system/202410.0/base-shop/extend-and-customize/inventory-management-feature-modules-overview.html#availability-per-store (which we are getting pointed at as well by Spryker support).
Do you know if the documentation is up to date? (Besides the references to stores.php vs DMS of course).
I tried investigating a bit, and I saw no reference to storesWithSharedPersistence
within the Availability and AvailabilityStorage modules (well, besides a reference in a Transfer definition, which feels like a leftover maybe)
What would be the current "proper" way to sync reservations across stores in a single-db dynamic-multi-store setup? Any hints? (I saw the separate databases with Export/Import reservations setup, but feels like a nest for race-conditions if not handled quickly, and I'd rather not have to setup something custom :P)
Answers
-
I would be nice to get some hints from someone at Spryker. From support we are told to configure storesWithSharedPersistence.
0 -
Hey, Victor!
Could you describe a bit more what a problem you are facing?What I can see from code, when we update availability with DMS mode ON, we are getting all available stores in the same database. `storesWithSharedPersistence` thingy makes a little sense in the DMS context as all store in the same database from the beginning.
We'll schedule a documentation update, but if you have some issues please ping me via Slack or here
0 -
So, my problem here specifically can be reproduced in the b2b demoshop, and DMS makes it even more evident:
To reproduce this:Boot your app with /deploy.dev.yml
For the sake of reproducing, we're going to track product104937
(Dauphin vertebral disc swivel chair, synchronous mechanism)
First, add products to the 2nd warehouse, so they are available on the AT store:
(for the sake of reproducing, just duplicate current stock import file in , replaceWarehouse1
withWarehouse2
)
Now I place an order for a product in the DE store :This product is reserved 7 times in the DE shop:
By default, in the AT shop, the reservation is not present:
So, by default reservations are not being synced, and the documentation is outdated, and the configuration options in the code are dead ends if that is the case.
2
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 100 Spryker News
- 983 Developer Corner
- 833 Spryker Development
- 92 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 36 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 32 Job Opportunities
- 3.2K 📜 Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 33 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random