Create an order from a quote
The Sales CRM Quote experience supports creating an order from the current quote.
Before you begin
Role required: admin
Activate the following plugins:
- Quote Experience plugin (App ID: sn_quote_mgmt_adv).
- Order Management plugins
About this task
The create-order-from-quote capability requires a custom integration and a custom event configured in the blueprint. Complete the following phases in order, and then deploy the blueprint.
Procedure
Create a custom integration.
For more information about integrations, see Quote transaction integrations.
Configure the following integration settings.
Setting Value HTTP Method POSTAdditional Path /api/sn_quote_mgmt_adv/v1/quotes/{{txn.id}}/ordersTimeout 5000Line Item Details to Include None Async Disabled Headers Not applicable Leave the Request Transformation unconfigured.
No request transformation is required for this integration.
For Connection to Endpoint, select serviceNowJwtConnection.
Leave the Response Transformation unconfigured.
No response transformation is required for this integration.
Create a custom event.
In the event properties, set Event Access to Active.
Associate the integration you created with the event.
Add a button to the layout to trigger the event.
Enable the event button.
From the Event picklist, select the event you created.
In Views, adjust the access to the event for each stage.
Select Save.
The layout is saved.
Select Deploy on the blueprint.
Result
When a user selects the create-order button on a completed quote, the integration calls the Order Management create-order API and creates an order from the quote data. Orders associated with the current quote appear in the Related Lists: Orders section of the Contextual Side Panel (CSP).
What to do next
After you deploy the blueprint, configure the quote-to-order field mapping to define how quote data maps to the resulting order.