<?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: Harmonizing parent and subaccount address fields</title><link>http://forums.method.me/cs/forums/thread/21419.aspx</link><pubDate>Mon, 31 Mar 2014 14:31:28 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:21419</guid><dc:creator>Method_Adam</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/21419.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=21419</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi Mike,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;/span&gt;I suggest using a grid so that you can see the results of the update. &amp;nbsp;Either way you filter the grid, you&amp;#39;ll be looping though the Customer table, because that&amp;#39;s where you&amp;#39;ll want to change the values.&lt;/p&gt;
&lt;p&gt;If you wish to filter the grid to show only parents, then you could do that. &amp;nbsp;This will actually only take one action then, which is simply to update the field in the table. &amp;nbsp;This would actually be more efficient. Perhaps then just include a gird view to show the sub-accounts afterwards to see the changes. &amp;nbsp;Here is what the single update action would look like:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://qa1.methodintegration.com/method/AccountPages/AlocetSystem/ImagesPublished/UpdateFromParent.jpg" width="702" height="522" alt="" /&gt;&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="overflow:hidden;"&gt;- Adam&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description></item><item><title>Re: Harmonizing parent and subaccount address fields</title><link>http://forums.method.me/cs/forums/thread/21401.aspx</link><pubDate>Fri, 28 Mar 2014 15:09:39 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:21401</guid><dc:creator>MikeB</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/21401.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=21401</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Wait a second, though.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Do I need &lt;span id="mce_0_start" style="overflow:hidden;"&gt;to loop through a grid and retrieve from the Customer&amp;nbsp;&lt;/span&gt;table? &lt;span id="mce_2_start" style="overflow:hidden;"&gt;If so, s&lt;/span&gt;&lt;span id="mce_2_end" style="overflow:hidden;"&gt;&lt;/span&gt;hould the grid be of unique ParentFullnames (ie. parent accounts only) to maximize efficiancy?&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;&lt;span style="overflow:hidden;"&gt;&lt;span style="overflow:hidden;"&gt;Would the logic th&lt;span id="mce_1_start" style="overflow:hidden;"&gt;&lt;/span&gt;en be:&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Loop throught the grid of &lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_10_start" style="overflow:hidden;"&gt;&lt;/span&gt;FullNames&lt;span id="mce_6_start" style="overflow:hidden;"&gt;&lt;span id="mce_14_start" style="overflow:hidden;"&gt;&lt;/span&gt;, with the grid&lt;span id="mce_7_start" style="overflow:hidden;"&gt;&amp;nbsp;filtered f&lt;/span&gt;or parents only&lt;span id="mce_12_start" style="overflow:hidden;"&gt; (ie. ParentFullName is&lt;span id="mce_13_start" style="overflow:hidden;"&gt;&lt;/span&gt;&amp;nbsp;blank)&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Retrieve the postal code in the customer table where the FullName in the grid equals the FullName in the customer table. Enter into action result &amp;quot;Postal&amp;quot;&lt;/li&gt;
&lt;li&gt;Update ALL records in the customer table where the FullName in the grid equals the&amp;nbsp;&lt;span id="mce_8_start" style="overflow:hidden;"&gt;ParentFullName in the customer table.&lt;span id="mce_16_start" style="overflow:hidden;"&gt; Does the looping address this part?&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;Or do I need the grid to be populated with non-parent accounts (ie. ParentFullName is NOT blank), and then loop through the &lt;span id="mce_17_start" style="overflow:hidden;"&gt;(non-unique)&amp;nbsp;&lt;/span&gt;ParentFullName fields for each row in that grid?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Please clarify.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Thanks&lt;/div&gt;</description></item><item><title>Re: Harmonizing parent and subaccount address fields</title><link>http://forums.method.me/cs/forums/thread/21397.aspx</link><pubDate>Fri, 28 Mar 2014 14:54:05 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:21397</guid><dc:creator>MikeB</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/21397.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=21397</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&amp;quot;&lt;span&gt;My hunch is that you&amp;#39;re using Value from Row, which also won&amp;#39;t work.&amp;quot;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Correctamundo.&lt;/p&gt;
&lt;p&gt;Thanks for your help!&lt;/p&gt;</description></item><item><title>Re: Harmonizing parent and subaccount address fields</title><link>http://forums.method.me/cs/forums/thread/21394.aspx</link><pubDate>Fri, 28 Mar 2014 14:33:22 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:21394</guid><dc:creator>Method_Adam</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/21394.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=21394</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;Hi Mike,&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_1_start" style="overflow:hidden;"&gt;I believe you might be missing a &amp;quot;Retrieve value from table&amp;quot; action. &amp;nbsp;In the &amp;quot;Update field in Table&amp;quot; action, there are 5 ways to find the new value: Type&lt;span id="mce_2_start" style="overflow:hidden;"&gt;&amp;nbsp;&lt;/span&gt;In,&amp;nbsp;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;Action Result, Value from Row, Value from Screen and Value from Session. &amp;nbsp;Type In, Value from Screen and Value from Session we know won&amp;#39;t work. &amp;nbsp;That leaves Action Result and Value from Row. My hunch is that you&amp;#39;re using Value from Row, which also won&amp;#39;t work. The reason is that the row is the grid row that is filtered to only show Customers with ParentFullNames. These are your subaccounts and they don&amp;#39;t hold the postal code you wish to use.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&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;If you use the &amp;quot;Retrieve value from Table&amp;quot; first, you will be able to locate the proper record in the table then use that action result to populate the grid row. See below for an example.&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;img src="https://qa1.methodintegration.com/method/AccountPages/AlocetSystem/ImagesPublished/RVFTMikeB.jpg" width="703" height="522" alt="" /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span id="mce_4_start" style="overflow:hidden;"&gt;&lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;img src="https://qa1.methodintegration.com/method/AccountPages/AlocetSystem/ImagesPublished/UFITMikeB.jpg" width="703" height="518" alt="" /&gt;&lt;/p&gt;
&lt;p&gt;Hope this helps,&lt;/p&gt;
&lt;p&gt;- Adam&lt;/p&gt;</description></item><item><title>Harmonizing parent and subaccount address fields</title><link>http://forums.method.me/cs/forums/thread/21379.aspx</link><pubDate>Wed, 26 Mar 2014 19:26:17 GMT</pubDate><guid isPermaLink="false">3393c1ec-311b-4812-96cb-ad8c611bba4f:21379</guid><dc:creator>MikeB</dc:creator><slash:comments>0</slash:comments><comments>http://forums.method.me/cs/forums/thread/21379.aspx</comments><wfw:commentRss>http://forums.method.me/cs/forums/commentrss.aspx?SectionID=13&amp;PostID=21379</wfw:commentRss><description>&lt;p&gt;&lt;span id="mce_0_start" style="overflow:hidden;"&gt;&lt;span id="mce_9_start" style="overflow:hidden;"&gt;&lt;span id="mce_20_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;span id="mce_10_start" style="overflow:hidden;"&gt;&lt;span id="mce_11_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;I&amp;#39;m trying to enure all jobs (ie. subaccounts) have the same addresses as their parents and I thought a quick custom screen with a button should do it. But I&amp;#39;m having issues in getting it to work.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Let&amp;#39;s deal with the &lt;span id="mce_2_start" style="overflow:hidden;"&gt;&lt;/span&gt;BillAddress&lt;span id="mce_1_start" style="overflow:hidden;"&gt;PostalCode&lt;span id="mce_2_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;field as an example. I&amp;#39;d like to:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Loop through the Customer table&lt;span id="mce_2_start" style="overflow:hidden;"&gt; (or grid)&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span style="overflow:hidden;"&gt;The table loop (or grid) filter criteria are:&lt;/span&gt;&lt;/li&gt;
&lt;ul&gt;
&lt;li&gt;IsActive = YES&lt;/li&gt;
&lt;li&gt;ParentFullName is not blank&lt;/li&gt;
&lt;/ul&gt;
&lt;/ul&gt;
&lt;li&gt;Update the &lt;span id="mce_5_start" style="overflow:hidden;"&gt;&lt;span id="mce_6_start" style="overflow:hidden;"&gt;BillAddress&lt;span id="mce_1_start"&gt;PostalCode&lt;span id="mce_2_end"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span id="mce_3_start" style="overflow:hidden;"&gt;&amp;nbsp;field with the &lt;span id="mce_4_start" style="overflow:hidden;"&gt;BillAddress&lt;span id="mce_1_start"&gt;PostalCode&lt;span id="mce_2_end"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;value in the Customer table WHERE the ParentFullName of the row in question equals the&amp;nbsp;FullName found in the Customer table&lt;span id="mce_12_start" style="overflow:hidden;"&gt;. I&lt;/span&gt;&lt;/span&gt;n this way, &lt;span id="mce_5_start" style="overflow:hidden;"&gt;we are looping through the table and for each row (&lt;span id="mce_13_start" style="overflow:hidden;"&gt;IsA&lt;/span&gt;ctive = y&lt;span id="mce_18_start" style="overflow:hidden;"&gt;&lt;/span&gt;es and ParentFullName &lt;span id="mce_7_start" style="overflow:hidden;"&gt;&lt;/span&gt;is&lt;span id="mce_7_end" style="overflow:hidden;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span id="mce_6_start" style="overflow:hidden;"&gt;&lt;/span&gt;not blank), I&amp;#39;m trying to&amp;nbsp;populae that row&amp;#39;s postal code with the postal code of its&amp;nbsp;parent.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;&lt;span style="overflow:hidden;"&gt;&lt;span id="mce_16_start" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;I&amp;#39;ve tried it with a grid and looping through a grid, updating the fields in the grid&lt;span id="mce_8_start" style="overflow:hidden;"&gt; &lt;span id="mce_19_start" style="overflow:hidden;"&gt;&lt;/span&gt;- it&amp;#39;s really just 1 line of coding in addition to the 2 loop through grid actions&lt;/span&gt;. But that didn&amp;#39;t update anything. Is it better to loop through the table instead and update the field in the table. If so, how?&lt;/div&gt;
&lt;div&gt;&lt;span style="overflow:hidden;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span style="overflow:hidden;"&gt;Thanks&lt;span id="mce_9_end" style="overflow:hidden;"&gt;&lt;span id="mce_10_end" style="overflow:hidden;"&gt;&lt;span id="mce_11_end" style="overflow:hidden;"&gt;&lt;span id="mce_20_end" style="overflow:hidden;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;</description></item></channel></rss>