Evidence Summary
- Create route
/compras/ncf/create- List route
/compras/ncf- Final view
/compras/ncf/view/OTk5OTAwMDI1- Workflow run
supplier-credit-note-ncf-20260519T075930Z- Created document
999900025 / NCF 9999/25- Evidence file
raw/playwright/workflows/latest-supplier-credit-note-ncf.json
When to Use This
Use Note forn credit. [NCF] to register a supplier credit note. In the verified path the document stayed open and unpaid, updated the supplier current-account side, and reduced the physical stock for the returned/credited article line.
Step-by-Step
- Open Purchases / Note forn credit. [NCF], then click Create Credit Note Supplier, or navigate directly to
/compras/ncf/create. - Confirm the form is using
TipoOp=NCF. - Select the Supplier. The verified run used supplier
100, AI Demo Supplier 20260519T030323Z, VAT590303236. - Enter a traceable value in Supplier`s N.. The verified run used
AI-NCF-20260519T075930Z, checked byfindNumNoFornagainst tableNCredF. - Review dates and defaults. The verified run used emission date
19/05/2026, due date20/05/2026, series9999, employeeDemo, payment conditionPP, currencyEUR, and warehouse1. - Add the article line. The verified line used article
AI-DEMO-20260519-021105, quantity1, unit cost1.23, VAT23%, and total1.51. - Click Save and Finish.
- Confirm the Are you sure? dialog with OK.
- OfficeGest posts
saveDocument, redirects to the NCF view, and keeps the document in Open status. The verified save response was999900025%&=&OKDOC&=&. - Search the NCF list for
999900025or the supplier reference. The verified list row had statusABR/ Open, total1.51, and paid value0. - Verify stock if the note includes stock-moving articles. The verified run changed warehouse
1stock from5to4.
Verified NCF Values
| Field | Value |
|---|---|
| Internal number | 999900025 |
| Visible document number | NCF 9999/25 |
| Supplier reference | AI-NCF-20260519T075930Z |
| Supplier | [100] AI Demo Supplier 20260519T030323Z, VAT 590303236 |
| Route/list identity | /compras/ncf, table NCredF, tipoop=NCF, tipoterc=F, actualizacc=T, recibo=F. |
| Status | ABR / Open, validation N/D. |
| Payment | No payment line; ValorPago=0. |
| Total | 1.51 |
| Stock/order effect | Physical stock in warehouse 1 changed from 5 to 4; customer-order quantity stayed 4; supplier-order quantity stayed 2. |
Backend Calls Observed
| Action or endpoint | Purpose |
|---|---|
NameEntidades&tabla=Forn | Loads supplier master data after selecting supplier 100. |
findNumNoForn | Checks duplicate supplier reference using tabela=NCredF, supplier 100, and numnoforn=AI-NCF-20260519T075930Z. |
loadArtigoReducido&compras=T | Loads purchase article metadata, including physical stock 5, cost 1.23, VAT 23, and supplier-order quantity 2. |
insertLinhaTabDoc | Inserts the article into temporary NCF table 48047 with id_tipoop=NCF, 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 net, VAT, and total for the NCF note. |
saveDocument | Creates the open NCF document. The verified payload used TipoOp=NCF, CodTipoLanc=AccNCredFMerc, NumNoForn=AI-NCF-20260519T075930Z, MovimentaStock=on, id=48047, isedit=F, and israsc=0. |
DT_List_DocumentosF | Verifies the note in the NCF list using table NCredF, actualizacc=T, and tipoop=NCF. |
dt_list_recalc_stock_articles_lojas | Verifies warehouse stock after saving the NCF. |
Raw evidence: raw/playwright/workflows/supplier-credit-note-ncf-20260519T075930Z.json. Screenshots: assets/screenshots/supplier-credit-note-ncf-20260519T075930Z-01-create-page.png through assets/screenshots/supplier-credit-note-ncf-20260519T075930Z-04-ncf-list.png.
Validation Notes
- No payment modal: NCF Save and Finish did not require supplier payment.
- Open state: the verified credit note saved as
ABR/ Open withValorPago=0. - Stock distinction: NCF reduced physical stock in the verified run, unlike NDF, which left stock unchanged.