<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged multiple-rows</title>
<link>https://overflow.efficy.io/?qa=tag/multiple-rows</link>
<description>Powered by Question2Answer</description>
<item>
<title>Add multiple rows of data to single category</title>
<link>https://overflow.efficy.io/?qa=5181/add-multiple-rows-of-data-to-single-category</link>
<description>&lt;p&gt;We would like to create a 1:n relation in a category (or something similar which can create the same result). We've got many cases where we would like to use this method, but I will try to explain my question using one example. &lt;/p&gt;

&lt;p&gt;We would like to register multiple learning goals of an employee, linked to one document.  This learning goal consists of several fields like description, progress, feedback and deadline. &lt;/p&gt;

&lt;p&gt;The closest existing functionality in Efficy is linking multiple products (in the shopping card grid) or actions (in the action grid) in the edit-mode of a document.  The downside of these existing functionality is the complexity with creating complete entities. &lt;/p&gt;

&lt;p&gt;It would be ideal if we just can add an extra table to the database. This table contains the K_DOCUMENT, a unique key for each row, and the fields for adding the values we would like to see.&lt;/p&gt;

&lt;p&gt;See screenshot below for the mockup of the result we would like to achieve.&lt;br&gt;
&lt;img src=&quot;https://overflow.efficy.com/?qa=blob&amp;amp;qa_blobid=16029078838792071122&quot; alt=&quot;enter image description here&quot;&gt;&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5181/add-multiple-rows-of-data-to-single-category</guid>
<pubDate>Mon, 13 Jan 2020 14:58:22 +0000</pubDate>
</item>
<item>
<title>Using details in Excel Template</title>
<link>https://overflow.efficy.io/?qa=4649/using-details-in-excel-template</link>
<description>&lt;p&gt;Hello,&lt;/p&gt;

&lt;p&gt;I am wondering if the 11.3 came with an enhancement for Excel merge templates.&lt;br&gt;
From what I have found on here, we can't use the GetTable tag when working with XLS or XLSX templates.&lt;br&gt;
Does someone know if this specific point is fixed ?&lt;/p&gt;

&lt;p&gt;My need is that I have to do an Excel file which would contains a list of bills from a Custom Entity named Bills. So I need to use some filters to get only the bills I want (like only unpayed one) and format them in an Excel file. Ideally, I would have one Excel sheet per bill's kind.&lt;/p&gt;

&lt;p&gt;Best regards,&lt;br&gt;
Sébastien&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4649/using-details-in-excel-template</guid>
<pubDate>Fri, 02 Aug 2019 12:27:08 +0000</pubDate>
</item>
<item>
<title>Line break in script for an email template</title>
<link>https://overflow.efficy.io/?qa=3540/line-break-in-script-for-an-email-template</link>
<description>&lt;p&gt;Hello, &lt;/p&gt;

&lt;p&gt;someone knows how to make a line break in a script for the running of a runscript for an email template.&lt;/p&gt;

&lt;p&gt;I want to replace the splash in this function with a line break &lt;/p&gt;

&lt;pre&gt;&lt;code&gt;var nature = &quot; &quot;;
    var entyDS = Efficy.GetMasterDataSet(ContextHandle, 0);
    if(!entyDS || entyDS.IsEmpty) return &quot;$$ENCODE$$&quot; + nature;
    entyDS.first();
    while(!entyDS.EOF) {
        if(entyDS.FieldByName(&quot;F_STATUT&quot;).asFloat)
            nature = entyDS.fieldByName(&quot;R_F_NATURE_NIVEAU_1&quot;).asString+' / '+entyDS.fieldByName(&quot;R_F_NATURE_NIVEAU_2&quot;).asString+' / '+entyDS.fieldByName(&quot;R_F_NATURE_NIVEAU_3&quot;).asString;
        entyDS.next();
    }
    return nature;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I thank you in advance,&lt;/p&gt;

&lt;p&gt;Sincerely, Jean.&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3540/line-break-in-script-for-an-email-template</guid>
<pubDate>Thu, 13 Sep 2018 15:39:34 +0000</pubDate>
</item>
<item>
<title>Export products in document to Excel template</title>
<link>https://overflow.efficy.io/?qa=3382/export-products-in-document-to-excel-template</link>
<description>&lt;p&gt;I am struggling with creating a descent Excel template which can contain the complete content of the shopping cart of a document. &lt;/p&gt;

&lt;p&gt;I found this (Efficy2012) explenation of a RTF-template, but I did not manage to get the same result with Excel: &lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.com/user/e2012_templates_example_detailtable&quot;&gt;&lt;/a&gt;&lt;a rel=&quot;nofollow&quot; href=&quot;https://help.efficy.com/user/e2012_templates_example_detailtable&quot;&gt;https://help.efficy.com/user/e2012_templates_example_detailtable&lt;/a&gt; &lt;/p&gt;

&lt;p&gt;[$GetRtfTable(&quot;Prod&quot;, filter=&quot; quantity=0&quot; sum=Total)]&lt;br&gt;
&amp;lt;#H=Name&amp;gt;   &amp;lt;#H=Quantity&amp;gt;   &amp;lt;#H=Price&amp;gt;  &amp;lt;#H=Total&amp;gt;&amp;lt;#repeat&amp;gt;&lt;br&gt;
&amp;lt;#F=Name&amp;gt;   &amp;lt;#F=Quantity&amp;gt;   &amp;lt;#F=Price&amp;gt;  &amp;lt;#F=Total&amp;gt;&amp;lt;/#repeat&amp;gt;&lt;br&gt;
&amp;lt;#sum&amp;gt;  &amp;lt;#F=Total&amp;gt;&amp;lt;/#sum&amp;gt;&lt;br&gt;
[/$]&lt;/p&gt;

&lt;p&gt;When creating a template in Excel I only manage to export the first first. How to solve this?&lt;br&gt;
Or in other words: how to use 'repeat' In excel?&lt;/p&gt;
</description>
<category>How to</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=3382/export-products-in-document-to-excel-template</guid>
<pubDate>Thu, 05 Jul 2018 17:31:12 +0000</pubDate>
</item>
</channel>
</rss>