Siebel Public Sector Guide > Administering Siebel Public Sector > Adding New Serialization Rules >
Example 1 of Configuring Serialization
In the following example, you add PUB HLS Incident as a new serialization business object. The primary business component for this business object is PUB HLS Incident. To add PUB HLS Incident as a parent object for serialization, perform the following tasks:
- Configuring Incident Serialization in Siebel Tools
- Adding an Incident Serialization Rule
Configuring Incident Serialization in Siebel Tools
Perform the following procedure to allow serialization on the PUB HLS Incident business component. NOTE: If you add new columns to a table (or make other such schema changes to the Siebel database), then make sure that such changes are reflected in the Siebel database. For more information, see Using Siebel Tools.
You must configure the incident table and business component. To configure the incident table and business component
- Log in to Siebel Tools as an administrator.
- Navigate to Object Explorer, then Table, and query for the S_INCIDENT table.
- Create a new column record called SERIAL_NUM.
To get the correct values for this new column, refer to the values in the SERIAL_NUM column of the S_CASE table.
- Navigate to Object Explorer, then Business Component, and query for the PUB HLS Incident business component.
- Navigate to Business Component, then Field, and create two new field records called Serial Number and Incident Number.
To get the correct values for these two fields, refer to the values in the Serial Number field and the Case Num field of the HLS Case business component. In the Calculated Value column of the Incident Number field, enter RowIdToRowIdNum([Id]).
- Navigate to Business Component, then Business Component User Prop, and add the following user property records.
|
|
SerializationAutoGenerate |
Y |
SerializationBO |
PUB HLS Incident |
SerializationBC |
PUB HLS Incident |
SerializationChildBO |
PUB HLS Incident |
SerializationChildAttBC |
PUB Incident Attachment |
NOTE: If you add serialization on child business objects and components, then you might have to add additional fields. Use the serialization configuration for the HLS Case as a guide. For more information, see Viewing Serialization Configuration in Siebel Tools.
- Compile the edited projects and replace the Siebel Repository File.
Adding an Incident Serialization Rule
Perform the following procedure to add a new serialization rule to determine the format for the incident serial numbers. For more information, see Creating Serialization Rule Records. To add a rule for incident serialization
- Navigate to the Administration - Case screen, then the Serialization Rules view.
- In the Serialization Rules list, create a new record with the following values.
|
|
Name |
Incident Rule |
Business Object |
PUB HLS Incident |
Business Component |
PUB HLS Incident |
- Scroll down to the Attributes list, and create new records with the following values.
|
|
|
Record 1 |
Sequence |
1 |
Type |
Field |
Field Name |
Incident Type |
Record 2 |
Sequence |
2 |
Type |
Constant |
Constant Value |
- |
Record 3 |
Sequence |
3 |
Type |
Field |
Field Name |
Incident Number |
|