Competitor
Competitor is a list defined by the database administrator. It may be used to define different competitors in the market. From CRM 5 (Release 5.5) the field is visible in all states of a sale, in the first version it was only available when a sale was set to Lost.
Namespace:
SuperOffice.COM.SuperOfficeDB
Assembly:
SuperOfficeDB.Interop (in SuperOfficeDB.Interop.dll) Version: 8.0.0.0
SyntaxIListTextItem Competitor { get; set; }
Property Competitor As IListTextItem
Get
Set
Dim instance As ISale
Dim value As IListTextItem
value = instance.Competitor
instance.Competitor = value
property IListTextItem^ Competitor {
IListTextItem^ get ();
void set (IListTextItem^ value);
}
Property Value
Type:
IListTextItemIListTextItem - A reference to the iListtextitem object
ExamplesCompetitor
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 competitor: " & objSO.CurrentSale.competitor.text, vbInformation + vbOKOnly, "SuperCOM"
else
MsgBox "Unable to connect to database"
end if
Set objSO = Nothing
See Also