MPInterfacebImportDocument Method (clsImportBaseeCoreDataClassID, String, clsImportDocumenteDocumentType, clsImportDocumenteLinkType, String, String, DateTime, String, String)
|
Import a document by values to the folder mechanism.
Namespace:
MARIInterface
Assembly:
MARIInterface (in MARIInterface.dll) Version: 8.0.0.100
Syntaxpublic bool bImportDocument(
clsImportBaseeCoreDataClassID DataClassID,
string DataKey,
clsImportDocumenteDocumentType DocumentType,
clsImportDocumenteLinkType LinkType,
string FileNameAndPath,
string Titel,
DateTime DateTime,
string Memo,
string FolderName = ""
)
Public Function bImportDocument (
DataClassID As clsImportBaseeCoreDataClassID,
DataKey As String,
DocumentType As clsImportDocumenteDocumentType,
LinkType As clsImportDocumenteLinkType,
FileNameAndPath As String,
Titel As String,
DateTime As DateTime,
Memo As String,
Optional FolderName As String = ""
) As Boolean
Parameters
- DataClassID
- Type: MARIInterfaceclsImportBaseeCoreDataClassID
type of the data uses the ClassID. See clsImportBase.eCoreDataClassID - DataKey
- Type: SystemString
Data key (Projectnumber, Employeenumber etc.) - DocumentType
- Type: MARIInterfaceclsImportDocumenteDocumentType
type of the document clsImportDocument.eDocumentType - LinkType
- Type: MARIInterfaceclsImportDocumenteLinkType
type of link clsImportDocument.eLinkType - FileNameAndPath
- Type: SystemString
path of the file - Titel
- Type: SystemString
Title of the document - DateTime
- Type: SystemDateTime
Date - Memo
- Type: SystemString
Memo of the document - FolderName (Optional)
- Type: SystemString
if foldername is empty, then will be used the first folder
Return Value
Type:
Boolean
Remarks
See Also