Workflow

How to Create a Supplier Request for Quotation PEC

Verified end to end. Demo run supplier-request-quotation-pec-20260519T074730Z created supplier request-for-quotation document PEC 9999/17 / 999900017 for supplier [100] AI Demo Supplier 20260519T030323Z and verified the saved row through the PEC list.

Evidence Summary

Create route
/compras/pec/create
List route
/compras/pec
Final view
/compras/pec/view/OTk5OTAwMDE3
Workflow run
supplier-request-quotation-pec-20260519T074730Z
Created document
999900017 / PEC 9999/17
Evidence file
raw/playwright/workflows/latest-supplier-request-quotation-pec.json

Verified supplier request for quotation PEC workflow

When to Use This

Use Request for quotation [PEC] to ask a supplier for prices or availability before placing a supplier order or invoice. The verified path creates an open supplier quotation request; it does not require payment and it does not increase physical stock. It did increase the supplier-order quantity field for the article.

Step-by-Step

  1. Open Purchases / Request for quotation [PEC], then click Create Quotation Order, or navigate directly to /compras/pec/create.
  2. Confirm the page title is OG - Request for quotation [PEC] and the action button is Save and Finish.
  3. Select the Supplier. The verified run used supplier 100, AI Demo Supplier 20260519T030323Z, VAT 590303236.
  4. Enter a traceable value in Supplier`s N.. The verified run used AI-PEC-20260519T074730Z, checked by findNumNoForn against table DocumPEC.
  5. Review dates and defaults. The verified run used emission date 19/05/2026, due date 20/05/2026, series 9999, employee Demo, payment condition PP, currency EUR, and warehouse 1.
  6. Add the article line. The verified line used article AI-DEMO-20260519-021105, quantity 1, unit cost 1.23, VAT 23%, and total 1.51.
  7. Click Save and Finish.
  8. Confirm the Are you sure? dialog with OK.
  9. OfficeGest posts saveDocument, redirects to the PEC view, and keeps the request in Open status. The verified save response was 999900017%&=&OKDOC&=&.
  10. Search the PEC list for 999900017 or the supplier reference. The verified list row had status ABR / Open, total 1.51, and paid value 0.

Verified PEC Values

FieldValue
Internal number999900017
Visible document numberPEC 9999/17
Supplier referenceAI-PEC-20260519T074730Z
Supplier[100] AI Demo Supplier 20260519T030323Z, VAT 590303236
Route/list identity/compras/pec, table DocumPEC, tipoop=PEC, tipoterc=F, actualizacc=F, recibo=F.
StatusABR / Open, validation N/D.
PaymentNo payment line; ValorPago=0.
Total1.51
Stock/order effectPhysical stock in warehouse 1 stayed 5; supplier-order quantity qtd_enc_forn changed from 1 to 2; customer-order quantity stayed 4.

Backend Calls Observed

Action or endpointPurpose
NameEntidades&tabla=FornLoads supplier master data after selecting supplier 100.
findNumNoFornChecks duplicate supplier reference using tabela=DocumPEC, supplier 100, and numnoforn=AI-PEC-20260519T074730Z.
loadArtigoReducido&compras=TLoads purchase article metadata, including physical stock 5, cost 1.23, and VAT 23.
insertLinhaTabDocInserts the article into temporary PEC table 47912 with id_tipoop=PEC, cliente=100, isforn=T, quantity 1, and warehouse 1.
price_variation_articleChecks supplier/article price variation for supplier 100.
create_document&option=calcular_totaisCalculates net, VAT, and total for the PEC request.
saveDocumentCreates the open PEC document. The verified payload used TipoOp=PEC, NumNoForn=AI-PEC-20260519T074730Z, MovimentaStock=1, id=47912, isedit=F, and israsc=0.
DT_List_DocumentosFVerifies the request in the PEC list using table DocumPEC, actualizacc=F, and tipoop=PEC.
dt_list_recalc_stock_articles_lojasVerifies that physical stock did not change while supplier-order quantity increased.

Raw evidence: raw/playwright/workflows/supplier-request-quotation-pec-20260519T074730Z.json. Screenshots: assets/screenshots/supplier-request-quotation-pec-20260519T074730Z-01-create-page.png through assets/screenshots/supplier-request-quotation-pec-20260519T074730Z-04-pec-list.png.

Validation Notes