Files
erp_naurua/docs
gitea_admin 0d8353fb9c Implement Excel webhook integration
Features:
- Migration 0007: shipping_date column with automatic next-business-day calculation
- New function trigger_excel_webhook() in order-import.php
- SQL query for extracting Excel data from ERP database
- Integration after successful order import
- Documentation for n8n Postgres node configuration

Changes:
1. db/migrations/0007_phase1_excel_webhook.sql - adds shipping_date column, trigger, next-business-day function
2. order-import.php - adds trigger_excel_webhook() function and integration point
3. docs/EXAKTE_POSTGRES_QUERY.sql - exact SQL query for n8n Postgres node
4. docs/N8N_POSTGRES_QUERY.md - comprehensive documentation
5. docs/N8N_POSTGRES_NODE.* - n8n node configurations
6. docs/N8N_EXCEL_WORKFLOW.json - complete workflow JSON
7. docs/N8N_NODE_COPY_PASTE.md - copy-paste ready instructions

The implementation triggers an Excel webhook after every successful order import, sending all necessary data for Excel bookkeeping to n8n.
2026-04-06 21:23:50 +02:00
..

Docs Index

This folder is the single home for project documentation.

Source Of Truth

  • CONCEPT.md is the normative source for product and system concepts.

Document Types

  • Normative: CONCEPT.md
  • Operational:
    • SPEC_PHASE1_COMPONENTS.md (Komponenten-Spezifikation fuer Schritt 1)
    • PROCESS_PHASE1.md (Ablauflogik fuer Import, Lager, Storno, Outbound-Webhook)
  • Derived:
    • SCHEMA_PHASE1.sql (Draft schema for Schritt 1)
    • ../db/migrations/*.sql (Ausfuehrbare Datenbankmigrationen)
  • Historical: none yet
  • Legacy: none yet

How We Use This Folder

  • Keep the docs root small and scannable.
  • Add new operational docs only when there is a running process to describe.
  • If a file only repeats the concept, move it out of the active root or delete it.