The Zurich release has arrived! Interested in new features and functionalities? Click here for more

When a Resource Plan is created for a group, why does all labor show up as capital?

halv
Tera Contributor

I have created multiple Resource Plans and each time it creates a respective Cost Plan showing only Capex.   The only way I can get Opex is if a create a Cost Plan manually.   Is there a way to make it roll up to Operating as a default?     I have looked everywhere I can think of and cannot find any tie to why it does this.   Thanks

CostplanResPlan.jpg

1 ACCEPTED SOLUTION

Michael Fry1
Kilo Patron

There is a business rule named: Create Cost Plan - that calls a script includes - CostPlan.


The business rule says 'createFromResourcePlan', and at line 165 of the script includes, the script is:


gr.setValue('resource_type', this._getResourceDefinition('Labor Capex').getValue('sys_id'));



So it's always setting it to Labor Capex, which means you'll need to create manually as you are, or modify both resource plan and script includes to include some kind of flag that would trigger the different choices.


View solution in original post

5 REPLIES 5

Michael Fry1
Kilo Patron

There is a business rule named: Create Cost Plan - that calls a script includes - CostPlan.


The business rule says 'createFromResourcePlan', and at line 165 of the script includes, the script is:


gr.setValue('resource_type', this._getResourceDefinition('Labor Capex').getValue('sys_id'));



So it's always setting it to Labor Capex, which means you'll need to create manually as you are, or modify both resource plan and script includes to include some kind of flag that would trigger the different choices.


Thank you!   I was able to locate the Create Cost Plan in the business rules but I cannot find the script that you are referring to and I could not locate any Business Rule for Resource Plans.   I am in the developers sandbox environment.   Could you tell me specifically the name of the business rule I should be looking for?


find_real_file.png


It's a Script Includes, not a Business Rule. The name of the Script Includes is CostPlan.


Type Script Includes in navigation filter.


philengles
Giga Expert

Hi Heather,


  When you press "labor capex" which table does it take you to? Its my understanding that display value is being populated by the short description of project. Another suggestion would be to look into business rules that are relevant to the Cost Plans table so that you can see how that value is being populated. Let me know if you need more help.



Best Regards,


  Philip Engles


  philip.engles@techport13.com


find_real_file.png