# Compare Reports

> Upload, inspect, and analyze PeopleSoft Application Designer binary compare reports (.idx and .prt files).

---

LLMS index: [llms.txt](/llms.txt)

---

## What It Is

PeopleSoft Application Designer creates compare reports as binary `.idx` and `.prt` file pairs when running comparisons between databases.

The **Compare Reports** tool in psLens lets you upload these reports as a `.zip` archive or multi-file bundle to inspect definition differences, PeopleCode line diffs, and export summaries without Application Designer.

## Uploading Compare Reports

URL: `/compare-reports`

You can upload compare reports in two formats:

- **ZIP Archive (Option A):** Upload a single `.zip` file containing the `.idx` and `.prt` files produced by Application Designer.
- **Multiple Files (Option B):** Select or drag and drop multiple `.idx` and `.prt` files into the upload form.

## Compare Run Summary

Once uploaded, the tool extracts run metadata from the `.idx` files and summarizes the comparison:

- **Header Metadata:** Project name, source database name, target database name, PeopleTools release, and comparison run date.
- **Changed Object Counts:** Total count of modified definitions across all report types.
- **Definition Types Index:** A table of all compared definition types (Records, Pages, Components, Routings, Application Packages, PeopleCode, etc.) with row counts and diff indicators.

## Definition and PeopleCode Diff Views

Clicking any report in the overview opens its comparison details:

- **17-Column Definition Reports:** Displays definition keys, action (`Copy`, `Delete`, `None`), upgrade flag (`Yes`, `No`), source status, target status, and a table comparing attribute values between source and target databases.
- **PeopleCode Reports (`Upg58`):** Displays application package, class, and method names, a unified line-by-line diff, and a side-by-side comparison table highlighting changed lines.

## Exports

- **Markdown Summary:** Click **Export Markdown** to download a summary report containing all definition and code differences.
- **CSV Export:** Click **Export CSV** on any definition report detail page to download attribute diff rows.
