Evidence Summary
- Create route
/compras/fsf/create- List route
/compras/fsf- Workflow run
supplier-simplified-invoice-fsf-20260519T073106Z- Created document
999900002 / FSF 9999/2- Evidence file
raw/playwright/workflows/latest-supplier-simplified-invoice-fsf.json
When to Use This
Use Making facilitator. Forn. [FSF] for the supplier-side simplified invoice flow. In the verified demo it behaved as a paid-at-creation supplier document: article stock moved, a payment row was required, and the final document was immediately finished.
Step-by-Step
- Open Purchases / Making facilitator. Forn. [FSF], then click the create action, or navigate directly to
/compras/fsf/create. - Confirm the page title is OG - Making facilitator. Forn. [FSF]. The form includes hidden
TipoOp=FSFandMovimentaStock=1. - Select the supplier. The verified run used supplier
100, AI Demo Supplier 20260519T030323Z, VAT590303236. - Enter the supplier reference in Supplier`s N.. The verified run used
AI-FSF-20260519T073106Z, checked byfindNumNoFornagainst tableFactSimF. - Confirm document date
19/05/2026, due date20/05/2026, series9999, collaboratorDemo, and payment conditionPP. - Add the article line. The verified run used article
AI-DEMO-20260519-021105, quantity1, warehouse1, unit cost1.23, VAT23%, and total1.51. - Click End.
- When the payment modal opens, choose [NUM] Numerario. OfficeGest creates a payment row for the full total.
- Click Save in the payment modal, then confirm the Are you sure? dialog.
- OfficeGest posts
saveDocument. The verified response was{"return":"999900002%&=&OKDOC&=&"}. - Verify the FSF list. Search
999900002on/compras/fsf; the verified row showedFSF 9999/2, statusLIQ/ Finished, total1.51, andValorPago=1.51. - Verify stock if the document includes stock-moving articles. The verified run changed warehouse
1stock from3to4.
Verified FSF Values
| Field | Value |
|---|---|
| Internal number | 999900002 |
| Visible document | FSF 9999/2 |
| Supplier reference | AI-FSF-20260519T073106Z |
| Supplier | [100] AI Demo Supplier 20260519T030323Z, VAT 590303236 |
| Route/list identity | /compras/fsf, table FactSimF, tipoop=FSF, tipoterc=F, actualizacc=T, recibo=F. |
| Status | LIQ / Finished, validation N/D. |
| Total/payment | Total 1.51; paid value 1.51; payment method NUM. |
| Stock effect | Warehouse 1 physical stock for the demo article changed from 3 to 4; customer-order quantity stayed 4; supplier-order quantity stayed 1. |
Backend Calls Observed
| Action or endpoint | Purpose |
|---|---|
NameEntidades&tabla=Forn | Loads supplier master data after selecting supplier 100. |
findNumNoForn | Checks duplicate supplier reference. The verified request used tabela=FactSimF, forn=100, and numnoforn=AI-FSF-20260519T073106Z. |
loadArtigoReducido&compras=T | Loads purchase article metadata, including current warehouse stock 3, cost 1.23, and VAT 23. |
insertLinhaTabDoc | Inserts the FSF line with id_tipoop=FSF, cliente=100, isforn=T, quantity 1, and warehouse 1. |
price_variation_article | Checks supplier/article price variation for supplier 100. |
create_document&option=calcular_totais | Calculates FSF totals. The verified total was 1.51. |
payment&option=validate | Checks payment coverage before save. |
payment&option=add | Adds the payment row. The verified request used compras=T, entidade=100, modopagamento=NUM, modobase=N, total=1.51, and tipoop=FSF. |
saveDocument | Saves the FSF. The verified payload used TipoOp=FSF, CodTipoLanc=AccVDinFMerc, NumNoForn=AI-FSF-20260519T073106Z, MovimentaStock=1, and id=47781. |
payment&option=get_payment | Loads payment data on the saved FSF view. |
DT_List_DocumentosF&table=FactSimF | Verifies the saved FSF list row. |
dt_list_recalc_stock_articles_lojas | Verifies warehouse stock after saving the FSF. |
Raw evidence: raw/playwright/workflows/supplier-simplified-invoice-fsf-20260519T073106Z.json. Screenshots: assets/screenshots/supplier-simplified-invoice-fsf-20260519T073106Z-01-create-page.png through assets/screenshots/supplier-simplified-invoice-fsf-20260519T073106Z-04-fsf-list.png.