Description

Links the process number of the predecessor with the successor.

Optional: Can additionally enter a process description in the process table.


Syntax

AL
SetProcessLink(SourceRecordVariant: Variant; TargetRecordVariant: Variant)
 
SetProcessLink(SourceRecordVariant: Variant; TargetRecordVariant: Variant; SourceECMDocDef: Record "ECM Document Definition"; TargetECMDocDef: Record "ECM Document Definition")


Parameters

Is the source data record (predecessor) from which the process number is determined in order to establish a link with a target data record.

If the source record does not yet contain a process number, a new process number is created.

Tip: The SourceRecordVariant can be passed as Record, RecordID or RecordRef.


Is the target record (successor) that is linked to the source record using the process number.

If the target record does not yet contain an process number, a new process number is created.

Tip: The TargetRecordVariant can be passed as Record, RecordID or RecordRef.


Here you can optionally enter the ECM document definition for the source data record in order to create a process in the process table.

More Information:  ECM Document Definition - "Assign" FastTab


Here you can optionally enter the ECM document definition for the target record to create a process in the process table.

More Information: ECM Document Definition - "Assign" FastTab


Return Value:



Remarks:



Example: