Posts

Showing posts from September, 2013

Siebel Business Service Part-4

Image
In this post I will discuss on how to create a business service. How to create a BS in Siebel Tools • Lock the project on which BS should be based on • Select the Business Services object in the Tools Object Explorer. • Right-click , and then choose New Record .( Ctrl+N ) • Type a name of the BS in the Name field of the new business service and Select the Project. • Choose the appropriate class Data transformation – CSSEAIDTEScriptService class. Other business services - CSSService class . Defining a Method for BS • With the business service selected in Siebel Tools, expand the Business Service tree in the Object Explorer, and then select Business Service Method. • Right-click , and then choose New Record. • Type the name of the method in the Name field of the new method. Defining Method Arguments… • With your business service method selected in Siebel Tools, expand the Business Service Method tree in the Object Explorer, and then select

Siebel Business Service Part-3

Image
Siebel Business Service Part-3 In the previous post we discussed on different types of Business Services based on where they are created. Let us now discuss what are basic building blocks of Siebel BS. A Siebel BS mainly consists of  Methods  and  PropertySets . Methods  : one or more operations in BS. For our better understanding we can compare this as any C++/Java program where we have multiple functions defined in it. Based what function is called the functionality of the program would depend on. We will understand this in better way when we see a BS in detail. At this point this should give us a rough idea. PropertySets : used to pass input/output arguments. As Methods may require Inputs/Outputs these are formed by PropertySets in Siebel. A Property set is a  data structure. Methods take arguments that can be passed into the object programmatically or, in the case of Siebel EAI, declaratively by way of workflows. We will discuss on this in the upcoming post.

Siebel Business Service Part-2

Image
Siebel Business Service Part-2 In the previous post , a brief description on Siebel Business Service was discussed. Before we actually move onto the details on how we would implement the Business service, let us know more about BS We have mainly two types of Business Services based on the type of configuration selected. In other words a Siebel configurator can configure a Business Service either in Siebel tools or Siebel application. So based on this we can classify the Siebel Business service as      Repository – Stored Business Service      Client – Stored Business Service Repository – Stored Business Service : These BS are stored in S_SERVICE Table and when used the SRF needs to be complied for the same. Client – Stored Business Service : These BS are stored in S_RT_SVC Table and when used no need of SRF compile. Administration->Business Service Screen we can see all the Business services created at Application level.

Siebel Business Service Part-1

Image
Siebel Business Service Part-1 In Simple terms, Siebel Business Service (BS) can be defined as below      A Siebel Business Service is an object that encapsulates and simplifies the use of some set of Business functionality.      It is a unit of Business functionality which is reusable and globally accessible.      It enables business logic which can be executed repeatedly in multiple different contexts. BS are not tied to specific objects, but rather operate or act upon objects to achieve a particular goal. Example a Business component is tied to a table and an Applet is tied to a Business Component. But a Business service is accessible Globally in Siebel. All the Siebel Vanilla BS is written in C++ and cannot be customized by the user. But these BS will help to accomplish     most of the Business Requirement specially EAI BS. All the Custom Business Services are written in Siebel VB or Siebel eScript. These are basically used when

Siebel - DeleteRecord Method in eScript

Let me take this opportunity to share a unique issue that I faced during one small requirement development. Requirement: Contacts with a specific roles are created due a configuration miss in the EAI. As the product is live the fix can be put only after the root cause is found and change window is available. Till then these records needs to be deleted. As the number of records is huge deleting these records manually is a time consuming task and no back end deletion is allowed as the product is live. As a work around a client side BS would be developed to over come the problem. Siebel  Version : 7.7 Below is the pseudo code BusCom = "TechLabHelp" With BusCom                clear Query()                Search for Contact with Role "TECHLABS"                FirstRec = FirstRecord                While (FirstRec)                        FirstRec = DeleteRecord                End While End With Hope pseudo code is simple and self explanatory. Now

How to call a Business Service from a PM/PR file in Siebel Open UI

I was working on a requirement where I had to call a Siebel Business Service from PM/PR files. Oracle Support gave a pretty simple steps to the same. But for each of the Business service to be called had to register it as a user property in the Siebel Application user property. This would need a SRF change every time and was not that easily feasible. So came up with the below practice which avoided the SRF change. Below are the steps to create call a Business Service from the Siebel PM/PR file. 1. Add the below Application User Property ClientBusinessServiceN = Business Service Name Here " N " would be the value in sequence of the application user property ClientBusinessService and Business Service Name is the name of the Business Service to be called. 2. In the PM/PR file add the below code to call the Business Service // Get the Object for the Business Service. Get the Business Service by passing the Business Service Name var sBusService = SiebelApp.S_App.GetSe