Click or drag to resize

ISaleDocumentLink Property

OBSOLETE - use ActivityLinks instead A sale might have a document linked to it.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
SODocument DocumentLink { get; set; }

Property Value

Type: SODocument
SODocument – the specific document object
Examples

DocumentLink

This text may be copied to the notepad, and saved as a *.vbs file. You need a running CRM 5 to make it work. (This example uses the SuperOffice COM application library and not the SuperOffice db library interface).

This returns the filename of a linked document, if there is any.

VB
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    MsgBox "Current sales linked document filename: " & objSO.CurrentSale.Documentlink.filename, vbInformation + vbOKOnly, "SuperCOM"

else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also