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:

  1. Configuring Incident Serialization in Siebel Tools
  2. 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

  1. Log in to Siebel Tools as an administrator.
  2. Navigate to Object Explorer, then Table, and query for the S_INCIDENT table.
  3. 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.

  4. Navigate to Object Explorer, then Business Component, and query for the PUB HLS Incident business component.
  5. 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]).

  6. Navigate to Business Component, then Business Component User Prop, and add the following user property records.
    Name
    Value

    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.

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

  1. Navigate to the Administration - Case screen, then the Serialization Rules view.
  2. In the Serialization Rules list, create a new record with the following values.
    Field
    Value

    Name

    Incident Rule

    Business Object

    PUB HLS Incident

    Business Component

    PUB HLS Incident

  3. Scroll down to the Attributes list, and create new records with the following values.
    Record
    Field
    Value

    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

Siebel Public Sector Guide Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Legal Notices.