cancel
Showing results for 
Search instead for 
Did you mean: 

Validation to fulfill the substitution

Former Member
0 Kudos

Hi Experts

I have created a substitution for project definition for determining the profit center based on plant. To make this function, it is required to save the project definition before structuring WBS.

I wish to create a validation rule in addtion to above substitution, so that if the profit center field value is entered in project defintion, it is through. And if the profit center field is blank, then a validation message to be triggered informing the user to 'Save Project definition to determine appropriate profit center'.

For this purpose, please suggest the validation rule.

warm regards

ramSiva

Accepted Solutions (0)

Answers (1)

Answers (1)

virendra_pal
Active Contributor
0 Kudos

you do not need a validation rule - in your substitution rule prerequisite add the pre-req pctr field = blank

Former Member
0 Kudos

Hi Virendra

Thanks for your reply.

I look for having message because, to have substitution in PD, it is required to save PD before creating remaining structure.

If I complete remaining structure and then save, only the PD gets the substitution and not the remaining WBS elements.

Hence i wish to give a message popup to suggest the user to save the PD before building the remaining structure (This validation is triggered in case if the user does not enter Profit center in PD).

But i believe that, even validation also works at SAVE only!

warm regards

ramSiva

virendra_pal
Active Contributor
0 Kudos

why do you need to save PD before creating structure

just create the structure and when you finally save the substitution will change the profit centre on PD

Former Member
0 Kudos

Hi Virendra

I wish to have default of plant & profit center from PD to all the project objects subsequently created (WBS elements, NWH & NWAs)

warm regards

ramSiva

virendra_pal
Active Contributor
0 Kudos

so add substitution rule in WBS/NWH/NWA to take the value of pCtr from PD - have you checked that out

Former Member
0 Kudos

Hi Virendra

As you suggested, i have achieved this by specifying substitution from field PROJ-PRCTR.

However, in the same way i tried to substitute for NWH, where the reference PROJ-PRCTR is not allowed.

Any clue?

warm regards

ramSiva