PR Intercept: RFQ Creation
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: PR Intercept (RFQ Creation) ERP_User->>ERP_System: Create new PR note right of ERP_User: The user creates a new PR through the UI/Form in ERP. ERP_System-->>ERP_System: Store new PR locally and initiate approvals note over ERP_System: The system stores the new PR, triggers automated approvals, and selects a sourcing flow. ERP_System ->> ERP_Middleware : Notify that PR is ready to be sourced via FM ERP_Middleware-->>ERP_Middleware: Prepare for FM integration note over ERP_Middleware: The middleware loads required Fairmarkit (FM) UUIDs and builds the FM payload. ERP_Middleware ->> Fairmarkit_API : POST /self-service/api/v3/rfq/ Fairmarkit_API ->> Fairmarkit_APP : Create RFQ through internal API note over Fairmarkit_APP: Validate data and create a new RFQ in FM's database. Fairmarkit_APP -->> Fairmarkit_API : Response with the payload of a newly Created RFQ Fairmarkit_API -->> ERP_Middleware: JSON response with RFQ payload ERP_Middleware-->>ERP_Middleware: Process and log the data (optional) note over ERP_Middleware: The middleware parses the payload, logs the data, and shares the RFQ status update. ERP_Middleware ->> ERP_System: Optional - update PR Fairmarkit_APP-->>Fairmarkit_APP: - note over Fairmarkit_APP: Fairmarkit Recommends the Suppliers. end
Process Flow
- The User creates a new Purchase Request (PR) through the UI/Form in ERP.
- The ERP System stores the new PR locally and initiates automated approvals.
- The ERP System notifies the ERP Middleware that the PR is ready to be sourced via Fairmarkit.
- The ERP Middleware prepares for Fairmarkit integration by loading required Fairmarkit (FM) UUIDs and building the FM payload.
- The ERP Middleware sends a POST /api/v3/rfq/ request to the Fairmarkit API with the RFQ payload.
- The Fairmarkit App validates the data and creates a new Request (RFQ) in its database.
- The Fairmarkit App sends a response back to the middleware with the payload of the newly created RFQ.
- The ERP Middleware processes the RFQ payload, logs the data, and shares the RFQ status update.
Updated 7 days ago