The GetCompetitor function is used to look up and return the Saleslogix CompetitorID for a specified connection based on the competitor company name.
Note: Returns null if no competitor is found.
GetCompetitorID ("connection", "competitor value" )
For example:
GetCompetitorID ("MyTarget","Allen Labs" )
Runs the SQL statement on the specified connection:
‘select competitorid from competitor where competitor = “competitor value ”'.
See also