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 script call is actually very simple.   

To start, it checks that the task is using "Attribute-based" methods for its resource plan, by checking that the 'resource_type' value on the resource plan is 'attribute'.

 

If that returns true, it checks the type of the record the plan is running against, and returns true if the record is one of a project (pm_project), a project task (pm_project_task), or a demand (dmn_demand).  

You say you're creating the record against a project task.  Is there any chance you're using a teamspace, or that your project task is on a custom table?  A teamspace shouldn't be an issue (although it would be an important thing to check), but a custom table would definitely be. 

Hi @phil_bool_unifi , Thank you for responding.

 

Yes I am using the project workspace and clicking on the project task and then 'add resource'. This is now allowing me to add resources as below:

Screenshot 2024-09-30 205449.png

 

 

Once this is added it creates a Resource Plan but Cost plan is not getting created. That's is the issue.

Hi @Trailblazer11  Did you figure this out? We're also facing this issue.

 

Many thanks

naveen kumar24
Tera Contributor

it will create when click on generate labour cost related link under project