Method AddDocumentLink(DocId: integer)
Description
Adds a document link in T_DocumentDetail for the item and the specified document. When creating the link a check is performed to make sure the document with DocId is present. If it is not, the link will not be created.