<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged comp_comp</title>
<link>https://overflow.efficy.io/?qa=tag/comp_comp</link>
<description>Powered by Question2Answer</description>
<item>
<title>COMP_COMP: Error after deleting Detail with custom Edit grid</title>
<link>https://overflow.efficy.io/?qa=5801/compcomp-error-after-deleting-detail-with-custom-edit-grid</link>
<description>&lt;p&gt;Hello, I get an error after deleting a COMP_COMP detail and clicking on Apply:&lt;br&gt;
&quot;Vind detail met sleutel &quot;50015999&quot; en relatie &quot;-1&quot; niet terug.&lt;br&gt;
Translated: Cannot find detail with key &quot;50015999&quot; and relation &quot;-1&quot;.&lt;br&gt;
(The key is the master key, by the way)&lt;/p&gt;

&lt;p&gt;I inserted this macro custom:&lt;/p&gt;

&lt;p&gt;&lt;em&gt;&quot;FormFieldsEditCustom.txt&quot;&lt;/em&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;EntityRelationsGrid.Comp.Comp {[ &amp;lt;%GetRelationGrid(columndefs=&quot;RelationColumns&quot;, entity=&quot;$DETAIL$&quot;, noheader=&quot;true&quot;, columns=&quot;%%IfReadOnly(then='MAIN,FULLNAME', else='MAIN,COMMANDS,FULLNAME,F_COMP_COMPANYROLE')&quot;)%&amp;gt; ]}
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;AND&lt;br&gt;
&lt;em&gt;&quot;RelationColumnsCustom.txt&quot;&lt;/em&gt;&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;td.F_COMP_COMPANYROLE.Comp [&amp;lt;td&amp;gt;&amp;lt;%GetEdit(detail=&quot;Comp&quot;,detailkey=&quot;&amp;lt;#F=K_COMPANY2;context=TAG&amp;gt;&quot;,field=&quot;$FIELD$&quot;,type=&quot;lookup&quot;)%&amp;gt;&amp;lt;/td&amp;gt;]
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;What am I doing wrong here or what do I miss here?&lt;br&gt;
Thanks in advance&lt;/p&gt;
</description>
<category>Efficy/ Client side</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=5801/compcomp-error-after-deleting-detail-with-custom-edit-grid</guid>
<pubDate>Tue, 19 Jan 2021 09:01:50 +0000</pubDate>
</item>
</channel>
</rss>