Configuring Siebel Business Applications > Configuring Business Components, Links, and Business Objects > Customizing a Business Component >

Example of Defining Read-Only Behavior for a Business Component


This topic describes one example of defining read-only behavior for a business component. You might use this feature differently, depending on your business model.

In this example, if an account record includes a competitor, then the user must not choose any competitors for the account. If the Type field includes a value of Competitor, then you must make the Competitor field in the account record read-only.

For more information, see How Siebel CRM Defines Read-Only Behavior for a Business Component Field.

To define read-only behavior for a business component

  1. In the Object Explorer, click Business Component.
  2. In the Business Components list, locate the Account business component.
  3. In the Object Explorer, expand the Business Component tree, and then click Field.
  4. In the Fields list, create a field using values from the following table.
    Property
    Value

    Name

    Competitor Calculation

    You can use any name.

    Calculated

    TRUE

    Calculated Value

    IIf([Type] = "Competitor", "Y", "N")

  5. In the Object Explorer, click Business Component User Prop.
  6. In the Business Component User Props list, add a new record using values from the following table.
    Property
    Value

    Name

    Field Read Only Field: Competitor

    Value

    Competitor Calculation

    When you create a business component or field, make sure the values in the Name and Value properties use the correct capitalization, spelling, and empty spaces. Also make sure that quotation marks are not present.

  7. Compile and test your changes.

    For more information, see Using Siebel Tools.

Configuring Siebel Business Applications Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Legal Notices.