GetOwnerID

The GetOwnerID function is used to look up and return the Saleslogix OwnerID (SecCodeID) for a specified connection based on the owner name. Returns null if no owner is found.

GetOwnerID ( "connection", "owner name" )

For example:

GetOwnerID ("MyTarget", "Wall, Hadrian S." )

Runs the SQL statement on the specified connection:

‘Select seccodeid from seccode where seccodedesc = “owner name”’.

See also

Custom functions