Description: Loads a source record, copies compatible entry values into a new target-object record, and saves it.
Calling convention: CIP_CopyRow("SourceObjectName": String, SourceDataID: Integer, "TargetObjectName": String)
Parameters:
SourceObjectName: source object name.
SourceDataID: source record DATA_ID.
TargetObjectName: target object name.
Returns: DATA_ID of the new target record, or -1 when no record was created before an error. Invalid arguments, objects, or incompatible structures raise an exception.
Availability: Default desktop and web environments with write access to the target object.
Example:
NewDataID := CIP_CopyRow("OrderTemplate", 120, "Orders");