Click or drag to resize

ISaleUpdatedAssociate Property

The last user to modify the object The last associate that updated this sale. If the sale has never been updated, this will return 0

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

Property Value

Type: SOAssociate
SOAssociate - object containing the last editor of the appointment.

Implements

IModelBaseUpdatedAssociate
Examples

UpdatedAssociate

This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.

VB
Dim objSO
Dim result
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    result = objSO.CurrentSale.UpdatedAssociate.Identity          
    if result = 0 then
        msgbox "The current Sale has never been updated!", vbInformation + vbOkOnly, "SuperCOM"
    else
        msgbox "Current sale was last updated by: " & _
        objSO.CurrentSale.UpdatedAssociate.FullName, vbInformation + vbOKOnly, "SuperCOM"
    end if
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also