Siebel eSales Administration Guide > Shopping Service Methods Reference > Siebel eSales Workflow Methods >
SelectPrimary Method
This method is used to select a row from the picklist. Preconditions for Calling the SelectPrimary Method
None. Arguments for the SelectPrimary Method
The SelectPrimary method has the arguments shown in Table 43.
Table 43. SelectPrimary Arguments
|
|
|
|
|
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 for SelectPrimary
- Get and check the input arguments.
- Get the picklist business component from the Quote business component with the PickList Field input argument.
- Set the search specification using either the Primary Row Id or Primary ID Field input argument.
- Pick the first row if an active row exists;
Else clear the picklist.
- Write and refresh the business component.
|