> ## Documentation Index
> Fetch the complete documentation index at: https://www.twicecommerce.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Stock Item - Activity Log

> Audit trail of all changes and actions performed on a stock item

export const viewAccessDefinition = "Read-only access without ability to make changes.";

export const editAccessDefinition = "Update and read data, but cannot create or delete.";

export const manageAccessDefinition = "Create, update, read, and delete data.";

export const permissionsDefinition = "The actions you are authorized to perform.";

export const visibilityDefinition = "Which features, sections, or data tables are visible to you.";

export const userRoleDefinition = "What a user can see and do. Each user has one built-in system role — Owner, Admin, Manager, or Member — and can also be assigned any number of custom roles you create with specific permissions. Effective access is the combination of all their roles.";

<Frame caption="Inventory > Stock Items > [Item] > Activity Log">
  <img src="https://mintcdn.com/twicecommerce/lZhc_tO8u1u_bL0Q/images/stock-item-activity-log-tab.webp?fit=max&auto=format&n=lZhc_tO8u1u_bL0Q&q=85&s=79203b0374a06b3c97f33f2cc2b44670" alt="Stock item activity log showing detailed change history" width="1920" height="1080" data-path="images/stock-item-activity-log-tab.webp" />
</Frame>

<Info>
  This view can look different dependent on your user role. <br />See [Visibility & Permissions](#visibility-and-permissions) for details.
</Info>

<Info>
  **New to Stock Items?** Understand how Stock Items differ from SKUs in our [Stock Item vs SKU](/docs/inventory/stock-item-vs-sku) guide.
</Info>

## Primary Purpose

TWICE automatically collects activity logs for this stock item, storing all view and edit/add/delete events with full user attribution and change details.

<AccordionGroup>
  <Accordion title="Track User Access">
    See which user accounts have viewed or accessed this stock item, ensuring transparency and data privacy compliance.
  </Accordion>

  <Accordion title="Monitor Changes">
    View every modification made to the item record—what changed, when it changed, and who made the change.
  </Accordion>

  <Accordion title="Auditability & Compliance">
    Maintain an immutable audit trail for regulatory compliance, showing complete accountability for all actions on this item.
  </Accordion>

  <Accordion title="Change Attribution">
    Know exactly which team members performed specific actions, helping with accountability and troubleshooting.
  </Accordion>
</AccordionGroup>

## Related Concepts

Here are a few key concepts of TWICE Commerce that relate to the Activity Log.

<AccordionGroup>
  <Accordion title="Immutable by Design">
    Activity logs are uneditable by nature—once logged, entries cannot be modified or deleted. This makes them compliant for audit and regulatory requirements.
  </Accordion>

  <Accordion title="Automatic Collection">
    TWICE automatically collects all activity—views, edits, additions, deletions—without requiring any manual tracking or configuration.
  </Accordion>

  <Accordion title="Account-Level Visibility">
    In addition to item-level logs, you can access an account-wide activity log from the top navigation bar to see all activity across your entire TWICE account.

    Read more: [Activity Logs Concept](/docs/concepts/admin/activity-logs)
  </Accordion>
</AccordionGroup>

## Visibility and Permissions

Access to this view is controlled by your <Tooltip tip={userRoleDefinition}>user role</Tooltip>. Your user role determines both
<Tooltip tip={visibilityDefinition}>visibility</Tooltip> and
<Tooltip tip={permissionsDefinition}>permissions</Tooltip> for
<Tooltip tip={manageAccessDefinition}>manage</Tooltip>,
<Tooltip tip={editAccessDefinition}>edit</Tooltip>, and
<Tooltip tip={viewAccessDefinition}>view</Tooltip> access levels.

<Tabs>
  <Tab title="Visibility" icon="eye">
    | Feature           | Admin | Manager | Member |
    | ----------------- | ----- | ------- | ------ |
    | View Activity Log | ✓     | ✓       | ✓      |
    | User Attribution  | ✓     | ✓       | ✗      |
    | Detailed Changes  | ✓     | ✓       | ✗      |
    | Export Audit Data | ✓     | ✗       | ✗      |
  </Tab>

  <Tab title="Permissions" icon="key">
    | Resource          | Admin  | Manager | Member |
    | ----------------- | ------ | ------- | ------ |
    | View Audit Log    | Manage | Manage  | View   |
    | Export Audit Data | Manage | View    | View   |
  </Tab>
</Tabs>
