Order History & Activity Logging
Learn how order actions are tracked and logged in your activity history
Overview
Every significant action you perform on orders is automatically logged to your activity history. This creates an audit trail that helps you track changes, review past actions, and understand your workflow patterns. Activity logs are accessible from the History page in your dashboard.
What Gets Logged
Order Creation
When you create a new order, the system logs:
- • Order title
- • Client name
- • Total cost
- • Order status
- • Payment status
- • Timestamp
Status Changes
When you update an order's status (from table or edit modal):
- • Order title
- • Client name
- • Previous status
- • New status
- • Order amount
- • Timestamp
Order Updates
When you edit an order, the system creates a detailed change log showing:
- • Order title
- • Client name
- • List of all fields that changed
- • Old value → New value for each change
- • Timestamp
Changes:
• Quantity: 1 → 3
• Total: $25.00 → $75.00
• Material: PLA → PETG
Smart Tracking: Only fields that actually changed are included in the log, avoiding clutter from unchanged data.
Order Duplication
When you duplicate an order:
- • Original order ID and title
- • New order ID and title
- • Client name
- • Order amount
- • Timestamp
Order Deletion
When you delete an order, the log preserves:
- • Order title (for reference after deletion)
- • Client name
- • Order amount
- • Timestamp of deletion
Audit Trail: Even after deletion, you can see what order was removed and when, maintaining a complete history.
Viewing Activity History
Accessing the History Page
To view your complete activity log:
- 1. Navigate to Dashboard → History (in sidebar)
- 2. View chronological list of all activities
- 3. Use filters to focus on specific action types
- 4. Search for specific orders or clients
Comprehensive Log: The History page shows all order activities plus other system actions like client updates, printer changes, and filament modifications.
Activity Entry Format
Each activity entry displays:
- • Icon: Visual indicator of action type (create, edit, delete, etc.)
- • Action Description: What was done
- • Target Details: Order name, client name, amounts
- • Changes Made: For updates, shows old → new values
- • Timestamp: Exact date and time
- • User: Who performed the action (your user ID)
Detailed Log Information
Metadata Included
Every activity log entry includes standardized metadata:
- • Action Type: CREATE, UPDATE, DELETE, STATUS_CHANGE, DUPLICATE
- • Entity Type: ORDER (also tracks CLIENT, PRINTER, FILAMENT, etc.)
- • Entity ID: Unique identifier of the affected order
- • User ID: Your account ID
- • Timestamp: Millisecond-precision creation time
- • Details Object: Action-specific information (amounts, changes, etc.)
Change Tracking Fields
For order updates, these fields are tracked for changes:
- • Order title
- • Client name
- • Total amount
- • Quantity
- • Payment status
- • Material type
Order Timestamps
Automatic Timestamp Fields
Orders maintain several timestamps for tracking:
- • date: When the order was originally created
- • lastModified: When the order was last updated (any field change)
- • completedAt: When the order status was set to "Completed"
- • createdAt: System creation timestamp (metadata)
- • updatedAt: System update timestamp (metadata)
Completion Tracking: The completedAt timestamp is set when status changes to "Completed" and cleared if status changes away from "Completed", ensuring accurate completion date tracking.
Using Timestamps
These timestamps are used for:
- • Sorting: Orders sort by date (newest first within status groups)
- • Analytics: Revenue calculations use completedAt for time-based reporting
- • Client Stats: Last order date uses the most recent order date
- • Activity Logs: Timestamps show exact action times
Benefits of Activity Logging
Audit Trail
Complete record of all changes provides accountability and helps track down when and why changes occurred.
Error Recovery
If you accidentally delete or modify an order, the activity log shows what the original values were, helping you recreate or correct the data.
Workflow Analysis
Review your activity patterns to understand how long orders take to complete, when most orders are created, and identify workflow bottlenecks.
Client Communication
Reference the activity log when clients ask about order status changes or when specific updates were made.
Performance Tracking
See how many orders you complete per day, week, or month by reviewing order completion logs.
Best Practices
Regular Review: Check the History page periodically to stay aware of your recent activities and catch any unexpected changes.
Use for Debugging: If client statistics seem incorrect, check the activity log to see all order changes and status updates affecting that client.
Reference Before Deleting: Before deleting an order, note its details from the view modal - the activity log will only show title and amount after deletion.
Filter by Action Type: Use History page filters to focus on specific actions like all deletions or all status changes for targeted review.