mix phoenix_kit_crm.import_suppliers_from_catalogue (PhoenixKitCRM v0.9.0)

Copy Markdown View Source

Imports catalogue suppliers into CRM companies and grants them the supplier role. This is a one-time backfill task following the SAP-CVI pattern.

The machinery lives in PhoenixKitCRM.CatalogueImport (shared with mix phoenix_kit_crm.import_manufacturers_from_catalogue — the twin this flow was missing until 2026-08-31); see its moduledoc for the behaviour, matching logic and report format.

Usage

mix phoenix_kit_crm.import_suppliers_from_catalogue           # dry-run
mix phoenix_kit_crm.import_suppliers_from_catalogue --apply   # write

Summary

Functions