<?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>Re: questions about "current" row of a grid</title><link>http://forums.method.me/cs/forums/thread/25950.aspx</link><pubDate>Thu, 19 Feb 2015 14:55:40 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:25950</guid><dc:creator>Method_Justin</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/25950.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=25950</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi Alex,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;3) There is&amp;nbsp;one action set for each of these events, when you&amp;nbsp;&lt;em&gt;Update&amp;nbsp;&lt;/em&gt;or&amp;nbsp;&lt;em&gt;Save&amp;nbsp;&lt;/em&gt;it will run each of those action sets once.&lt;/p&gt;
&lt;p&gt;5)&amp;nbsp;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;There isn&amp;#39;t a way to populate new, blank rows in a grid directly after they&amp;#39;ve been inserted. The user would have to interact with it somehow, and you could put some actions on the associated event. The only way to get pre-populated information into a new line on a grid would be to insert to the grid&amp;#39;s table and refresh the grid, which if you&amp;#39;re leaving out required fields would cause an error.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I should ask, have you taken advantage of your free consulting hour? I think it would be a good opportunity for you to discuss your workflow with a member of our Professional Services team, a trained customization specialist that can provide you with some more advanced advice.&lt;span id="mce_6_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;- Justin&lt;/span&gt;&lt;/p&gt;</description></item><item><title>Re: questions about "current" row of a grid</title><link>http://forums.method.me/cs/forums/thread/25867.aspx</link><pubDate>Mon, 16 Feb 2015 22:56:55 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:25867</guid><dc:creator>alexhuang</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/25867.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=25867</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi Justin,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for reply. I appreciate. However, after testing with your suggestion, I still met some issues:&lt;/p&gt;
&lt;p&gt;Item (3), For a Grid with two rows (already in table), if I changes any column of these two row, &lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt;&amp;nbsp;I expect that for every row, there is a &amp;quot;Action Before Edit&amp;quot; and &amp;quot;Action After Edit&amp;quot; triggered. However,&amp;nbsp;it seems that just one &amp;quot;Action Before Edit&amp;quot; and one &amp;quot;Action After Edit&amp;quot; are triggered, is it correct?&lt;span id="mce_3_start" style="overflow:hidden;"&gt; (same question to action before/after add.)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Item (5), I understand that I can use &amp;quot;Text Change&amp;quot; to change other column. However, what I want to do is, whenever I add a new item line (not yet in table), I can enter value in some columns of this new item line, but not to ask users to click to show. Is it possible to do so?&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;Thanks for your time.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;--&lt;/p&gt;
&lt;p&gt;Alex&lt;/p&gt;</description></item><item><title>Re: questions about "current" row of a grid</title><link>http://forums.method.me/cs/forums/thread/25852.aspx</link><pubDate>Mon, 16 Feb 2015 16:43:59 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:25852</guid><dc:creator>Method_Justin</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/25852.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=25852</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi Alex,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;/span&gt;1. The &lt;strong&gt;Select&lt;/strong&gt; event is used in non-editable grids. It makes the column into a clickable link, and runs the listed actions when that link is clicked.&lt;span id="mce_3_start" style="overflow:hidden;"&gt; For example, in a non-editable grid you could have a &lt;em&gt;Customer&lt;/em&gt; column and use the &lt;strong&gt;Select&lt;/strong&gt; event to turn it into a link that shows that customer&amp;#39;s details in a pop-up.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;2. Take a look at the&amp;nbsp;&lt;strong&gt;Text Change&amp;nbsp;&lt;/strong&gt;event of the &lt;em&gt;Item&amp;nbsp;&lt;/em&gt;column on the stock&amp;nbsp;&lt;strong&gt;Invoice&amp;nbsp;&lt;/strong&gt;screen&amp;#39;s line item grid. We use the&amp;nbsp;&lt;em&gt;Retrieve Value From Table&amp;nbsp;&lt;/em&gt;action to enter values into the same row when an item is selected.&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_14_start" style="overflow:hidden;"&gt;3. Both these actions are triggered when the&amp;nbsp;&lt;em&gt;Update&amp;nbsp;&lt;/em&gt;link is clicked or the transaction record is saved. The&amp;nbsp;&lt;strong&gt;Actions Before Edit&amp;nbsp;&lt;/strong&gt;event will trigger&amp;nbsp;&lt;span style="text-decoration:underline;"&gt;directly&amp;nbsp;&lt;/span&gt;&lt;span style="text-decoration:underline;"&gt;before&lt;/span&gt; the Update or Save function is called, whereas the&amp;nbsp;&lt;strong&gt;Actions After Edit&amp;nbsp;&lt;/strong&gt;event will trigger&amp;nbsp;&lt;span style="text-decoration:underline;"&gt;directly after&lt;/span&gt; the Update or Save function is called.&lt;span id="mce_23_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;4. This should be the same as above, but for new line items (that do not yet exist and are being added) as opposed to current line items (that already exist and are being edited).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;5. This simply inserts a new blank row at the bottom of the grid, it&amp;#39;s the same as clicking the&amp;nbsp;&lt;em&gt;New Line Item...&amp;nbsp;&lt;/em&gt;link at the bottom of the grid. If you want to auto-populate certain columns here, I recommend doing so on the&amp;nbsp;&lt;strong&gt;Text Change&amp;nbsp;&lt;/strong&gt;event of another column, such as is the case with the&amp;nbsp;&lt;em&gt;Item&amp;nbsp;&lt;/em&gt;column in my response to question 2.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;6. The main difference here is that&amp;nbsp;&lt;em&gt;Value From Row&lt;/em&gt; only works inside a loop (Table or Grid), and &lt;em&gt;Value From Screen&amp;nbsp;&lt;/em&gt;for Grid:Columns only works within actions on the line level. For example,&amp;nbsp;&lt;em&gt;Value From Row&lt;/em&gt;&amp;nbsp;will get the value from the current record of a&amp;nbsp;loop, whereas &lt;em&gt;Value From Screen&amp;nbsp;&lt;/em&gt;(for a Grid:Column) will run on the line which it is triggered (if you select an &lt;em&gt;Item&amp;nbsp;&lt;/em&gt;on a grid line to trigger this, it will pull values from that same line).&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;7. The &lt;em&gt;Loop Through Grid&lt;/em&gt;&amp;nbsp;&lt;span id="mce_34_start" style="overflow:hidden;"&gt;&lt;span id="mce_35_start" style="overflow:hidden;"&gt;action only runs for populated rows that have been committed to the grid. You&amp;#39;ll have to click the&amp;nbsp;&lt;em&gt;Update&amp;nbsp;&lt;/em&gt;link on the grid or&amp;nbsp;&lt;em&gt;Save&amp;nbsp;&lt;/em&gt;the transaction before a row will be included in a Loop Through Grid.&lt;/span&gt;&lt;/span&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 id="mce_32_start" style="overflow:hidden;"&gt;&lt;/span&gt;8. We do have a Help Center article about the Grid Object &lt;span id="mce_28_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;a href="https://www.methodintegration.com/method/kb.aspx?folder=methodcrm&amp;amp;article=Grid&amp;amp;id=94"&gt;here&lt;span id="mce_28_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/a&gt;.&lt;span id="mce_27_start" style="overflow:hidden;"&gt; You may also be able to find other information you&amp;#39;re looking for by searching there.&lt;span id="mce_33_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&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 style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;Hope this helps.&lt;/span&gt;&lt;/span&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 style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;- Justin&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;</description></item><item><title>questions about "current" row of a grid</title><link>http://forums.method.me/cs/forums/thread/25787.aspx</link><pubDate>Thu, 12 Feb 2015 08:01:38 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:25787</guid><dc:creator>alexhuang</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/25787.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=25787</wfw:commentRss><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;After working with Grid, I encountered several issues but not know if that is Method&amp;#39;s bug or my incorrect actions.&lt;/p&gt;
&lt;p&gt;I&amp;#39;m working on &amp;quot;PurchaseOrderLine&amp;quot; Grid of Purchase order screen. Here are some questions:&lt;/p&gt;
&lt;p&gt;1. If a column is dropdown type, when I select a new value&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt;, only &amp;quot;Text change&amp;quot; event fired, &amp;quot;Select&amp;quot; event never triggered. Is this correct?&lt;/p&gt;
&lt;p&gt;2. If user change value in a &amp;quot;Dropdown&amp;quot; type column, how do I know &lt;span id="mce_2_start" style="overflow:hidden;"&gt;(or how do I get )&amp;nbsp;&lt;/span&gt;the new value been selected? And, how do I know which row user is working on?&lt;/p&gt;
&lt;p&gt;3. For a grid which allows to be edit in place, in what condition &amp;quot;Action before Edit&amp;quot; and &amp;quot;Action after Edit&amp;quot; will be triggered? I tried to put show message for these event, but can not figure out the rule.&lt;/p&gt;
&lt;p&gt;4. For a grid which allows to add new line, in what condition &amp;quot;Action before add&amp;quot; and &amp;quot;Action after add&amp;quot; will be triggered?&amp;nbsp;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;The same, I put show-message action for these two events, but nothing is fired.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;5. If I call &amp;quot;Insert new row into grid&amp;quot; action, how do I know row index of this new row? And, how can I set value to column of this new row? Can I use &amp;quot;Enter value into field of Screen&amp;quot;?&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;6. For action &amp;quot;Assign value to action result&amp;quot;, I can select &amp;quot;Value from screen&amp;quot; or &amp;quot;Value from Row&amp;quot;. In both case, I can choose those column of a grid. The question is, which row is this column be retrieved from?&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;7. For action to loop through a Grid, does it include new created rows? If it does, how do I know a row is new created? and how do I&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;&lt;span id="mce_6_start" style="overflow:hidden;"&gt;8.&lt;/span&gt;&amp;nbsp;if there is any document regading Grid? It seems that I can only search forum or do it trial-&lt;span id="mce_4_start" style="overflow:hidden;"&gt;and&lt;/span&gt;-error.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;Thanks.&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;--&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;Alex&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;</description></item></channel></rss>