<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged projectmanagement-module</title>
<link>https://overflow.efficy.io/?qa=tag/projectmanagement-module</link>
<description>Powered by Question2Answer</description>
<item>
<title>Merging 2 projects how to keep all the Stages/Deliverables and Steps of both projets on the kept projet?</title>
<link>https://overflow.efficy.io/?qa=6793/merging-projects-stages-deliverables-steps-projets-projet</link>
<description>&lt;p&gt;We remarked that when we merge 2 projets from the search window, the Stages/Deliverables and Steps of the projet that is not kept (deleted project) are also deleted and they are not relink to the kept projet.&lt;/p&gt;

&lt;p&gt;Is there an easy way to enable to keep all the Stages/Deliverables and Steps from both projects on the merged project ? &lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6793/merging-projects-stages-deliverables-steps-projets-projet</guid>
<pubDate>Thu, 12 Jan 2023 17:15:15 +0000</pubDate>
</item>
<item>
<title>Delete WrkAlloc function in workflow</title>
<link>https://overflow.efficy.io/?qa=6079/delete-wrkalloc-function-in-workflow</link>
<description>&lt;p&gt;Hello&lt;/p&gt;

&lt;p&gt;I'm trying to add a custom code to our Efficy workflow regarding the allocations in the new project module.&lt;/p&gt;

&lt;p&gt;I managed to do something when the allocation is being placed, but I would like to reverse that actions when an allocation is deleted.&lt;/p&gt;

&lt;p&gt;When an allocation is being placed, the function AfterCommitWrkAlloc works perfectly fine. On deleting, I can't seem to manage to find the right function for the deletion; both onDeleteWrkAlloc(EditHandle, Key) &amp;amp; onBeforeDeleteWrkAlloc(EditHandle, Key) don't seem to work. The function is not called when I debug.&lt;/p&gt;

&lt;p&gt;What function should I call when to do something before the allocation is deleted?&lt;/p&gt;

&lt;p&gt;Thank you in advance!&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=6079/delete-wrkalloc-function-in-workflow</guid>
<pubDate>Tue, 11 May 2021 13:31:35 +0000</pubDate>
</item>
<item>
<title>How to add Documents, tasks, products, opportunities, cases, mails to a Step like if it was into Stage.</title>
<link>https://overflow.efficy.io/?qa=5660/documents-tasks-products-opportunities-cases-mails-stage</link>
<description>&lt;p&gt;I need to link documents, tasks, products, opportunities, cases, mails to a Step like if it was into a Stage.&lt;br&gt;
I added a new tab products on stages and it work sot the method to attach tables is ok, but no one of the tab is working when I call a step. I saw that some of WkldEditDetailTabHeaders and WkldEditDetailTabContents was filter by &amp;lt;# if (!isStep) { #&amp;gt; or &amp;lt;# if (isStep) { #&amp;gt;&lt;/p&gt;

&lt;p&gt;So in my custom I changed some stuff to make it appear and I created a variant of the addLink button to have &lt;br&gt;
&lt;strong&gt;data-msg=&quot;addLink;WrkStep;&amp;lt;#=@ data.key #&amp;gt;;$detail$&quot;&lt;/strong&gt; or &lt;strong&gt;data-msg=&quot;addLink;WrkStag;&amp;lt;#=@ data.key #&amp;gt;;$detail$&quot;&lt;/strong&gt; both (WrkStep and WrkStag) are existing into the sys_tableviews. &lt;br&gt;
Why it has no effect on addLink for steps while it work's on step. I call only a basic addLink.&lt;/p&gt;

&lt;p&gt;Into MacroWorkloadCustom I changed the standard like this.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;For main entity commnands :&lt;/strong&gt; &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;WkldEditDetailTabHeaders {[WkldTabHeaderFields;WkldTabHeaderMemo;WkldTabHeaderActi;WkldTabHeaderCase;WkldTabHeaderDocu;WkldTabHeaderMail;WkldTabHeaderOppo;WkldTabHeaderProd]}
WkldEditDetailTabContents {[WkldTabContentFields;WkldTabContentMemo;WkldTabContentActi;WkldTabContentCase;WkldTabContentDocu;WkldTabContentMail;WkldTabContentOppo;WkldTabContentProd]}
WkldDetailGridColumns..Prod {[MENU2,NAME]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;&lt;strong&gt;For workload MicroTemplate :&lt;/strong&gt; &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;WkldTabHeaderActi   {[&amp;lt;dd&amp;gt;&amp;lt;a href=&quot;#tab-acti&quot; class=&quot;i-Acti&quot; draggable=&quot;false&quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/dd&amp;gt;]}
WkldTabHeaderCase   {[&amp;lt;dd&amp;gt;&amp;lt;a href=&quot;#tab-case&quot; class=&quot;i-Case&quot; draggable=&quot;false&quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/dd&amp;gt;]}
WkldTabHeaderDocu   {[&amp;lt;dd&amp;gt;&amp;lt;a href=&quot;#tab-docu&quot; class=&quot;i-Docu&quot; draggable=&quot;false&quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/dd&amp;gt;]}
WkldTabHeaderMail   {[&amp;lt;dd&amp;gt;&amp;lt;a href=&quot;#tab-mail&quot; class=&quot;i-Mail&quot; draggable=&quot;false&quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/dd&amp;gt;]}
WkldTabHeaderOppo   {[&amp;lt;dd&amp;gt;&amp;lt;a href=&quot;#tab-oppo&quot; class=&quot;i-Oppo&quot; draggable=&quot;false&quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/dd&amp;gt;]}
WkldTabHeaderProd   {[&amp;lt;dd&amp;gt;&amp;lt;a href=&quot;#tab-prod&quot; class=&quot;i-Prod&quot; draggable=&quot;false&quot;&amp;gt;&amp;lt;/a&amp;gt;&amp;lt;/dd&amp;gt;]}

WkldTabContentActi {[
&amp;lt;# if (!isStep) { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-acti&quot; data-entity=&quot;Acti&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetail', detail='Acti', $addlabel$='Add Link to Action')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } else { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-acti&quot; data-entity=&quot;Acti&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetailStep', detail='Acti', $addlabel$='Add Link to Action')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } #&amp;gt;
]}

WkldTabContentCase {[
&amp;lt;# if (!isStep) { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-case&quot; data-entity=&quot;Case&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetail', detail='Case', $addlabel$='Add Link to Incident')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } else { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-case&quot; data-entity=&quot;Case&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetailStep', detail='Case', $addlabel$='Add Link to Incident')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } #&amp;gt;
]}

WkldTabContentDocu {[
&amp;lt;# if (!isStep) { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-docu&quot; data-entity=&quot;Docu&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetail', detail='Docu', $addlabel$='Add Link to Document')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } else { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-docu&quot; data-entity=&quot;Docu&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetailStep', detail='Docu', $addlabel$='Add Link to Document')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } #&amp;gt;
]}

WkldTabContentMail {[
&amp;lt;# if (!isStep) { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-mail&quot; data-entity=&quot;Mail&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetail', detail='Mail', $addlabel$='Add Link to Mail')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } else { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-mail&quot; data-entity=&quot;Mail&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetailStep', detail='Mail', $addlabel$='Add Link to Mail')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } #&amp;gt;
]}

WkldTabContentOppo {[
&amp;lt;# if (!isStep) { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-oppo&quot; data-entity=&quot;Oppo&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetail', detail='Oppo', $addlabel$='Add Link to Opportunity')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } else { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-oppo&quot; data-entity=&quot;Oppo&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetailStep', detail='Oppo', $addlabel$='Add Link to Opportunity')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } #&amp;gt;
]}

WkldTabContentProd {[
&amp;lt;# if (!isStep) { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-prod&quot; data-entity=&quot;Prod&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetail', detail='Prod', $addlabel$='Add Link to Product')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } else { #&amp;gt;
&amp;lt;div class=&quot;content tabs-content-item&quot; id=&quot;tab-prod&quot; data-entity=&quot;Prod&quot;&amp;gt;
&amp;lt;%Macro('WkldTabContentDetailStep', detail='Prod', $addlabel$='Add Link to Product')%&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;# } #&amp;gt;
]}

WkldTabContentDetailStep {[
&amp;lt;div class=&quot;row&quot;&amp;gt;
&amp;lt;div class=&quot;small-2 medium-1 columns&quot;&amp;gt;
&amp;lt;button type=&quot;button&quot; class=&quot;icon i-add&quot; title=&quot;&amp;lt;%GetLabel('$addlabel$', context=ATTR)%&amp;gt;&quot; data-msg=&quot;addLink;WrkStep;&amp;lt;#=@ data.key #&amp;gt;;$detail$&quot;&amp;gt;&amp;lt;/button&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div class=&quot;small-12 medium-11 columns&quot;&amp;gt;
&amp;lt;h3 class=&quot;section-title&quot;&amp;gt;&amp;lt;%GetLabel('$detail$s', context=TEXT)%&amp;gt;&amp;lt;/h3&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
&amp;lt;div class=&quot;row&quot;&amp;gt;
&amp;lt;div class=&quot;small-12 columns wkld-detail-grid&quot;&amp;gt;&amp;lt;/div&amp;gt;
&amp;lt;/div&amp;gt;
]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;So I remove the if clause into the header and contents to remove the restriction on steps. And I added a macro called depending on if it's step or not. If yes the addling is done on WrkStep or if not on WrkStag.&lt;br&gt;
I have missed something to finish the job.&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5660/documents-tasks-products-opportunities-cases-mails-stage</guid>
<pubDate>Fri, 23 Oct 2020 09:32:36 +0000</pubDate>
</item>
<item>
<title>Enabling PM Module allocation in single user agenda for a ressource</title>
<link>https://overflow.efficy.io/?qa=5330/enabling-module-allocation-single-user-agenda-for-ressource</link>
<description>&lt;p&gt;The green stripes in the agenda are shown only for the current user's agenda and I would like to implement this also when you're looking at the agenda of another (1) user, that user being a resource ( I already enabled the use of ressources in the PM Module in custom )&lt;/p&gt;

&lt;p&gt;Goal is that one user can timesheet for external resources (persons) in a project but also can see in the agenda of that ressource when it's already allocated.&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5330/enabling-module-allocation-single-user-agenda-for-ressource</guid>
<pubDate>Thu, 27 Feb 2020 20:20:56 +0000</pubDate>
</item>
</channel>
</rss>