Professional Documents
Culture Documents
Infosys
INFOSYS LIMITED
Bangalore
Date:
COPYRIGHT NOTICE
© 2012 Infosys Limited, Bangalore,India. All rights reserved. Infosys believes the
information in this document is accurate as of its publication date; such information is
subject to change without notice. Infosys acknowledges the proprietary rights of other
companies to the trademarks, product names and such other intellectual property rights
mentioned in this document. Except as expressly permitted, neither this document nor any
part of it may be reproduced, stored in a retrieval system, or transmitted in any form or by
any means, electronic, mechanical, printing, photocopying, recording or otherwise, without
the prior permission of Infosys Technologies Limited and/or any named intellectual property
rights holders under this document.
Infosys Limited
Hosur Road
Electronic City, 3rd Cross
Bangalore 560 100
India.
Telephone: (91) (80)28520 261-270
Fax: (91)(80) 8520 362
Website: http://www.infosys.com
Project Details:
1. Introduction
This BOK explains about some frequently and built-in used Business Services and
its usages in Siebel. In Object Manager Business Services Objects could be used as
reusable components or reusable business logic. Business Services include both
user defined objects and built-in business services, which may be scripted but not
modified. We can configure stand-alone objects with both properties and scripts.
Business services may be used for generic code libraries that can be called from
any other scripts. The code attached to a menu item or a toolbar button may be
implemented as a business service.
One main point about the Client Stored Business Services is that , it cannot
be executed if there is already a Repository Stored Business Service exist of
the same name.
There could be more than one Operation associated with a Business Service and
these operations are called Method.
Each method has a set of Input and Output arguments.
BS
String Manipulation
Argument
Input String/String Length/Number
Type
Length
Length/
Argument
IS/S Numbe
OutputString/String Name
r
Truncate
Stiring1 String2/
OutputString/String
/String String
Concatenate
Methods Output Arg
Input Arg
Invoking method:
Assign values to Input Parameter.
Retrieve the values assigned to output parameter.
i. Workflow Utilities
ii. Inbound E-mail Database Operations
iii. Universal Inbox
iv. EAI Siebel Adapter
v. SIS OM PMT Service
vi. XML Hierarchy Converter
Important Methods:
a. Echo Method:
Echo method of Workflow Utilities is a very important method when we want
the value of an output argument same as input argument. In other words the
value of input and output arguments are the mirror images. Echo copies its
inputs to its outputs.
Output parameters of the Echo Method of workflow Utilities will be populated
by the value of currently modified record of the Business Component. If record
of Order Entry – Orders BC is being manipulated then the values of that record
will be stored in output parameter of the Echo method of Workflow Utilities.
Property Value
Property Name Echo Variable
Type Business Component
Business Component Name Order Entry – Orders
Business Component Field Order Number
In this example, as a result of running the workflow process, the Echo Variable
process property is populated with the value in the Order Number field of the active
Order Entry - Orders business component record.
b. Sleep Method:
Sleeps for the number of seconds specified by the value.
6. Business Service: Inbound E-mail Database Operations
Important Methods:
a. FindRecord:
Input Arguments:
Property Definition
BusComp
BC Name from which to find a record.
ID Record’s Id if found.
b. DeleteRecord:
It deletes a record.
Input Arguments:
Property Definition
BusComp
BC Name from which to delete a record.
ID Record’s Id if found.
c. InsertRecord:
It inserts a record.
Input Arguments:
Property Definition
BusComp
Name of BC, field values are passed as input
argument followed by field name.
BusObj Name of BO
Definition:
Universal Inbox BS is used to assign some works to a set of users. Each Inbox
item will have a single owner. Tasks could be transferred and reassigned using
Universal Inbox BS. Tasks are stored and accessed from the owner's inbox. The
importance of Inbox is to collect tasks for a user so that the user will not have to
navigate many locations for assigned tasks.
These records
InboxItemOwner InboxItemOwner InboxItemOwner appear in the Inbox
Items and Completed
Items Views.
Important Methods:
EAI Siebel Adapter is a general-purpose integration business service that has the
following features:
1. Siebel business objects could be read from the Siebel Database into integration
objects.
2. An integration object instance whose data originates externally could be written
in a Siebel BO.
3. Multiple corresponding top-level parent business component records with data
from one XML file
Important Methods:
a. Insert Method:
EAI Siebel Adapter inserts the root component and synchronizes all the children if
matching root component is not found it generates an error. Insert method will
remove the child records created during the insertion of records in Parent BC. The
Insert method synchronizes the children, which deletes all the default children.
b. Upsert Method:
The Upsert method does not delete any records or any records of Child BC. If
existing children are found, these will be updated.
Two operations will be performed as part of Upsert Method Update and Insert. It will
update the record if it already there. If the record does not exist, it will be inserted.
There is a way to find out the execution of Upsert Method in EAI Siebel Adapter, in
other words users can determine that the Update/Insert is performed or not. With
the help of User Keys or Search spec a query runs in EAI Siebel Adapter to determine
if the parent or primary record is already present or not. If there is existence of
parent record already then it will update otherwise a new record will be inserted.
9. Business Service: SIS OM PMT Service:
There are many methods associated to “SIS OM PMT Services” and all these have a
specific task to do. E.g. Set Profile Attribute, Get Profile Attribute, Apply, Trim, Get
selected row count etc. Most frequently used methods are “Set Profile Attribute” and
“Get Profile Attribute”, these are very useful in workflows. The method "Set Profile
Attribute" has arguments:
1. Profile Attribute Name
2. Profile Attribute Value
This could be used same as we set and get profile attribute in Siebel server e-script.
e Value
The XML Hierarchy Converter relies on simple rules for converting between an XML
hierarchy and an XML document. The important distinction between this service
and the XML Converter is a Property Set of type XMLHierarchy, which is always
presented as a child of Service Method Arguments and as a parent of the XML
document root element.
Important Methods:
Name Description
Reference(s)