SOFTWARE PLANNING GUIDE

What should a custom software audit trail record?

An audit trail should show which record changed, who or what changed it, when it happened and which values were affected. Capture a reason for changes that staff may have to explain later. If an edit needs to reach another system, record which revision that system actually confirmed.

Start with a call your team already gets

Suppose a site manager calls at midday. They expected an engineer in the morning. The schedule now says afternoon. The person on the phone needs two answers. Who moved the visit, and which time does the crew have?

Take a few questions like that into discovery. For a service scheduler, start with changes to a confirmed visit window, crew assignment or cancellation. For purchasing software, start with approvals and edits to requests that have already been signed off. Every route that can make those changes belongs in the scope, including imports, integrations and administrator screens. Guide to approval roles and revisions

Ask for a demonstration on the exact fields you care about. In Microsoft Dataverse, for example, recording changes to a field depends on audit settings at the environment, table and column levels. Microsoft Learn on Dataverse audit settings

Specify what each entry needs to show

Record and revision
Keep the job or order ID and the revision created by the change. For a batch import, link each affected record to the import run.
Actor and route
Use a stable ID for the staff account or service, along with the route it used. A named operator can start an import that is applied by a service account. Keep both references when you need to reconstruct that chain.
Time
Record when the server saved the change and show the time zone to reviewers. For offline work, distinguish the device’s reported edit time from the time the server accepted it.
Changed fields and reason
Keep the previous and new values where the review needs them. Prompt for a reason on actions such as cancelling a confirmed appointment. A short choice such as “Customer requested a new time” may be enough.

Agree what staff should see if the required history cannot be saved. One option for a change that must have a history is to save the edit and the audit entry in the same database transaction, so they succeed or fail together. Track confirmation from a separate system against the saved revision. PostgreSQL’s explanation of transactions

Follow one visit through two systems

In this hypothetical example, a maintenance firm schedules visits in one application and sends them to a separate crew app. Job J-418 is booked for tomorrow. Both the appointment windows and the event times below are shown in UTC.

History for job J-418
Time (UTC)Who or whatRevisionEvent
09:12Nina (U-23), scheduler9Changed 09:00–11:00 to 13:00–15:00. Reason recorded as customer request.
09:13Sync service9Request timed out. Crew app status unconfirmed.
09:16Sync service9A job lookup confirmed that the crew app had saved revision 9.
09:20Omar (U-31), scheduler10Restored 09:00–11:00 after the customer called back. Crew app update pending.

At 09:20, the office has the morning window and the last confirmed crew app revision says afternoon. Show both to the dispatcher so they know to check with the crew before promising a time. Keep the original edit in the history when the window is restored. If dispatch also needs to know that an engineer saw the new time, capture their acknowledgement against the revision they saw.

Decide who can see the history and for how long

Show dispatchers the fields they need on the jobs they are assigned to. Decide who can search across jobs or export a set of entries. Scope those permissions explicitly and protect entries from ordinary edits. Provide a way to correct the business record that adds a new entry with the reason.

Choose the fields the history needs. “Access note edited” may answer the question without copying a gate code into a second store and its exports. Agree who can remove expired entries and how long copies and backups are kept. OWASP’s guidance covers restricting access to log data and excluding secrets from logs. OWASP Logging Cheat Sheet

Put the history in the acceptance demo

Give the supplier a sample job and ask the dispatcher to run these checks.

  • Edit and restore. Move the visit and then restore it. The job shows two distinct changes, each with the actor, time, reason and values.
  • Change through an import. Move the same field through a batch import. The job history names the service and links to the import run and its initiating user.
  • Delay a confirmation. Leave revision 10 pending and deliver another confirmation for revision 9. The screen still identifies 10 as the current schedule and 9 as the last confirmed crew app revision.
  • Simulate a failed history write. If the project requires the edit and its history to save together, the edit returns an error. Reopening the job shows the previous revision as current.
  • Check two staff roles. The dispatcher can review their assigned job and gets an access denial when they request an export. The supervisor’s export contains the agreed fields for their team.

Attach a sample history and the expected results to your custom software project brief. Techlications can scope this work as part of a commissioned application or integration.

APPLY THIS TO YOUR BUSINESS

Start with the workflow you want to improve.

Share your current process, systems, and requirements. We’ll help define a practical project scope.

Discuss your project