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

Table 41. 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 for SelectPrimary

  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;

    Else clear the picklist.

  5. Write and refresh the business component.
Siebel eSales Administration Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.