Every action in Construction Hub — create, update, delete, approve — recorded in centralized audit log with user, timestamp, entity type and changes. For audit, compliance, court procedures.
In court procedures, internal audit, tax control — you must prove who did what when. Without centralized audit log — you can't.
Who changed price in offer X? Without log — no one knows. Legal disputes — unpredictable.
Various systems, various logs, various formats. Audit consolidation when needed — days of work.
Audit log with 100,000 records. How to find specific action? Without filters — impossible.
How much activity last month? Who's most active user? Without getStats — no overview.
Construction Hub centralizes audit across all modules.
Every action (create/update/delete/approve etc.) in every module records audit record with user, timestamp, entity type, changes.
getEntityTypes returns all object types with audit — Invoice, Contract, Act, Offer etc. For filtering and UI dropdowns.
getActions returns all possible actions — CREATE, UPDATE, DELETE, APPROVE, SIGN etc. Standardized classification.
list with filters by entity type, action, user, period. Pagination for large audit logs. Efficient search.
getStats provides aggregated metrics — total actions for period, distribution by type, most active users.
getById shows full detail of specific audit event — before/after data, IP, browser, user agent.
Four steps to professional audit:
Every operation in Construction Hub passes through audit middleware. Record is automatic, no user action.
Audit module provides unified view of all audit events from all modules.
By entity type, action, user, period. Find specific record in seconds.
Data can be extracted for audit, court, insurance. Standardized format.
Any firm working with regulated documents:
Full action trail for internal audit. Reports for regulator.
In court disputes — evidence of every action with timestamp.
Control over employee actions. Stats for activity evaluation.
Full audit trail per document. Efficient sampling and analysis.
Why automatic audit beats manual logs:
| Feature | Manual log | Construction Hub |
|---|---|---|
| Coverage | Partial | 100% automatic |
| Centralization | Different files | Unified audit module |
| Entity types | No structure | getEntityTypes |
| Actions | Free text | getActions enum |
| Search | Ctrl+F | Indexed filtering |
| Stats dashboard | Pivot | getStats endpoint |
| Before/after | Rare | Full changes in audit record |
CREATE, UPDATE, DELETE, APPROVE, SIGN, REJECT, CANCEL, LOGIN, LOGOUT etc. getActions returns full list. Every action in every module passes through audit middleware.
Invoice, Contract, Act, Offer, QuantitySurvey, Tender, Partner, User, Department etc. getEntityTypes returns full list.
By default — full company lifetime. Retention policy can be configured as needed.
No. Audit records are not deleted — only marked archived if needed. For court purposes — full history preserved.
Filters by entity type, action, user, period. list endpoint with pagination. Efficient search even with millions of records.
Yes. For UPDATE actions — before/after data snapshots. See precise before/after state.
Aggregated metrics — total actions for period, distribution by entity type, top active users. Dashboard for quick overview.