Workflow

How to Use Purchase Lot Printing

Filter behavior verified. Probe compras-impreslote-interaction-probe.json opened /compras/impreslote, clicked Filter, and captured listaImpresLote with purchase context. The default filter returned no rows. The final Print action was not clicked.

Evidence Summary

Route
/compras/impreslote
Page title
OG - Lot Printing
Probe file
raw/playwright/compras-impreslote-interaction-probe.json
Screenshot
assets/screenshots/probe-compras-impreslote-interaction-after-filter.png

Observed Purchase Lot Printing workflow

When to Use This

Use purchase Lot Printing when supplier-side documents need to be found and printed in batch. This page mirrors the Sales lot printing utility but uses supplier context and purchase document tables.

Step-by-Step

  1. Open Purchases / Lot Printing, or navigate directly to /compras/impreslote.
  2. Select a Supplier if the batch should be limited to one vendor.
  3. Choose whether the date range filters by Date or Data Reg.. The observed default was Date.
  4. Set Since and to date/time values if needed. The observed default time range was 00:00 to 23:59.
  5. Choose Serial Num. The observed default used NSerie=null.
  6. Choose the supplier document type. The observed default was tipoDoc=AFT, mapped to backend table documaft.
  7. Choose the Print mode. The observed default used tipo_impressao=-1.
  8. Optionally set Initial and End document-number bounds.
  9. Keep or clear Group the documents in one file. The observed default was checked with value T.
  10. Click Filter. The verified probe called GET /ajaxserver?action=listaImpresLote.
  11. Review the resulting table before printing. The observed table search fields include search_documentnumber, search_Data, search_Nome, and search_Total.
  12. Select rows and click Print only when the supplier-document batch is correct.

Verified Filter Result

Observed valueDetail
Default result{"data":[]}; the table displayed No data available in table and the button stayed Print(0).
Backend callaction=listaImpresLote, date_filter_type=date, date_time_ini=00:00, date_time_fim=23:59, codterc=, tipoterc=F, nserie=null, table=documaft, compras=T, filtrar=T.
Main controlscodterc, date_filter_type, dataini, datafim, NSerie, tipoDoc, tipo_impressao, inicial, final, agrupar, and select_all.

Backend Calls Observed

Action or endpointPurpose
listaImpresLoteLoads purchase documents eligible for batch printing. Supplier context is expressed with tipoterc=F and compras=T.
get_home_news and notifications option=get_new_notificationsBackground page-load calls captured during the probe.

Validation Notes