Evidence Summary
- Create route
/vendas/ngt/create- List route
/vendas/ngt- Final view
/vendas/ngt/view/OTk5OTAwMDEz- Workflow run
guide-to-supplier-ngt-20260519T054516Z- Created document
999900013 / NGT 9999/13- Evidence file
raw/playwright/workflows/latest-guide-to-supplier-ngt.json
When to Use This
Use Guide to the supplier [NGT] when goods need to be shipped from company stock to a supplier without creating a supplier invoice or payment. The document lives under Sales / Shipping but uses supplier entity data (tabla=Forn), list table NGTransF, typesaft=GT, and tipoop=NGT.
Step-by-Step
- Open Sales / Shipping / Guide to the supplier [NGT], then click Create Guide to Supplier, or navigate directly to
/vendas/ngt/create. - Select the supplier. The verified run used supplier
100, AI Demo Supplier 20260519T030323Z, VAT590303236. - Open Delivery Method and set the source/load warehouse. The verified run used warehouse
2, Armazem de Monos. - Set the discharge address to the supplier address. The verified run used
Rua Fornecedor Demo 19,Leiria, postal code2400-002, countryPT. - Confirm document series, employee, commercial, and payment term. The verified run used series
9999, employeeDemo, commercialComercial 1, and payment termPP. - Optionally enter a Reference. The verified run used
AI-NGT-20260519T054516Z. - Add the article line from the source warehouse. The verified run inserted article
AI-DEMO-20260519-021105, quantity1, warehouse2, unit price1.23, VAT23%, and total1.51. - Click Save and Finish. OfficeGest may show two confirmations: first Will move stock a different warehouse of your preference. Confirm?, then Are you sure?. Confirm both to finish the document.
- OfficeGest posts
saveDocument, redirects to the NGT view, and creates an open supplier guide. The verified save response was999900013%OK&=&OKDOC&=&. - Search the NGT list for
999900013. The verified row showed statusABR/ Open, total1.51, paid0.00, pending1.51, and payment term Pronto Pagamento. - Check stock after saving. Warehouse
2stock for the article changed from1to0; warehouse1stayed-2.
Verified NGT Values
| Field | Value |
|---|---|
| Internal number | 999900013 |
| Visible document number | NGT 9999/13 |
| Supplier | [100] AI Demo Supplier 20260519T030323Z, VAT 590303236 |
| Source warehouse | 2, Armazem de Monos. |
| Discharge location | Rua Fornecedor Demo 19, Leiria, postal code 2400-002, country PT. |
| Line | Article AI-DEMO-20260519-021105, quantity 1, warehouse 2, VAT 23%. |
| Status | ABR, visible as Open; validation N/D. |
| Total | 1.51; paid 0.00; pending 1.51. |
| Stock effect | Warehouse 2 stock changed from 1 to 0; warehouse 1 stayed -2. |
Backend Calls Observed
| Action or endpoint | Purpose |
|---|---|
DT_List_Documentos&table=NGTransF | Loads and verifies guide-to-supplier documents with typesaft=GT, tipoop=NGT, and actualizacc=F. |
NameEntidades&tabla=Forn | Loads supplier master data for supplier 100. |
loadArtigoReducido / insertLinhaTabDoc | Loads the source-warehouse article and inserts the NGT line. The article lookup used actualizastocks=T, tipoop=NGT, and warehouse 2. |
create_document&option=calcular_totais | Calculates gross, VAT, retention, and total. |
saveDocument | Creates the NGT document. The verified response was {"return":"999900013%OK&=&OKDOC&=&","print_documents":[]}. |
dt_list_recalc_stock_articles_lojas | Confirms source warehouse stock after final save. Warehouse 2 changed from 1 to 0. |
Raw evidence: raw/playwright/workflows/guide-to-supplier-ngt-20260519T054516Z.json. Probe evidence: raw/playwright/vendas-ngt-create-probe.json. Screenshots: assets/screenshots/guide-to-supplier-ngt-20260519T054516Z-01-create-page.png through assets/screenshots/guide-to-supplier-ngt-20260519T054516Z-04-ngt-list.png.