Credit control · printed report
Which client is this invoice for?
The aged balance exists, but only printed.
A spool file: page headers, clients, invoices, totals.
Synthetic file, fictitious clients
The problem
The page break cuts a client in two.
- Page 1: the client and two invoices.
- Page 2: three invoices, no client.
- Credit control retypes the report.
Nothing is changed
The report stays as printed.
- lumnik reads each line.
- It drops layout and totals.
- It carries the client onto its invoices.
What it took to write
- fill-down:
columns: [client_code, client_name]The client carries down onto its invoices.
The whole scenario fits in 2 declaration files, 46 lines.
The result
12 invoices, each with its client.
- 411ANSE: 5 invoices over 2 pages, 8,957.30.
- The printed totals found again.
- FA26-0644: 85 days late.
The limit
The filter must keep the client lines.
- A dropped line carries nothing.
- An invoice reprinted identically is the same row.
Try it
The scenario replays end to end.
One connector, one entity: each step is published with its output.