Click or drag to resize

ISaleChanged Property

has record been changed since read? If the sale has been modified since it was loaded, this will return false

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

Property Value

Type: Boolean

Boolean

False the sale has been modified since it was loaded.

True the sale has never been modified.

Implements

IModelBaseChanged
Examples

Changed

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.Changed
    if result = false then
        MsgBox "Current sale has been modified since it was loaded ", vbInformation + vbOKOnly, "SuperCOM"
    else
        msgbox "The current sale has NOT been modified since it was loaded.", vbInformation + vbOKOnly, "SuperCOM"   
    end if
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also