Adds a new record to the ISUserData table.

Syntax

finUserDataFunctions.Add(sourceType, sourcePk, key, userDataPk, [valueString], [valueDate], [valueInteger], [valueDecimal], [valueMemo], [timestamp], [updateIfRecordExists])

Parameters

NameTypeOptionalByRefDescription
sourceType Integer The ISUserData SourceType.
sourcePk Integer The ISUserData SourcePk.
key String The ISUserData Key.
userDataPk Integer ByRef The Pk of the added / updated ISUserData record.
valueString String Optional A String value (saved as nvarchar with a maximum length of 255 characters).
valueDate Date Optional A Date value. If omitted, a value of Nothing is assumed.
valueInteger Integer Optional An Integer value. If omitted, a value of 0 is assumed.
valueDecimal Decimal Optional A Decimal value. If omitted, a value of 0 is assumed.
valueMemo String Optional A String value (saved as nvarchar with no maximum length).
timestamp Integer Optional If updating an existing record, the timestamp of the record being updated. Note: Not required if adding a new record, or specify -1 if the update should happen regardless. If omitted, a value of 0 is assumed.
updateIfRecordExists Boolean Optional Indicates if the record should be updated if the SourceType, SourcePk and Key combination already exist in the ISUserData table. If omitted, a value of True is assumed.

Return Value

Boolean

A Boolean value indicating success.

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