Workflow

How to Create a Reparacao Molde OR

Verified end to end. Demo run mold-repair-or-20260519T062304Z created mold repair document OR 9999/3 / 999900003, verified it through the OR list, and confirmed that it increases customer-order quantity without moving physical stock.

Evidence Summary

Create route
/vendas/or/create
List route
/vendas/or
Final view
/vendas/or/view/OTk5OTAwMDAz
Workflow run
mold-repair-or-20260519T062304Z
Created document
999900003 / OR 9999/3
Evidence file
raw/playwright/workflows/latest-mold-repair-or.json

Verified Reparacao Molde OR workflow

When to Use This

Use Reparacao Molde [OR] for a mold-repair sales-side document where the article line represents work or material expected for a customer, but should not immediately reduce physical warehouse stock. In the verified demo, OR behaved like an open backlog document: physical stock stayed unchanged and customer-order quantity increased by the line quantity.

Step-by-Step

  1. Open Sales / Reparacao Molde [OR], then click New, or navigate directly to /vendas/or/create.
  2. Confirm the page title is OG - Reparacao Molde [OR]. The primary save actions are Save Draft, Save and Print, and Save and Finish.
  3. Select the customer. The verified run used customer 910, 100 Ouvidos Lda, VAT 509031862.
  4. Review the source association menu. OR exposes [ENC] Internal Doc as an association option; the verified run created a direct article-line OR.
  5. Confirm document series, employee, commercial, and payment term. The verified run used series 9999, employee Demo, commercial Comercial 1, and payment term PP.
  6. Optionally enter a reference. The verified run used AI-OR-20260519T062304Z.
  7. Add the article line. The verified run inserted article AI-DEMO-20260519-021105, quantity 1, warehouse 1, unit price 1.60, VAT 23%, total 1.97, and estimated date 19/05/2026.
  8. Click Save and Finish. OfficeGest showed the confirmation Are you sure?; confirm it to create the OR.
  9. OfficeGest posts saveDocument, redirects to the OR view, and creates an open mold repair document. The verified save response was 999900003%&=&OKDOC&=&.
  10. Search the OR list for 999900003. The verified row showed status ABR / Open, total 1.97, paid 0.00, pending 1.97, and payment term Pronto Pagamento.
  11. Check stock after saving. Warehouse 1 physical stock stayed 1, while customer-order quantity changed from 2 to 3.

Verified OR Values

FieldValue
Internal number999900003
Visible document numberOR 9999/3
Customer[910] 100 Ouvidos Lda, VAT 509031862
Route/list identity/vendas/or, table DocumOR, typesaft=WNE, tipoop=OR, oficinas=F, recibo=F, actualizacc=F.
LineArticle AI-DEMO-20260519-021105, quantity 1, warehouse 1, VAT 23%, estimated date 19/05/2026.
StatusABR, visible as Open; validation N/D.
Total1.97; paid 0.00; pending 1.97.
Stock/order effectWarehouse 1 physical stock stayed 1; qtd_enc_cliente changed from 2 to 3; qtd_enc_forn stayed 1.

Backend Calls Observed

Action or endpointPurpose
DT_List_Documentos&table=DocumORLoads and verifies OR documents with oficinas=F, recibo=F, actualizacc=F, typesaft=WNE, and tipoop=OR.
NameEntidades&tabla=ClienteLoads customer master data for customer 910, including VAT, address, seller, and employee context.
findDocsPendentesChecks pending customer documents for customer 910 during entity selection.
loadArtigoReducido / insertLinhaTabDocLoads the non-stock-updating article context and inserts the OR line. The call used actualizastocks=F, temporary table 47325, article AI-DEMO-20260519-021105, customer 910, warehouse 1, quantity 1, and document type OR.
create_document&option=calcular_totaisCalculates gross, VAT, and total. Verified totals were net 1.60, VAT 0.37, and total 1.97.
saveDocumentCreates the OR document. The verified response was {"return":"999900003%&=&OKDOC&=&","print_documents":[]}.
dt_list_recalc_stock_articles_lojasConfirms stock/order quantities after final save. Physical stock stayed 1; customer-order quantity changed to 3.

Raw evidence: raw/playwright/workflows/mold-repair-or-20260519T062304Z.json. Probe evidence: raw/playwright/vendas-or-create-probe.json. Screenshots: assets/screenshots/mold-repair-or-20260519T062304Z-01-create-page.png through assets/screenshots/mold-repair-or-20260519T062304Z-04-or-list.png.