Skip to content

Inspect Reason Codes

Reason Codes standardize why an inspection item failed, was skipped, or needs an exception note.

RoutePurpose
/inspect/reason-codesReason code list, create/edit dialogs, delete confirmation, and history dialog

The list supports search, category, active/inactive filters, sortable columns, table/card responsive views, and active filter chips.

Rows show code, name, category, description, active state, and actions. Available actions include edit, delete, and entity history depending on permissions.

Reason codes are created and edited through dialogs from the list page. The form records code, name, category, description, and active state.

The list screenshot is attempted by scripts/portal/inspect/screenshots.py. The current wiki tenants returned portal 404 for Inspect routes, so screenshots are indexed as pending. Create/edit dialog screenshots depend on a user with visible write controls and, for edit, at least one saved reason code.

PermissionUse
inspect.reason-codesReason code list, create/edit dialogs, delete, and history actions