13-05-2026 implementation FR
This commit is contained in:
parent
245c281541
commit
70240d2b6a
61 changed files with 4472 additions and 2 deletions
86
dev/BusinessUpdateCalculatedFields-Examples.sh
Normal file
86
dev/BusinessUpdateCalculatedFields-Examples.sh
Normal file
|
|
@ -0,0 +1,86 @@
|
|||
#!/bin/bash
|
||||
|
||||
# ================================================================================
|
||||
# Business Update Calculated Fields - Verwendungsbeispiele
|
||||
# ================================================================================
|
||||
|
||||
echo "========================================="
|
||||
echo "Business Update Calculated Fields"
|
||||
echo "========================================="
|
||||
echo ""
|
||||
|
||||
# ================================================================================
|
||||
# 1. TESTLAUF - Empfohlen vor der ersten Produktivnutzung
|
||||
# ================================================================================
|
||||
|
||||
echo "1. TESTLAUF - Einzelner Monat (November 2025)"
|
||||
echo " php artisan business:update-calculated-fields 2025 11 --dry-run"
|
||||
echo ""
|
||||
|
||||
echo "2. TESTLAUF - Ganzes Jahr (2025)"
|
||||
echo " php artisan business:update-calculated-fields 2025 --dry-run"
|
||||
echo ""
|
||||
|
||||
# ================================================================================
|
||||
# 2. PRODUKTIV - Einzelne Monate
|
||||
# ================================================================================
|
||||
|
||||
echo "3. PRODUKTIV - Einzelner Monat (November 2025)"
|
||||
echo " php artisan business:update-calculated-fields 2025 11"
|
||||
echo ""
|
||||
|
||||
echo "4. PRODUKTIV - Mehrere Monate nacheinander"
|
||||
echo " php artisan business:update-calculated-fields 2025 10"
|
||||
echo " php artisan business:update-calculated-fields 2025 11"
|
||||
echo ""
|
||||
|
||||
# ================================================================================
|
||||
# 3. PRODUKTIV - Ganzes Jahr
|
||||
# ================================================================================
|
||||
|
||||
echo "5. PRODUKTIV - Ganzes Jahr (alle 12 Monate)"
|
||||
echo " php artisan business:update-calculated-fields 2025"
|
||||
echo ""
|
||||
|
||||
# ================================================================================
|
||||
# 4. MIGRATION
|
||||
# ================================================================================
|
||||
|
||||
echo "6. VOR DER ERSTEN AUSFÜHRUNG - Migration"
|
||||
echo " php artisan migrate"
|
||||
echo ""
|
||||
|
||||
# ================================================================================
|
||||
# Beispiel-Workflow für komplette Aktualisierung
|
||||
# ================================================================================
|
||||
|
||||
echo ""
|
||||
echo "========================================="
|
||||
echo "Beispiel: Kompletter Workflow"
|
||||
echo "========================================="
|
||||
echo ""
|
||||
echo "# 1. Migration ausführen (nur einmal nötig)"
|
||||
echo "php artisan migrate"
|
||||
echo ""
|
||||
echo "# 2. Testlauf für das Jahr 2025"
|
||||
echo "php artisan business:update-calculated-fields 2025 --dry-run"
|
||||
echo ""
|
||||
echo "# 3. Produktiv für das Jahr 2025 ausführen"
|
||||
echo "php artisan business:update-calculated-fields 2025"
|
||||
echo ""
|
||||
echo "========================================="
|
||||
|
||||
# ================================================================================
|
||||
# Hinweise
|
||||
# ================================================================================
|
||||
|
||||
echo ""
|
||||
echo "HINWEISE:"
|
||||
echo "---------"
|
||||
echo "• Der Command ist idempotent (kann mehrfach ausgeführt werden)"
|
||||
echo "• Bereits aktualisierte Einträge werden übersprungen"
|
||||
echo "• Bei ganzen Jahren: Monate ohne Daten werden übersprungen"
|
||||
echo "• Fehler bei einzelnen Einträgen brechen den Prozess nicht ab"
|
||||
echo "• Memory-Nutzung wird überwacht"
|
||||
echo ""
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue