Cost Plan not getting created when Resource Assignment is created

Trailblazer11
Tera Expert

Hi All,

 

When we are creating Resource Assignments under the Project Tasks, it is creating Resource plan but not the cost plan.

The business rule: 'Create Cost Plan' 's condition (new RMCostPlanHelper(current)).shouldCreateCostPlan() is not satisfying hence not creating but could you please explain this behavior?

 

Thanks

 

@Namita Mishra 

12 REPLIES 12

phil_bool_unifi
Tera Guru

That is interesting.  Have you made any changes to the Cost Plan record, for example, by making any fields mandatory?  If so, that could be preventing the automatic creation.

Hi All,

In the new experience when resource assignments are used, you need to generate the labor cost. So this is as per the design.

Now cost plans can be generated in two ways:

1. By clicking on the "Generate labor cost" button: Clicking this button will generate the labor cost plan based on the existing resource assignments.

2. By scheduled job - "Generate labor costs for demands and projects": You can schedule this job at regular interval to auto generate the labor cost based on the created resource assignments.

 

 

Hope this helps.

 

Thank You!

Namita Mishra

Hi @Namita Mishra

 

Thank you for your response with this. I get this error when clicking 'Generate labor cost' 

Error MessageIllegal access to package_private script include CostPlan: caller not in scope rhino.global
Error MessageCost plan creation failed. An unexpected error occurred.

Any idea? 
 
Many thanks!

That sounds like something Hi Support would take a look at.  Are there any Restricted Caller Access records related to the SPW or Resource Mgt Scopes that aren't set to 'Allowed'?

Hi @Alex2506 ,

Sorry, for late response.

I would suggest to clear the cache (type cache.do in the Navigator).

I have seen similar error in other contexts but not experienced in this scenario.

 

If clearing cache doesn't help then please raise a support case.

 

Thanks,

Namita Mishra