Posts Tagged ‘Business Component User Prop’

User Property – Always Enable Child

 

Vanilla Functionality

In standard Siebel application if a Service Request is closed, then all the child records in Activities tab becomes read only.

 

Requirement

User should be able to add/modify Activities even when the parent Service Request is closed.

 

Steps to be followed

  • In this scenario, Service Request applet is mapped onto ‘Service Request’ BC and Activities applet is mapped onto ‘Action’ BC. There is Parent-Child relationship between Service Request and Action BCs.
  • Login to Siebel Tools.
  • Select Business Component in Object Explorer window and search for Service Request in Name property. Lock it.
  • Select Business Component User Prop in object explorer and create a new record:
    • Name – Always Enable Child: Action (Mention Child BC Name)
    • Value – TRUE
  • Compile the changes.

 

 

 

User Property – Parent Read Only Field

 

Introduction

This property is used to make all the records read only in a child BC with respect to a particular field value in the associated Parent BC. For example, if parent Account status is ‘Expired” then make all Activities read only.

This BC User Prop is configured always under child BC.

 

Limitation

Using regular syntax to declare Parent Read Only Field user property, we can specify only one Parent BC at maximum.

  • BC User Prop Name: Parent Read Only Field
  • BC User Prop Value: <ParentBusCompName>.<FieldName>

Suppose we want to constrain read only behavior of a specific child BC corresponding to two different Parent BC, it will not be possible using this syntax. If we still try to configure it, then we will receive error – “The same values for ‘Parent Business Component, Name’ already exist.”

 

 

Resolution

Use the below syntax:

  • BC User Prop Name – Parent Read Only Field: <BusCompName>
  • BC User Prop Value – <BusCompFieldName>