ISaleProbabilityPercent Property |
ProbabilityPercent - Likelyhood of success
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.
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 %. ProbabilityPercent will then return 100.
Namespace:
SuperOffice.COM.SuperOfficeDB
Assembly:
SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
Syntaxint ProbabilityPercent { get; set; }
Property ProbabilityPercent As Integer
Get
Set
Dim instance As ISale
Dim value As Integer
value = instance.ProbabilityPercent
instance.ProbabilityPercent = value
property int ProbabilityPercent {
int get ();
void set (int value);
}
Property Value
Type:
Int32IlistTextItem – a reference to the IListTextItem object
Long – the value of the probability set by the user.
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
ProbabilityPercent
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 percent set by the user: " & objSO.CurrentSale.ProbabilityPercent, vbInformation + vbOKOnly, "SuperCOM"
Else
MsgBox "Unable to connect to database"
end if
Set objSO = Nothing
See Also