> This page is for Docs.

> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://zuora.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://zuora.ferndocs.com/_mcp/server.

# Audit trail for reports

> This reference explains the audit trail functionality for reports.

This reference explains the audit trail functionality for reports.

The following table lists the various fields and their expected values for report saves.

<table>
  <tr>
    <th>
      Field
    </th>

    <th>
      Value(s)
    </th>
  </tr>

  <tr>
    <td>
      id
    </td>

    <td>
      ID of the Saved Report Definition
    </td>
  </tr>

  <tr>
    <td>
      type
    </td>

    <td>
      auditobjectchangeevent
    </td>
  </tr>

  <tr>
    <td>
      createdbyid
    </td>

    <td>
      The login user’s ID
    </td>
  </tr>

  <tr>
    <td>
      createddate
    </td>

    <td>
      The record's creation date
    </td>
  </tr>

  <tr>
    <td>
      updateddate
    </td>

    <td>
      The record's latest updation date
    </td>
  </tr>

  <tr>
    <td>
      timestamp
    </td>

    <td>
      The timestamp of the object change
    </td>
  </tr>

  <tr>
    <td>
      eventid
    </td>

    <td>
      ID of the object change event
    </td>
  </tr>

  <tr>
    <td>
      action
    </td>

    <td>
      Use standard audit trail behavior

      * CREATED
      * UPDATED
      * DELETED
    </td>
  </tr>

  <tr>
    <td>
      sequencenumber
    </td>

    <td>
      The sequence number of the login record
    </td>
  </tr>

  <tr>
    <td>
      objecttype
    </td>

    <td>
      “Report”
    </td>
  </tr>

  <tr>
    <td>
      tokenid
    </td>

    <td>
      The ID of the login token
    </td>
  </tr>

  <tr>
    <td>
      transactionid
    </td>

    <td>
      ID of the transaction that the change belongs to
    </td>
  </tr>

  <tr>
    <td>
      username
    </td>

    <td>
      Username of the user who made the report change
    </td>
  </tr>

  <tr>
    <td>
      attributeid
    </td>

    <td>
      Enumeration of report metadata that can be changed. These are based on values taken before and after from the zc_report table. The token values include:

      * Title
      * Description
      * Folder
      * ShareAsReadOnly
      * Datasource
      * ColumnGroups (JSON, based on zc_report.definition colFields)
      * RowGroups (JSON, based on zc_report.definition rowFields)
      * ValueFields (JSON, based on zc_report.definition valFields)
      * SelectedFields (JSON, based on zc_report.definition selectedFields)
      * DetailFilters (JSON, zc_report.definition detailFilters)
      * SummaryFilters (JSON, zc_report.definition summaryFilters)
      * RollingTotals
    </td>
  </tr>

  <tr>
    <td>
      oldvalue
    </td>

    <td>
      Previous value for the attributeid right before clicking **Save** (if the attributeid was changed)
    </td>
  </tr>

  <tr>
    <td>
      namespace
    </td>

    <td>
      “ReportManagement”
    </td>
  </tr>

  <tr>
    <td>
      userid
    </td>

    <td>
      User ID of user who edited the report.
    </td>
  </tr>

  <tr>
    <td>
      objectid
    </td>

    <td>
      The name of the changes object.
    </td>
  </tr>

  <tr>
    <td>
      newvalue
    </td>

    <td>
      New value for the attributeid right before clicking Save (if the attributeid was changed).
    </td>
  </tr>

  <tr>
    <td>
      objectname
    </td>

    <td>
      Title of Report that was updated.
    </td>
  </tr>

  <tr>
    <td>
      year
    </td>

    <td>
      The year when the record is created.
    </td>
  </tr>

  <tr>
    <td>
      month
    </td>

    <td>
      The month when the record is created.
    </td>
  </tr>

  <tr>
    <td>
      day
    </td>

    <td>
      The day of record creation.
    </td>
  </tr>
</table>