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