Magento 2 stock export to BaseLinker: checking SKU and MSI-source data

3 min read

Silver 3D illustration with gold details and accents: black — Magento 2 BaseLinker Stock Export

One SKU can have physical stock, an MSI-source total and a quantity sent downstream. Kowal BaseLinker Stock Export sends inventory from Magento to BaseLinker. Define the data owner and reservation treatment before enabling scheduled synchronization.

Define the data and scope

Before changing anything, record the store view, language, theme and information source. Prepare one control example and its initial state. For other views, establish which settings should be inherited and which are deliberately overridden so the comparison uses the same context.

Prepare the configuration

Under Stores → Configuration → Kowal → BaseLinker Stock Export set connection, catalog, warehouses and sources. Refresh integration lists and choose test mode. Module and cron are initially disabled; update_only skips missing items. Creating products needs separate configuration and a destination category rather than merely enabling export.

Start with test data and an explicitly selected record scope. Change one setting at a time. Keep the configuration, input identifiers and output so another administrator can reproduce the operation without guessing its parameters or relying on a screenshot alone.

Run a concrete scenario

Compare active-item quantities from selected sources for one SKU. With 15 units and signed reservations of −3, expect 12 before limits. Check limits, non-negative output and integer rounding. Compare the no-write test with history and var/log/kowal_baselinker_stock.log, then verify the target warehouse in a controlled save.

Compare actual records before and after the operation. Include one qualifying case and another intended to remain unchanged. On failure record the stage, identifier and message. Do not repeat a bulk operation merely because a visible completion confirmation is missing.

Check boundaries and accept the implementation

The current calculator retrieves SKU reservations without stock_id filtering. With multiple stocks, do not equate this result with one stock’s salable quantity. Test mode skips stock writes and product creation. Export is one-way. Align scheduling with ERP import completion; reservation cleanup is a separate integration decision.

For acceptance retain settings, record scope, expected and observed results and the test date. Compare data again after deployment. When the module uses a schedule or queue, inspect actual execution and logs rather than treating a submitted-job confirmation as proof of completion.

Related stages of the process

Reservation cleanup and BaseLinker stock export are not automatically connected. Current Reservation Cleaner modes full_reset and clean_after_erp_sync both delete history; an empty stock list means all reservations. The mode name is not a hook detecting ERP completion. Confirm the ERP-first model and dry-run results, then orchestrate synchronization order separately. Export sums MSI sources and adds signed reservations; do not equate this with a particular stock_id’s salable quantity. See Kowal Reservation Cleaner for Magento 2 and the guide Magento 2, MSI, and inventory_reservation after ERP integration.

Check features and configuration in the offering for Magento 2 BaseLinker Stock Export.

Previous Next

KOWAL.BLOG

Choose your language

Available versions open the corresponding page. More languages are being prepared.

English (UK) Français Deutsch Español Italiano Português Nederlands Svenska Dansk Norsk Suomi Lietuvių Latviešu Eesti Čeština Slovenčina Magyar Română Български Ελληνικά Slovenščina Hrvatski Polski English (US)