<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
<channel>
<title>Efficy Overflow Q&amp;A - Recent questions tagged oninsertdetail</title>
<link>https://overflow.efficy.io/?qa=tag/oninsertdetail</link>
<description>Powered by Question2Answer</description>
<item>
<title>No RelationKey (optional) parameter for OnInsertDetailXxxxYyyy event</title>
<link>https://overflow.efficy.io/?qa=4629/relationkey-optional-parameter-oninsertdetailxxxxyyyy</link>
<description>&lt;p&gt;When scripting the OnInsertDetail event, we're not provided the (optional) relationKey parameter.&lt;br&gt;
Consequently, it becomes a nightmare when you want to edit the newly inserted detail relation : I hoped the new detail would be the last one in the detailDataset but its position is not reliable.&lt;/p&gt;

&lt;p&gt;This is to my mind a decent change request.&lt;/p&gt;

&lt;p&gt;I've tried set the SELECTORDERBY clause of the SYS&lt;em&gt;TABLEVIEWS to XXXX&lt;/em&gt;YYYY.D_CHANGE, but this isn't reliable.&lt;br&gt;
=&amp;gt; I use a custom fied to know if a detail has been processed or not by my workflow :-(&lt;/p&gt;

&lt;p&gt;Any comment is welcome.&lt;/p&gt;
</description>
<category>WorkFlow / Serverscript</category>
<guid isPermaLink="true">https://overflow.efficy.io/?qa=4629/relationkey-optional-parameter-oninsertdetailxxxxyyyy</guid>
<pubDate>Wed, 31 Jul 2019 09:45:55 +0000</pubDate>
</item>
</channel>
</rss>