Sales Cycle Workflow¶
sequenceDiagram
participant U as User
participant Q as Quote
participant SO as Sales Order
participant PI as Proforma
participant I as Invoice
participant P as Payment
U->>Q: Create quote
Q->>Q: Send to customer
Q->>SO: Convert to order
alt Advance required
SO->>PI: Create proforma
PI->>P: Record payment
P-->>PI: Paid
end
SO->>I: Create invoice
alt Proforma exists
I->>PI: Deduct advance
end
I->>P: Record payment
P-->>I: Paid