Skip to main content

System Workflows

This section documents the core business processes that drive Logidav. Each workflow page follows a consistent template so that any developer can quickly understand what a process does, how it connects to other systems, what triggers it, and how to debug it when things go wrong.

Documented Workflows

WorkflowCriticalityDescriptionKey Command
Sales ImportCriticalIngests and synchronizes orders from Magento 2menzzo:v2:sales
Stock UpdatesCriticalJournals every stock mutation and propagates to marketplacesProductQtyLogService::productChangeLog()
Shipment GenerationHighGenerates carrier labels and syncs tracking numberssale:expedition:import
Refunds & SAVCriticalProcesses returns, refunds, and after-sales complaintsRefund commands
Product SyncHighPushes catalog data to marketplaces and keeps availability in syncmenzzo:v2:products

Page Template

Every workflow page follows this structure:

  1. What it does -- one-paragraph summary of the workflow's purpose
  2. How it connects -- mermaid diagram showing all systems involved
  3. Trigger -- what starts the workflow (cron schedule, event, manual action)
  4. Components -- table listing every command, service, and entity with file paths
  5. Step-by-step flow -- mermaid flowchart with decision points
  6. Side effects -- what changes in the database and external systems
  7. Failure modes -- what can go wrong, with severity admonitions
  8. Debugging path -- numbered steps to investigate issues
  9. Related commands -- CLI commands involved

Cross-References