<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://forums.method.me/cs/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Method:Classic General Q&amp;amp;A</title><link>http://forums.method.me/cs/forums/13.aspx</link><description>Ask technical support questions, how do I? Questions... Or anything else you want to know from the Method Team and other Method users.</description><dc:language>en</dc:language><generator>CommunityServer 2007.1 SP2 (Build: 31113.47)</generator><item><title>issues while access shared result, and later used in a insert to table</title><link>http://forums.method.me/cs/forums/thread/36111.aspx</link><pubDate>Sun, 29 Sep 2019 17:10:05 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:36111</guid><dc:creator>alexhuang</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/36111.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=36111</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;Here is the issue:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1. I have a calculated value, and store in a shared result &amp;quot;SO_NO&amp;quot;&lt;/p&gt;
&lt;p&gt;2. &lt;span id="mce_4_start" style="overflow:hidden;"&gt;get this shared result &amp;quot;SO_NO&amp;quot; to an action result &amp;quot;ACTION_SO_NO&amp;quot;&lt;/span&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;3.&amp;nbsp;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;insert a new record to a Table (Sales Order) with &amp;quot;ACTION_SO_NO&amp;quot; as the refNum&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;The problem is, &lt;span id="mce_7_start" style="overflow:hidden;"&gt;refNum of Sales Order table is sometimes empty (2 of 5 tests). However, to show ACTION_SO_NO on the screen, it has value.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;One of your staff suggest me to put SO_NO or ACTIO_SO_NO on the screen, then insert the value on screen to refNum while creating Sales Order. the result seems the same.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;The only thing I can do is to dump my action result on screen, however I have no way to know the value actully insert to a table. May I know how to debug this kind of error?&amp;nbsp;&lt;span id="mce_8_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;--&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description></item></channel></rss>