ISaleProbability Property |
Probability - the sale's success rating
There is a predefined list of probabilities, but the user may change the probability percent. For example, if the customer has said he wants the product but has still not signed the contract, the normal probability could be set to 90 %. But, if the sales person knows that this customer is very reliable, he could change the probability to 100 %. Probability will then return 90.
Namespace:
SuperOffice.COM.SuperOfficeDB
Assembly:
SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
SyntaxIListTextItem Probability { get; set; }
Property Probability As IListTextItem
Get
Set
Dim instance As ISale
Dim value As IListTextItem
value = instance.Probability
instance.Probability = value
property IListTextItem^ Probability {
IListTextItem^ get ();
void set (IListTextItem^ value);
}
Property Value
Type:
IListTextItemIlistTextItem – a reference to the IListTextItem object
ExamplesProbability
This text may be copied to the notepad, and saved as a *.vbs file. Remember to change the login information.
Dim objSO
Dim result
Set objSO = CreateObject("SuperOffice.Application")
If not (objSO is nothing) Then
MsgBox "Current sale Probability set by the user: " & objSO.CurrentSale.Propability.Text, vbInformation + vbOKOnly, "SuperCOM"
else
MsgBox "Unable to connect to database"
end if
Set objSO = Nothing
See Also