Adds a record to the ISAudit table with an Action type of "User".

Syntax

finAuditFunctions.AuditAdd(sourceType, sourcePk, key, subKey, kvlOriginal, kvlNew, [kvlNotes])

Parameters

NameTypeOptionalByRefDescription
sourceType isefinAuditSourceType The Source Type. This is written to the 'SourceId' field in the ISAudit table.
sourcePk Integer The primary key of the Source being audited, e.g. the primary key of an Account. This is written to the 'SourcePk' field in the ISAudit table.
key String A Key detailing the Process calling the Audit, e.g. 'Account'. This is written to the 'Key' field in the ISAudit table.
subKey String A Sub-Key detailing the Process calling the Audit. This is written to the 'SubKey' field in the ISAudit table.
kvlOriginal ISKeyValueList The Key/Value List detailing the Original values of the object.
kvlNew ISKeyValueList The Key/Value List detailing the New values of the object.
kvlNotes ISKeyValueList Optional The Key/Value List detailing more information regarding the audit. This is written to the 'Notes' field in the ISAudit table. If omitted, a value of Nothing is assumed.

Return Value

Boolean

A Boolean value indicating success.

Member of:
finAuditFunctions
Namespace:
Intersoft.finSupport6
Assembly:
finSupport6, Version=6.0.3
Target Framework:
.NET 9.0