Project and Portfolio Management Practitioners Forum
cancel
Showing results for 
Search instead for 
Did you mean: 

Request Type Field

Highlighted
Dominic Almeida
Regular Collector

Request Type Field

Hi,

I have to create a new (read-only) field in the Request Type, which should read value from another field from the Request Header type whcih is editable, and will be enterred during the start of the Project.

Can anybody help me out how this can be accomplished?

BR - Dom
3 REPLIES
Sascha Mohr
Esteemed Contributor

Re: Request Type Field

You need to crate a rule that depends on the field in the RHT and is triggered on field change and writes something to the read-only field.
Dominic Almeida
Regular Collector

Re: Request Type Field

Can you please further explain it, step by step if possible, since I'm a newbie to PPM,

appreciate your help

BR - Dom
Sascha Mohr
Esteemed Contributor

Re: Request Type Field

Sure,
- create a new rule in the request type workbench
- give it a name (and a description)
- as a rule event choose on field change
- in the dependency section add the field that should trigger the rule. You could e.g. select "Priority" here and set it to trigger if the in priority, critical is chosen (equals > constant value > critical)
- in the result section select your read-only field
- in the bottom right corner you enter the logic of the rule, in the example it could be a query like:
select 'Attention', 'Attention'
from dual
- for each of the result fields you need to select two values (hidden and viesible)
- save and test the rule
//Add this to "OnDomLoad" event