Workflow

How to Use Lot Printing

Filter behavior verified. Probe vendas-impreslote-interaction-probe.json opened /vendas/impreslote, clicked Filter, captured listaImpresLote, and loaded 9 invoice rows. The final Print action was not clicked because it may create files, open printable documents, or increment print counts.

Evidence Summary

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

Observed Lot Printing workflow

When to Use This

Use Lot Printing when you need to find a batch of existing sales documents and print them together, optionally grouped into a single file. The page is a printing utility, not a document creation page.

Step-by-Step

  1. Open Sales / Lot Printing, or navigate directly to /vendas/impreslote.
  2. Use Customers and Sellers to narrow the document owner context, or leave them at All.
  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 the batch should be limited. The observed default time range was 00:00 to 23:59.
  5. Choose Serial Num if a specific document series is required. The observed hidden value was NSerie=null when all series were selected.
  6. Choose Document Type. The observed default was [CI] Invoice with hidden value tipoDoc=CI and backend table DocumCI.
  7. Choose the Print mode. The observed default was Standard with 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. Columns observed were NUM., DATE, CUSTOMER, NUMBER OF PRINTS, and TOTAL.
  12. Select individual rows or use select_all, then click Print only when the batch is correct.

Verified Filter Result

Observed valueDetail
Rows returned9; button changed from Print(0) to Print(9).
Backend callaction=listaImpresLote, date_filter_type=date, date_time_ini=00:00, date_time_fim=23:59, nserie=null, table=DocumCI, compras=F, filtrar=T.
Example rowsCI 9999/1, CI 9999/2, CI 9999/3, CI 9999/4, CI 9999/5, CI 9999/6, CI 9999/7, CI 9999/8, and CI 9999/9.
Demo-created rowCI 9999/9, dated 19/05/2026, customer [910] 100 Ouvidos Lda, number of prints 0, total 1,97.

Backend Calls Observed

Action or endpointPurpose
listaImpresLoteLoads the print-batch table using filters for date type, date range, seller, customer, series, document table, initial/final range, and sales/purchases context.
imprimirConfigured by page script for the final print operation. The observed logic posts num, tipoop, oficinas=F, impressao=F, agrupar, selected documents as docsagrup, tipo_impressao, and em_lote=T. This action was not executed in the probe.

Validation Notes