How to fetch the rate lines of rate model in client script to populate cost in PPM module

VIKAS MISHRA
Tera Contributor

I have created the rate model where we have 34 rate lines which is used to populate cost in resource plan based on user's location.

When we add the user in field "user" its works fine and populate cost based on that user's location but when we add the group in field "group" along with user then its does not work and populate some default cost. 

Hence as per the requiment we need to right on submit client script which will work as : wheneverr we add user and group both then script should call the rate model added to the project and compare that user's location with that rate model's rate line record and when it find that user's location and rate line matches then it should populate the cost based on that. 

please suggest the script.

 

 

VIKASMISHRA_0-1738668928857.png

 

 

VIKASMISHRA_1-1738668959195.png

 

0 REPLIES 0