IDocumentContact Property |
Contact this document refers to.
The contact the document is written to. The document record is saved under this company in the CRM 5 client
Namespace:
SuperOffice.COM.SuperOfficeDB
Assembly:
SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
SyntaxSOContact Contact { get; set; }
Property Contact As SOContact
Get
Set
Dim instance As IDocument
Dim value As SOContact
value = instance.Contact
instance.Contact = value
property SOContact^ Contact {
SOContact^ get ();
void set (SOContact^ value);
}
Property Value
Type:
SOContactSOContact - object containing the company this document is written to
ExamplesContact
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
MsgBox "Current document is written to: " & objSO.CurrentDocument.contact.name, vbInformation + vbOKOnly, "SuperCOM"
else
MsgBox "Unable to connect to database"
end if
Set objSO = Nothing
See Also