Thursday, August 30, 2012

Prohibit Creation of new records on child applet


For Example I need to prohibit creation of any activity records for opportunity which has been won.
.
Steps to configure same:

Parent Business Component        : Opportunity
Child Business Component          : Action
Child Applet                                : Activity List Applet

1.      In Siebel Tools navigate to Object explorer in applet query for Activity List Applet

2.      Create new applet user property as below

a.       Name : CanInvokeMethod: NewRecord
b.      Value : [Disable Creation]

3.      Navigate to Business Component and query for ‘Action’ BC.
4.      Create a new Calculated field as specified below:

Name
Calculated
Calculated Value
Force Active
Immediate Post Changes
Disable Creation
Y
IIf(ParentBCName () = "Opportunity",IIf(ParentFieldValue ("Sub-Status") = LookupValue("STATUS", "Won"), "N", "Y"),"Y")

Y
Y


No comments:

Post a Comment