Generate Labour Costs - missing from Demand Teamspace tables?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
3 hours ago
Hi Community,
I'd like to check with yourselves if what I'm experiencing is correct or whether I'm missing something - I'm currently doing some configuration on one of the Teamspaces, trying to set up all that's required to manage resourcing and I have noticed that "Generate Labor Costs" UI Action is missing from my Teamspace Demand.
I checked the "standard" dmn_demand table and the Related link is present so I reviewed the UI Action itself; the condition does reference a Script Include =>
gs.hasRole('demand_manager') && GlidePluginManager.isActive('sn_plng_att_core') && new sn_invst_pln.FinancialsCoreUIUtil().isAttributeBasedResourcePlanning(current.sys_class_name, current.sys_id)so had a check there too and found this
isAttributeBasedResourcePlanning: function(table, sysId) { let entityTable = table; let entityId = sysId; this.planningItemIntegrationHelper = new PlanningItemFinancialsIntegrationHelperAPI(); const isPlanningItem = this.planningItemIntegrationHelper.isPlanningItem(entityTable); if (isPlanningItem && this.planningItemIntegrationHelper.isIntegrationEnabledForPlanningItem(entityTable)) { ({ entityId, entityTable } = this.planningItemIntegrationHelper.getExecutionItemFromPlanningItem(entityTable, entityId)); } if (new InvestmentFundingUtil().isTablePresentInHierarchy(entityTable, 'pm_project')) { //sub_project_support return this._isAttrBasedResourcePlanning(entityId, false, entityTable); } else if (entityTable == "dmn_demand" || entityTable == "rm_epic" || entityTable == "sn_safe_epic") { return this._isAttrBasedResourcePlanning(entityId, false); } else if (isPlanningItem) { return this._isAttrBasedResourcePlanning(entityId, true); } return false; },
Am I understanding this correctly? The reason the UI Action is not on Teamspace Demand is because the Script doesn't include all Demand hierarchy (as it does for pm_project), but it's only dmn_demand?
Am I missing something else?
Thank you 🙂