Hi all
I need to expand an ecom integration to list stock levels at two stock locations.
This raises a few questions. I am using the DynamicwebProvider in the import. It is clear to me, that I need to import data into at least two tables:
EcomStockLocation - Defines the possible stock locations.
What is the role of column StockLevelGroupId?
EcomStockUnit - Defines relations between Products, StockLocations, Units, and StockLevels
But where are units defined?
I only operate with one unit, and importing this from the ERP seems a bit excessive. But hardcoding the unit-ID and putting this into EcomStockUnit seems like a bad idea.
And another question: Will I need to set default unit, and a unit count on all products?
As far as I can see, the default unit is included in a hidden field in the product form and thus sent to the cart. Is this necessary if I only have one unit defined?
Final question: When I switch from one stock location (using the stock field in the simple product settings) to multiple locations .. will the former field take a value from the advanced stock management? (Perhaps a stock total) .. or just remain void?
Best regards
Thomas