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

SetBusCompFields


This method is used to set a list of fields in a business component.

Expected Preconditions Before the Method Can Be Called

None.

Arguments

The SetBusCompFields method has the arguments shown in Table 58.

Table 58. SetBusCompFields Arguments
Name
Type
Data Type
Optional
Comments
Business Object
Input
String
N
Business object.
Business Component
Input
String
N
Business component.
Search Field
Input
String
Y
Field on the business component.
Search Value
Input
String
Y
Value to be set to the search specification.
<Field Name1>
Input
String
Y
Name/value pair.
<Field Name2>
Input
String
Y
Name/value pair.

Pseudo-Algorithm

  1. Get the required inputs to get an instance of the business component.
  2. Get the search specification fields:
  3. If they are passed, then set the search specification on the business component.

  4. Query the business component if it has not been queried or if the search specification is passed.
  5. Go through all the input arguments for <Field Name n> and set the value to the business component.
  6. Write to the record.

 Siebel eSales Administration Guide 
 Published: 18 April 2003