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 44.
Table 44. SetBusCompFields Arguments
|
|
|
|
|
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
- Get the required inputs to get an instance of the business component.
- Get the search specification fields:
If they are passed, then set the search specification on the business component.
- Query the business component if it has not been queried or if the search specification is passed.
- Go through all the input arguments for <Field Name n> and set the value to the business component.
- Write to the record.
|