Click or drag to resize

IDatabaseAddDocumentForAssociate Method

Add an existing file to the document archive on behalf of some associate, returning a new document object for the file.

Namespace:  SuperOffice.COM.Application
Assembly:  SOCRM.Interop (in SOCRM.Interop.dll) Version: 8.0.0.0
Syntax
IDocument AddDocumentForAssociate(
	string i_FilePath,
	bool i_RemoveOriginal,
	bool i_OpenCreatedDocument,
	int i_AssociateId,
	int i_ContactId,
	int i_PersonId,
	int i_ProjectId
)

Parameters

i_FilePath
Type: SystemString
i_RemoveOriginal
Type: SystemBoolean
i_OpenCreatedDocument
Type: SystemBoolean
i_AssociateId
Type: SystemInt32
i_ContactId
Type: SystemInt32
i_PersonId
Type: SystemInt32
i_ProjectId
Type: SystemInt32

Return Value

Type: IDocument
See Also