linkrelated — updates a related set's duplicates or alternative media links with details of a set just added
use Wacs;
use Wacs::WacsStd;
linkrelated( | ...); |
| parameter | description |
|---|---|
| setno | The set number for set just added. |
| relatedno | The older set to which this relationship connection should be made. |
| relationtype | The type of the relationship - duplicate or
altmedia |
| dbhandle | Database handle for the current connection to the database. |
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.