S SISL docs PL

Changelog

v0.3.5 — 2026-05-12

Honesty patch: order forward (Magento → Optima FA) is disabled in v0.3.x and now labelled "TBD v0.4.0".

What happened

Reviewing the codebase ahead of a real order-forward test revealed that OptimaSqlClient.ForwardOrderAsync had always been a "not implemented" stub. The Magento side prepared the payload, the microservice received it, but no invoice was actually created in Optima. Gemini rounds 1-3 didn't catch this because they focused on the Optima → Magento read path.

Rather than pretend it works:

Why it doesn't just work

Raw SQL INSERT into TraNag/TraElem is blocked by Optima — the integration SQL login has SELECT-only on CDN.TraNag by design. A real write path needs:

Remaining v0.3.x scope

Also still deferred

From Gemini round 3 (known, documented): - Bug #6: Time zone CET vs UTC drift - Bug #9: License hostname unstable on k8s/swarm

From round 2: - Idempotency on Optima document edits → duplicate Magento invoices

v0.3.4 — 2026-05-12

Third bug-fix round after Gemini Pro code review (round 3). Focus on issues that don't show on the happy path but bite weeks after deployment.

Fixed (6 bugs)

Deliberately DEFERRED to v0.3.5 / v0.4.0

Gemini also surfaced 5 items that need bigger changes:

Known persistent limitation — idempotency on document edit

If an operator EDITS a confirmed Optima document (changes description, adds a note), its TrN_TS_Mod changes and F2 sees it again → tries to create a SECOND Magento invoice/shipment for the same Optima document. Same thing happens if the operator manually resets the F2 cursor. Workaround: don't edit confirmed documents. Permanent fix (v0.4.0): a optima_doc_id → magento_invoice_id mapping table.

E2E verified

v0.3.3 — 2026-05-12

Second bug-fix round after Gemini Pro code-review of shipped v0.3.2. 8 of 9 suggested bugs fixed (the 9th — InvoiceService signature — was already caught by real-Optima E2E test in v0.3.2).

Critical fixes

Major fixes

Minor / docs

Architecture

E2E verified on real Optima CDN_SISL_TEST

Operator created (manually in the Optima UI) FS/2/2026 with description MG-100000002 containing 1 unit of TEST_BUTY. In Magento, order #100000002 had 3 × TEST_BUTY + 2 × TEST_KAWA (total 5 units).

After F2 sync: - Magento invoice 000000002: 1 × TEST_BUTY (224.99 PLN) — NOT 5 units - order_status = "processing" (not "complete" — 4 units still pending invoice) - canInvoice() = true → subsequent FA documents in Optima will be picked up incrementally - Comment: SISL Optima: linked to FS/2/2026 (partial, 1 units)

Known limitations (target v0.3.4)

v0.3.1 — 2026-05-12

Hotfix after v0.3.0 — all three features (F1/F2/F3) had bugs that only surfaced against a real Optima 2024+ DB (mock backend hid them). Features were technically broken on first contact with real data.

Bugs fixed

Verified on real Optima (CDN_SISL_TEST)

Known limitations

Update path

Download Sisl_Optima-v0.3.1.zip from cdn.sisl.pl, replace the folder, run bin/magento setup:upgrade && bin/magento cache:flush. Plus the new .NET service binary (also v0.3.1).

v0.3.0 — 2026-05-11

Three big optional features — all disabled by default. Customers opt in at Stores → Configuration → SISL → Optima Connector → 5. v0.3 — Extended features (opt-in).

New features (opt-in, default OFF)

Architecture

Requirements

Back-compat

v0.2.1 — 2026-05-11

Hotfix right after v0.2.0.

v0.2.0 — 2026-05-11

First major feature: multi-warehouse → Magento MSI source mapping + fix for the N+1 in stock sync.

New features

Performance

Requirements

Back-compat

v0.1.0 — 2026-05-11

First public release.

Features

Security

Known limitations

Roadmap v0.2