AddDatasetDocument (Opus Funktion)
Inhaltsverzeichnis
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 | Name des Dokuments | |
Filename | Dateiname des Dokuments | |
Tablename | Name der Tabelle (zB: 'SSP_Address') | |
RecordID | ID des Eintrags in obiger Tabelle der das Dokument hinzugefügt werden soll | |
Document | Daten, welche in die Datei gespeichert werden sollen | |
InformationTypeID | (optional) Informationstyp | |
CompanyID | (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); |
|---|