Siebel eSales Administration Guide > Shopping Service API > Workflow Methods >

SelectPrimary


This method is used to select a row from the picklist.

Expected Preconditions Before the Method Can Be Called

None.

Arguments

The SelectPrimary method has the arguments shown in Table 57.

Table 57. SelectPrimary Arguments
Name
Type
Data Type
Optional
Comments
PickList Field
Input
String
Y
Name of the field that has the picklist.
Primary ID Field
Input
String
Y
Primary Id field.
Primary Row Id
Input
String
Y
Row ID for the picklist.
ReturnVal
Output
String
Y
Returns Success or Fail. Not used.

Pseudo-Algorithm

  1. Get and check the input arguments.
  2. Get the picklist business component from the Quote business component with the PickList Field input argument.
  3. Set the search specification using either the Primary Row Id or Primary ID Field input argument.
  4. Pick the first row if an active row exists;
  5. Else clear the picklist.

  6. Write and refresh the business component.

 Siebel eSales Administration Guide 
 Published: 18 April 2003