Click or drag to resize

ISaleEarning Property

Earning - changing this affects Amount and EarningPercent The profit on a sale, the amount left after the total cost of the sale is deducted

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

Property Value

Type: Int32
Long – the total earning amount.
Examples

Earning

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

VB
Dim objSO
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
    MsgBox "The earning on this sale: " & objSO.CurrentSale.Earning, vbInformation + vbOKOnly, "SuperCOM"vbOKOnly, "SuperCOM"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also