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

SetBusCompFields Method


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

Preconditions for Calling the SetBusCompFields Method

None.

Arguments for the SetBusCompFields Method

The SetBusCompFields method has the arguments shown in Table 42.

Table 42. 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 for SetBusCompFields

  1. Get the required inputs to get an instance of the business component.
  2. Get the search specification fields:

    If they are passed, then set the search specification on the business component.

  3. Query the business component if it has not been queried or if the search specification is passed.
  4. Go through all the input arguments for <Field Name n> and set the value to the business component.
  5. Write to the record.
Siebel eSales Administration Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.