For the complete documentation index, see llms.txt. This page is also available as Markdown.

Inventory Calculation & Locations

The inventory transferred to Shopware is calculated based on your configuration.

Options

Setting
Effect

Location codes

Comma-separated BC locations whose inventory is added up

Use default location

Ignores locations and uses a fixed inventory value

Default inventory quantity

Fixed inventory when the default location is enabled

Upload negative item quantity

Transfers negative inventory; otherwise 0 is sent

Upload inventory

Master switch for the inventory upload

Out of stock

The item field Out of stock sets an item to out of stock in Shopware regardless of the BC inventory.

The inventory shown on the item results from the selected inventory settings. For configuration details, see Inventory Configuration.

Recommendation

Frequently Asked Questions

How do I define which locations are included in the shop inventory?

In the “Location codes” setting, you enter the Business Central locations, separated by commas, whose inventory is added up and transferred to Shopware. Alternatively, you can use “Use default location” to apply a fixed inventory value independently of the locations.

How do I specifically set an item to “out of stock”?

The item field “Out of stock” flags the item as out of stock in Shopware regardless of the actual Business Central inventory. This is useful for temporarily making an item unavailable for ordering.

Is negative inventory transferred to Shopware?

Only if “Upload negative item quantity” is enabled. Otherwise, the value 0 is sent to Shopware when the inventory is negative, so that no misleading negative quantities appear in the shop.