Configuring Siebel Business Applications > Configuring Business Components, Links, and Business Objects > Configuring a Business Component >
Defining Read-Only Behavior for a Business Component
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 Siebel CRM makes 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
- In the Object Explorer, click Business Component.
- In the Business Components list, locate the Account business component.
- In the Object Explorer, expand the Business Component tree, and then click Field.
- In the Fields list, create a field using values from the following table.
|
|
Name |
Competitor Calculation You can use any name. |
Calculated |
TRUE |
Calculated Value |
IIf([Type] = "Competitor", "Y", "N") |
- In the Object Explorer, click Business Component User Prop.
- In the Business Component User Props list, add a new record using values from the following table.
|
|
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. Make sure that quotation marks are not present.
- Compile and test your modifications.
For more information, see Using Siebel Tools.
|