S SISL docs PL

Synchronisation flows

Each flow is started by Magento cron or by the Synchronizuj teraz (Sync now) button on the module dashboard. Before each flow the module checks the licence.

Products

The module reads items in batches and compares them with the catalogue. It writes only what has changed, so later runs leave unchanged products alone.

A new item becomes a simple product with the settings from the "Nowe produkty" (New products) section. An existing one gets an update of the fields enabled in the configuration. The description stays untouched until you enable overwriting it. The module does not delete a removed item from the store.

Stock levels

For each mapped warehouse the module sets the quantity in the matching MSI source: Optima stock level minus reservations minus the buffer.

A shipment in Magento deducts the quantity from the source, but the next synchronisation sets the stock level from Optima anyway, because Optima is the source of truth here.

Documents

The module looks in documents for an order number with the prefix, for example MG-100000123, also inside longer text.

Document in Optima Result in Magento
Approved FA or PA Invoice for the items on the document, including a partial one
Approved WZ Shipment for the items on the document, with the tracking number
Document in the buffer (draft) Waits for approval
Cancelled before transfer Skipped
Cancelled after transfer A comment on the order. You correct the invoice or shipment manually

Each document is handled once. The module remembers its identifier separately for each Optima database, so reading it again duplicates nothing.

If the order number does not exist, the module retries on the next 5 runs, then marks the document as abandoned and does not block the following ones. Abandoned documents are visible on the module dashboard.

An approved document with a wrong number cannot be corrected in Optima. Cancel it and issue a new one, or create the invoice manually in Magento.

By default the customer receives no e-mail. When you enable "Maile do klientów" (E-mails to customers), standard Magento e-mails are sent, except during the first synchronisation and the run after a database change.

Customers

A contractor with a valid e-mail address becomes a customer account, matched by e-mail. The account is created without a password, and the customer sets it through "Nie pamiętam hasła" (Forgot password). Contractors without a valid e-mail address are skipped. The module does not overwrite later group changes made in the store.

Licence

The module checks it once a day, and the service checks it independently. Details: Licensing.

Next step: Diagnostics and errors →