Search here for wide range of results..
Loading
Home » Case Studies & Scenarios, Configuration, User Properties

How to make Parent BC Read Only based on Child BC field?

6 May 2009 One Comment

Scenario:

Parent BC: Action Template.
Child BC: Action Language.

Now, for any record in Child BC, if the ‘Language’ field value is ‘Chinese’, then, the parent BC should become read-only.

Implementation:

For this, you should have a multivalve field defined in parent BC for Language Name in Child BC. Let’s say this MVF: Language Name

1. Create a Calculated field in Parent BC with this expression –
Field Name: Calc Language Read Only Field
Calculated Value: EXISTS ([Translated Language] = “Chinese”)

2. Create a BC User Property in Parent BC as below –
Name: BC Read Only Field
Value: Calc Language Name Read Only Field

So, whenever you change the value of Language Name in child to ‘Chinese’, your Parent BC becomes read-only.

Read some more similar posts

One Comment »

  • satish said:

    hi vivek we need to give expression at childbc or parent bc u said step 1 as parentbc.
    I am little confusion can you please chek it once again and post the ans.

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.


Verify Code   If you cannot see the CheckCode image,please refresh the page again!