Evidence Summary
- Source quotation
999900094 / ORC 9999/94- Draft route
/vendas/enc/rasc/NDYz- Final view
/vendas/enc/view/OTk5OTAwMTA4- Workflow run
finalize-converted-quotation-sales-order-draft-20260519T170312Z- Created sales order
999900108 / ENC 9999/108- Evidence file
raw/playwright/workflows/latest-finalize-converted-quotation-sales-order-draft.json
When to Use This
Use this workflow after an accepted Quotation [ORC] has already been converted into a Sales Order [ENC] draft and the customer order should be formally recorded before invoicing or fulfillment.
This guide starts at a converted ENC draft. To create that draft first, use Convert a Quotation to a Sales Order Draft.
Step-by-Step
- Open the converted ENC draft. The verified draft was
/vendas/enc/rasc/NDYz, draft number463. - Confirm the draft is the correct customer, reference, and source quotation. The verified draft reference was
AI-ORC-ENC-FIN-20260519T170312Z. - Review the copied line. The verified line used article
AI-DEMO-20260519-021105, quantity1, and VAT23%. - Check that the draft line still points back to the quotation:
ndocori=999900094,tipodocori=ORC, andlinhandocori=1. - Click Save and Finish.
- Confirm the Are you sure? dialog.
- OfficeGest posts
saveDocumentfrom draft mode and returns the final ENC number. The verified response was{"return":"999900108%&=&OKDOC&=&","print_documents":[]}. - OfficeGest opens the final sales order view
/vendas/enc/view/OTk5OTAwMTA4, with title OG - ENC 9999/108. - Search the ENC list for
999900108and confirm the order row exists.
Verified Values
| Field | Value |
|---|---|
| Source quotation | 999900094 / ORC 9999/94 |
| Converted ENC draft | 463, opened at /vendas/enc/rasc/NDYz. |
| Final sales order | 999900108 / ENC 9999/108, opened at /vendas/enc/view/OTk5OTAwMTA4. |
| Final order state | ABR / Open, total 1.97, paid 0. |
| Source quotation state after conversion | ABR / Open, total 1.97, paid 0. |
| Draft line source | ndocori=999900094, tipodocori=ORC, linhandocori=1. |
Backend Calls Observed
| Action or endpoint | Purpose |
|---|---|
facturardoc | Created ENC draft 463 from source ORC 9999/94. |
listaTabDocumento | Loaded the ENC draft line before finalization. |
saveDocument | Finalized the draft into sales order 999900108 / ENC 9999/108. |
DT_List_Documentos | Verified the final ENC sales order row in the document list. |
Raw evidence: raw/playwright/workflows/finalize-converted-quotation-sales-order-draft-20260519T170312Z.json. Screenshots: assets/screenshots/finalize-converted-quotation-sales-order-draft-20260519T170312Z-01-orc-filled.png through assets/screenshots/finalize-converted-quotation-sales-order-draft-20260519T170312Z-05-enc-list.png.
Validation Notes
- ENC finalization records an order, not payment: the verified order saved as
ABR/ Open with paid value0. - Invoice later: after finalizing the ENC, use the sales order conversion actions to create an FT or FR draft when it is time to invoice.
- Source quotation remains visible as open: the ORC list still showed
ORC 9999/94asABR/ Open immediately after conversion/finalization. - Audit link is preserved: the draft line source metadata linked the finalization path back to the source ORC line.