Name

linkrelated — updates a related set's duplicates or alternative media links with details of a set just added

Synopsis

use Wacs;
use Wacs::WacsStd;
linkrelated(...); 
 

Parameters

parameterdescription
setnoThe set number for set just added.
relatednoThe older set to which this relationship connection should be made.
relationtypeThe type of the relationship - duplicate or altmedia
dbhandleDatabase handle for the current connection to the database.

Summary

The linkrelated updates the related record with the appropriate pointer to the just added record to allow interlinking of related records. The relationship can be either that of a duplicate set (relation type: duplicate) that as come from an alternate vendor or at a different resolution, or an alternative media (relation type: altmedia) set such as the video of the same scenario and models as an existing image set.

Availability

As a collection administration function, linkrelated is currently only available in perl. This function is new in Wacs 0.9.0 and is not available in previous versions.