Zum Inhalt

AddDatasetDocument (Opus Funktion)

Beschreibung

Fügt zu einem bestimmten Datensatz ein gegebenes Dokument hinzu und gibt die ID des neuen Eintrages zurück. Stores a document as binary content in the dataset document table and links it to the specified record.

Argumente

Name

Typ

Beschreibung

Name

string

Name des Dokuments

Filename

string

Dateiname des Dokuments

Tablename

string

Name der Tabelle (zB: 'SSP_Address')

RecordID

integer

ID des Eintrags in obiger Tabelle der das Dokument hinzugefügt werden soll

Document

blob

Daten, welche in die Datei gespeichert werden sollen

InformationTypeID

integer

(optional) Informationstyp

CompanyID

integer

(optional) company to assign the document to; defaults to the currently selected company

Rückgabewert integer

Neue i_SSE_DatasetDocumentID ID of the newly created dataset document record

Beispiel

AddDatasetDocument(Lo_FileList[Li_i],Lo_FileList[Li_i],"SSD_Report",771,Lo_File);

Siehe auch