Click or drag to resize

ISaleSentry Property

Sentry settings for this object. Lets you find out your read/write access to the object.

Namespace:  SuperOffice.COM.SuperOfficeDB
Assembly:  SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntax
SOSentry Sentry { get; }

Property Value

Type: SOSentry
Examples

Sentry

VB
Dim objDB
Dim msg

Set objDB = CreateObject("superofficedb.database")
If Not (objDB is Nothing) Then
    objDB.login "<userid>", "<password>" ' log in to the database

    Set mySale = objDB.GetSale(2) 'get sale with sale_id=2
    msg = msg & "Are all required fields filled: " & mySale.Sentry.AreAllRequiredFieldsFilled & vbCrLf
    msg = msg & "Number of documents added to this sale =  " & mySale.ActivityLinks.Documents.Count & vbCrLf
    MsgBox msg, vbInformation, "SuperCOM"


Else
    MsgBox "unable to connect to database"
End If
Set objso = Nothing

See Also