FieldHistory
📊 Overview: 3 Functions
Extends: DataClass
🕐 Last updated: 2025-12-10T11:45:22.935Z
📑 Table of Contents
- ⚙️ Functions
- Regular Functions
- ClassicListboxClickedEvent 🖥️
- display (4 params) 🖥️
- triggerLog (2 params) 🖥️
- Regular Functions
- 🔗 Related Items
Functions
Regular Functions
ClassicListboxClickedEvent
[🖥️ local]
Function ClassicListboxClickedEvent
Handles Alt+Click on listbox to display field history for the clicked cell
display
[🖥️ local]
Function display($FieldPointer : Pointer; $PrimaryKey : Integer; $ForeignDataClass : 4D.DataClass; $ForeignFormula : 4D.Function)
Displays field history in a popup window for the specified field and record
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$FieldPointer | Pointer | - | - |
$PrimaryKey | Integer | - | - |
$ForeignDataClass | 4D.DataClass | - | - |
$ForeignFormula | 4D.Function | - | - |
triggerLog
[🖥️ local]
Function triggerLog($FieldPointerCollection : Collection; $ChangedBy : Text)
Logs field changes to FieldHistory table when triggered on save (creates history record for each changed field)
Parameters:
| Name | Type | Optional | Description |
|---|---|---|---|
$FieldPointerCollection | Collection | - | - |
$ChangedBy | Text | - | - |
Related Items
🗂️ Tables
- FieldHistory - ORDA DataClass class for FieldHistory table
� Forms
- CustomerOrders - Data source for CustomerOrders form
- DownTime - Data source for DownTime form
- OrderOverview - Data source for OrderOverview form
- Pricing - Data source for Pricing form
- ToolTemps - Data source for ToolTemps form
Generated from FieldHistory.4dm