Inspect Reason Codes
Reason Codes standardize why an inspection item failed, was skipped, or needs an exception note.
Routes
Section titled “Routes”| Route | Purpose |
|---|---|
/inspect/reason-codes | Reason code list, create/edit dialogs, delete confirmation, and history dialog |
List Behavior
Section titled “List Behavior”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.
Create and Edit
Section titled “Create and Edit”Reason codes are created and edited through dialogs from the list page. The form records code, name, category, description, and active state.
Screenshot Status
Section titled “Screenshot Status”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.
Permissions
Section titled “Permissions”| Permission | Use |
|---|---|
inspect.reason-codes | Reason code list, create/edit dialogs, delete, and history actions |