Generate reports and PDF previews¶
This workflow assembles data sets from case-search, assignment, board-log, and attorney-message screens and renders xPression or SSRS output, imaging payloads, or CSV exports.
| Field | Value |
|---|---|
| Operation ID | OP-APP-008 |
| Trigger | User requests a print/preview action or CSV export from a screen manager |
| Libraries involved | SAIF.Application.Claim.Legal, SAIF.Services.Printing, SAIF.Services.Imaging.Import, SAIF.Services.Export |
| Screens | frmPrintPreview (utility page, no screen doc) |
| Inputs | Screen-assembled data set to print, preview, or export |
| Outputs | Rendered PDF/report output, imaging distribution payload, or CSV file |
Steps¶
SAIF.Application.Claim.Legalscreen managers assemble the data sets used by case-search, assignment, board-log, and attorney-message print actions.- SAIF.Services.Printing renders xPression or SSRS output through
clsPrint,clsRSPrint, and frmPrintPreview (utility page, no screen doc). - SAIF.Services.Imaging.Import supplies the imaging payload structure used by printing and distribution workflows.
- SAIF.Services.Export supports CSV output where the workflow requires a downloadable tabular export.
- Note:
ExportServices.GetCSVskips null fields instead of emitting empty columns, which can create column-misaligned CSV output (see Tech debt).
Process flow¶
The following diagram visualizes this workflow across components.
flowchart TD
Start([User requests print, preview, or export]) --> S1[Screen manager assembles data set]
S1 --> D{Export type?}
D -->|PDF/report| S2[SAIF.Services.Printing renders xPression or SSRS output]
D -->|CSV| S3[SAIF.Services.Export produces CSV file]
S2 --> S4[SAIF.Services.Imaging.Import supplies distribution payload]
S4 --> EndOk([Output delivered to user])
S3 --> EndOk
Failure and edge-case behavior¶
- CSV column misalignment: null field values are skipped rather than emitted as empty columns, which can shift column alignment in the exported file (see Tech debt).
Related documentation¶
Sources¶
SAIF.Services.Printing/clsPrint.vbSAIF.Services.Printing/clsRSPrint.vbSAIF.Services.Export/ExportServices.vbSAIF.Services.Imaging.Import/SAIF.Services.Imaging.Import.vbproj