FieldHistory GitHub

📊 Overview: 3 Functions

Extends: DataClass

🕐 Last updated: 2025-12-10T11:45:22.935Z


📑 Table of Contents


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 - -

🗂️ Tables

  • FieldHistory - ORDA DataClass class for FieldHistory table

� Forms


Generated from FieldHistory.4dm