RE_Documents/settlment_diagram.mermaid
2025-10-14 09:52:09 +05:30

55 lines
2.8 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

graph TD
%% ===== Start =====
Start([🟢 Start: Dealer Claim Process]) --> RI[1⃣ Request Initiation - <i>Requestor</i> - Submits activity request with dealer info, type, date, location, and details]
%% ===== Proposal Submission =====
RI --> PS[2⃣ Proposal Submission - <i>Dealer</i> - Submits proposal with cost breakup, timeline, and supporting documents]
%% ===== Request Evaluation =====
PS --> RE[3⃣ Request Evaluation - <i>Requestor</i> - Reviews dealer proposal and adds comments]
RE --> RE_Decision{Proposal Satisfactory?}
RE_Decision -->|❌ Needs Clarification| RE_Clarify[Requestor Requests Clarification]
RE_Clarify --> PS
RE_Decision -->|✅ Confirmed to Proceed| DLA
%% ===== Department Lead Approval =====
DLA[4⃣ Department Lead Approval - <i>Dept. Lead</i> - Reviews and Approves Request] --> DLA_Decision{Lead Decision}
DLA_Decision -->|❌ Needs Clarification| DLA_Clarify[Lead Requests Clarification]
DLA_Clarify --> RE
DLA_Decision -->|✅ Approved| BUD
%% ===== Budgeting =====
BUD[5⃣ Budgeting - <i>Finance or System</i> - Blocks budget under IO Internal Order] --> AC
%% ===== Activity Creation =====
AC[6⃣ Activity Creation - <i>System</i> - Creates Activity and Sends Notifications to Requestor, Dealer and Lead] --> AE
%% ===== Activity Execution =====
AE[7⃣ Activity Execution - <i>Dealer</i> - Executes Activity and Uploads Proof Documents] --> CA
%% ===== Claim Approval =====
CA[8⃣ Claim Approval - <i>Requestor</i> - Reviews submitted documents] --> CA_Decision{Documents OK?}
CA_Decision -->|❌ Needs More Info| CA_Clarify[Requestor Requests Additional Information]
CA_Clarify --> AE
CA_Decision -->|✅ Approved| CA_Type{Approval Type}
CA_Type -->|Full Approval| EI
CA_Type -->|Partial Approval| EI
%% ===== E-Invoicing =====
EI[9⃣ E-Invoicing - <i>Finance or System</i> - Generates E-Invoice and Issues Credit Note] --> End([✅ Claim Settled - Process Completed])
%% ===== Styles =====
style RI fill:#e3f2fd,stroke:#2196f3,stroke-width:2px,color:#000
style PS fill:#f3e5f5,stroke:#9c27b0,stroke-width:2px,color:#000
style RE fill:#fff3e0,stroke:#ff9800,stroke-width:2px,color:#000
style DLA fill:#ffebee,stroke:#f44336,stroke-width:2px,color:#000
style BUD fill:#e8f5e9,stroke:#4caf50,stroke-width:2px,color:#000
style AC fill:#fce4ec,stroke:#e91e63,stroke-width:2px,color:#000
style AE fill:#e0f2f1,stroke:#009688,stroke-width:2px,color:#000
style CA fill:#fff9c4,stroke:#fbc02d,stroke-width:2px,color:#000
style EI fill:#ede7f6,stroke:#673ab7,stroke-width:2px,color:#000
style Start fill:#c8e6c9,stroke:#388e3c,stroke-width:2px,color:#000
style End fill:#c8e6c9,stroke:#388e3c,stroke-width:2px,color:#000