Click or drag to resize

ISaleEarningPercent Property

EarningPercent - changing this affects Cost and Earning The profit on a sale, the amount left after the total cost of the sale is deducted The profit on a sale, the amount left after the total cost of the sale is deducted. Converted to a percentage of the amount.

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

Property Value

Type: Int32
Long – the total earning amount. Long – the earning percent.
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

EarningPercent

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 percent on this sale: " & objSO.CurrentSale.EarningPercent, vbInformation + vbOKOnly, "SuperCOM"
else
    MsgBox "Unable to connect to database"
end if
Set objSO = Nothing

See Also