Bookshelf Home | Contents | Index | Search | PDF |
Developing and Deploying Siebel eBusiness Applications > Creating a Virtual Business Component > Creating a Business Service >
Defining Business Service Scripts
After defining the Business Service, you can define the business service scripts that actually do the processing associated the with the NREC External Text Handler business service object. Sample code for this example is shown in Code Sample.
Business Service methods to implement are listed in Table 9.
For more information about business service methods, see Siebel Object Interfaces Reference.
To define and write the business service script for NREC External Text Handler
- Select the NREC External Text Handler business service.
- With the business service selected, right-click, and then choose Edit Server Scripts.
- Select Visual Basic as the scripting language and then click OK.
The script editor appears with Service_PreInvokedMethod selected as the service.
- Enter the custom functions by doing the following:
- Expand the (general) icon in the script editor and then select the (declarations) icon.
- In the text entry window, enter the code for the custom function.
- After finishing the function and saving your work, an icon representing the function appears in the left pane.
- Select the Service_PreInvokeMethod icon and then enter the code in text entry window.
- Select the (declarations) icon and then type the code in the text entry window.
After saving your work, Business Service Server Script objects are automatically created.
Bookshelf Home | Contents | Index | Search | PDF |
Developing and Deploying Siebel eBusiness Applications Published: 18 April 2003 |