Workflow

How to Create an Order to Supplier

Verified end to end. Demo run supplier-order-ef-20260519T040050Z created supplier order EF 9999/111 / 999900111 for supplier [100] AI Demo Supplier 20260519T030323Z and verified the order through DT_List_DocumentosF.

Evidence Summary

Create route
/compras/ef/create
List route
/compras/ef
Final view
/compras/ef/view/OTk5OTAwMTEx
Workflow run
supplier-order-ef-20260519T040050Z
Created order
999900111 / EF 9999/111
Evidence file
raw/playwright/workflows/latest-supplier-order-ef.json

Verified supplier order workflow

When to Use This

Use Order to Supplier [EF] to place or register an order with a supplier before receiving/invoicing the goods. The verified path creates an open order; it does not require payment and it does not increase physical stock. Instead, OfficeGest increased the supplier-order quantity field for the article.

Step-by-Step

  1. Open Purchases / Order to Supplier [EF], then click New, or navigate directly to /compras/ef/create.
  2. Confirm the page title is OG - Order to Supplier [EF] 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. Optionally enter Supplier's N.. The EF page ignores the required supplier-reference check, but the verified run entered AI-EF-20260519T040050Z for traceability.
  5. Review dates and defaults. The verified run used emission date 19/05/2026, expected arrival date 19/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 order view, and keeps the order in Open status. The verified save response was 999900111%&=&OKDOC&=&.
  10. Search the EF list for 999900111 or the supplier reference. The verified list row had status ABR / Open, total 1.51, and paid value 0.

Verified Order Values

FieldValue
Internal number999900111
Visible document numberEF 9999/111
Supplier referenceAI-EF-20260519T040050Z
Supplier[100] AI Demo Supplier 20260519T030323Z, VAT 590303236
StatusABR, visible as Open
PaymentNo payment line; ValorPago=0.
Total1.51
Stock/order effectPhysical stock in warehouse 1 stayed 2; supplier-order quantity qtd_enc_forn changed from 0 to 1.

Backend Calls Observed

Action or endpointPurpose
loadArtigoReducido&compras=TLoads article metadata for the supplier order line.
insertLinhaTabDocInserts the article into temporary EF table 45549 with id_tipoop=EF and isforn=T.
listaTabDocumentoLoads order lines before save and in view mode after save.
create_document&option=calcular_totaisCalculates net, VAT, and total for the EF order.
saveDocumentCreates the finished/open supplier order. The verified payload used TipoOp=EF, id=45549, isedit=F, and israsc=0.
DT_List_DocumentosFVerifies the order in the EF list using table EncF, actualizacc=F, and tipoop=EF.
dt_list_recalc_stock_articles_lojasVerifies that physical stock did not change while supplier-order quantity increased.

Raw evidence: raw/playwright/workflows/supplier-order-ef-20260519T040050Z.json. Screenshots: assets/screenshots/supplier-order-ef-20260519T040050Z-01-create-page.png through assets/screenshots/supplier-order-ef-20260519T040050Z-04-ef-list.png.

Validation Notes