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
|
|
|
|
|
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
- 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.
|