PR Intercept: RFQ Sourcing Flow
Process Diagram
sequenceDiagram actor ERP_User as Business User participant ERP_System as ERP/P2P System participant ERP_Middleware as ERP Middleware participant Fairmarkit_API as Fairmarkit Public API participant Fairmarkit_APP as Fairmarkit System rect rgb(125,125,125,.2) note over ERP_User,Fairmarkit_APP: RFQ Review and Publish note right of ERP_User: User reviews the RFQ, validates recommended suppliers,<br>applies changes, and publishes it ERP_User->>Fairmarkit_APP: - Fairmarkit_APP-->>Fairmarkit_APP: - note over Fairmarkit_APP: Application updates RFQ status, sends supplier invitations via email<br>and triggers a webhook notification. Fairmarkit_APP ->> Fairmarkit_API: **WEBHOOK** event **RFQ_OPEN** Fairmarkit_API ->> ERP_Middleware: **WEBHOOK** event **RFQ_OPEN** ERP_Middleware-->>ERP_Middleware: - note over ERP_Middleware: Middleware (optional): parses the payload,<br>logs the data, and updates the RFQ status change information. ERP_Middleware ->> ERP_System: Optional: Update PR end rect rgb(125,125,125,.2) note over ERP_User,Fairmarkit_APP: Receiving the Bids (Quotations) note right of ERP_User: Optional: User checks the RFQ status on the FM App UI ERP_User->>Fairmarkit_APP: - Fairmarkit_APP-->>Fairmarkit_APP: - note over Fairmarkit_APP: Application: receives bids from suppliers, displays quotations<br>to the buyer in the FM UI, and sends a webhook notification. Fairmarkit_APP ->> Fairmarkit_API: **WEBHOOK** event **BID_SUBMITTED** Fairmarkit_API ->> ERP_Middleware: **WEBHOOK** event **BID_SUBMITTED** ERP_Middleware-->>ERP_Middleware: - note over ERP_Middleware: Middleware (optional): parses the payload,<br>logs the data,and updates info about the new bid<br>(e.g. comment on the PR or new PR Line create) ERP_Middleware ->> ERP_System: Optional: Update PR note right of ERP_User: Optional: User chats with the supplier via FM Messaging ERP_User->>Fairmarkit_APP: - end rect rgb(125,125,125,.2) note over ERP_User,Fairmarkit_APP: Closing the RFQ Fairmarkit_APP-->>Fairmarkit_APP: - note over Fairmarkit_APP: Application closes RFQ by automation (e.g. 3 days after start) note right of ERP_User: Alternatively: User Can close RFQ manually ERP_User ->> Fairmarkit_APP: Close RFQ Fairmarkit_APP->>Fairmarkit_APP: - note over Fairmarkit_APP: Application updates RFQ status,<br>and triggers a webhook notification. Fairmarkit_APP ->> Fairmarkit_API: **WEBHOOK** event **RFQ_CLOSED** Fairmarkit_API ->> ERP_Middleware: **WEBHOOK** event **RFQ_CLOSED** ERP_Middleware-->>ERP_Middleware: - note over ERP_Middleware: Middleware (optional): parses the payload,<br>logs the data, and updates the RFQ status change information. ERP_Middleware ->> ERP_System: Optional: Update PR end
Process Flow
- User reviews the draft RFQ, validates recommended suppliers, applies changes, and publishes it.
- Fairmarkit App updates RFQ status, sends supplier invitations via email and triggers a webhook notification RFQ_OPEN
- Fairmarkit App receives bids from suppliers and displays quotations to the buyer in the FM UI. On each recieved bid Fairmarkit App sends a webhook notification BID_SUBMITTED:
- Fairmarkit App closes RFQ by automation (e.g., 3 days after start), alternatively, User can close RFQ manually.
- Fairmarkit App updates RFQ status and triggers a webhook notification RFQ_CLOSED
Updated 7 days ago