Intangles DTC log

Intangles DTC Log

The Intangles DTC Log is part of the Erpnext Intangles Integration module. It records Diagnostic Trouble Codes (DTCs) received from Intangles for each vehicle, helping users monitor and track vehicle faults automatically.

Purpose

The Intangles DTC Log is used to:

  • Store diagnostic data received from Intangles APIs.
  • Automatically create Vehicle Service Logs for new DTC issues.
  • Prevent duplicate DTC service records for the same vehicle.
  • Monitor vehicle health and detect issues early.
  • Clean up older DTC records automatically after 30 days.

Key Features

  • Automatic DTC Logging: Saves DTC details such as vehicle number, timestamp, and fault codes.
  • Service Log Creation: Automatically creates a new Vehicle Service Log for new DTC codes.
  • Cache Support: Uses caching to store DTC descriptions for faster access.
  • Auto Cleanup: Deletes DTC logs older than 30 days.
  • Vehicle Auto-Creation: Creates vehicle records automatically if missing.

Field Details

Field Name Description
ID Unique identifier for the DTC log entry received from Intangles.
Timestamp Date and time when the DTC event was generated by Intangles.
Is Set Indicates whether the DTC is currently active or not.
DTCs List of Diagnostic Trouble Codes (fault codes) received for the vehicle.
MID Module Identifier that represents the DTC source.
Is SID Indicates if a Subsystem Identifier (SID) is present.
Account ID Account ID associated with the DTC record from Intangles.
Vehicle ID Unique vehicle identifier provided by Intangles.
Vehicle No Vehicle registration or license plate number.
Type Specifies the type of DTC record.
Status Indicates the DTC status, such as “active” or “removed”.
Overall Response Stores the complete JSON response received from the Intangles API.

Permissions

The following roles have full access to create, read, write, delete, export, print, report, share, and email:

  • System Manager
  • Driver
  • Host
  • Attender

Automation

  • Automatic Cleanup: Logs older than 30 days are automatically deleted.
  • Webhook Handler: The system receives DTC logs from Intangles through an automated webhook.
  • Error Handling: Invalid JSON or missing data is logged in Frappe Error Logs for troubleshooting.

Example Workflow

  1. Intangles sends a DTC log to the system through an API.
  2. The system saves the details in the Intangles DTC Log.
  3. If a new DTC code is found, a corresponding Vehicle Service Log is created automatically.
  4. When a DTC is marked as “removed”, the related service log status is updated.
Discard
Save
This page has been updated since your last edit. Your draft may contain outdated content. Load Latest Version

On this page

Review Changes ← Back to Content
Message Status Space Raised By Last update on