Siebel Object Interfaces Reference > Interfaces Reference > Business Component Methods >
The Pick method places the currently selected record in a picklist business component into the appropriate fields of the parent business component.
NOTE: In Siebel Business Applications v.7.5.3 and later releases, Pick cannot be used to change the record in a read-only picklist field.
Pick must be invoked on the picklist's business component. When a record is picked on a constrained picklist using the GetPickListBusComp and Pick methods, the constraint is active. Therefore, only records that fulfill the constraint can be retrieved.
COM Data Control, COM Data Server, Java Data Bean, Mobile Web Client Automation Server, Server Script
This Siebel VB example sorts the values in the Sales Stage field.
Dim oBC as BusComp
set oBC = me.GetPickListBusComp("Sales Stage")
.ActivateField "Sales Stage Order"
.SetSortSpec "Sales Stage Order"
if .FirstRecord then .Pick
set oBC = Nothing
The following is the equivalent example in Siebel eScript.
function BusComp_NewRecord ()
var oBC = this.GetPickListBusComp("Sales Stage");
ActivateField("Sales Stage Order");
SetSortSpec("Sales Stage Order");
oBC = null;