Files
msp/msp
David Malinowski b399b6f37d feat(msp): Supply Subscription data model + Supplier Import scaffolding
Führt ein lieferantenagnostisches Lizenzmodell ein, das den Weg für den
künftigen Ersatz der adnconnect-App ebnet:

- Supply Subscription: Golden Record pro Subscription-Lifecycle, unique
  über die externe Vendor-Subscription-ID (z. B. Microsoft Subscription-ID).
  Denormalisierte Felder current_period_end, qty_current, last_event_date
  werden aus den Events gepflegt.
- Supply Subscription Event: Eine Episode pro Abrechnungszeitraum, mit
  Rück-Links auf Sales Invoice, Delivery Note, Purchase Invoice und
  Supplier Import Line.
- Supplier Import Profile / Run / Line: Modulares Import-Framework, in dem
  pro Lieferant (ADN, künftig ALSO/Ingram/…) ein Profil mit parser_key +
  Defaults konfigurierbar ist. Ein Run bündelt einen konkreten Import
  inklusive Kanonik-Zeilen und Statistiken.
- Custom Field „supply_subscription" auf Sales Invoice Item und Delivery
  Note Item — das ist das einzige Standard-ERPNext-Feld, das unabhängig
  vom Lieferanten hinzukommt. Alle weiteren Attribute werden über den
  Link erreichbar.

Die Importer-Logik liegt separat (nächster Commit).
2026-04-14 12:41:14 +02:00
..
2021-03-24 01:36:20 +01:00
2021-03-24 01:36:20 +01:00
2021-03-24 01:36:20 +01:00
2025-11-15 23:34:07 +01:00
2024-06-14 12:22:58 +02:00
2023-06-13 16:41:27 +02:00
2021-03-24 01:36:20 +01:00
2022-07-18 11:58:35 +02:00
2025-04-01 10:07:00 +02:00
fix
2022-01-28 10:44:03 +01:00
2025-11-15 23:34:07 +01:00
2025-11-15 23:34:07 +01:00