Description: Updates one field in a target object's database table. The value is read from an entry of the current record when the third argument names one; otherwise that argument is treated as a literal value.
Calling convention: SetValue4Object("TargetObjectName": String, "TargetEntryName": String, SourceEntryOrValue: Variant, "KeyFieldName": String, KeyValue: Variant)
Parameters:
TargetObjectName: object whose table is updated.
TargetEntryName: target entry or database field.
SourceEntryOrValue: current-record entry name or literal value.
KeyFieldName: key entry name or raw database column.
KeyValue: value matched by the generated WHERE condition. The source registration contains no calling-convention text; this signature is derived from the implementation.
Returns: Undefined; no success value is assigned.
Availability: Default; requires a current source record and a valid target object.
Example:
SetValue4Object("DailyProduction", "Comment", "Approved", "DATA_ID", 42);