<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[frevvo Forums]]></title>
		<link>http://forum.frevvo.com/forum/index.php</link>
		<description><![CDATA[The most recent posts in frevvo Forums.]]></description>
		<lastBuildDate>Thu, 17 May 2012 12:39:33 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Sort Task List]]></title>
			<link>http://forum.frevvo.com/forum/viewtopic.php?pid=5813#p5813</link>
			<description><![CDATA[<p>Currently there is no option to sort the task list in any other way.</p><p>But you can search for any particular task in the <a href="http://docs.frevvo.com/docs/index.php/V4_Tasks_Home_Page#Search_History">History</a> tab of the task list.</p>]]></description>
			<author><![CDATA[null@example.com (prajakta)]]></author>
			<pubDate>Thu, 17 May 2012 12:39:33 +0000</pubDate>
			<guid>http://forum.frevvo.com/forum/viewtopic.php?pid=5813#p5813</guid>
		</item>
		<item>
			<title><![CDATA[Sort Task List]]></title>
			<link>http://forum.frevvo.com/forum/viewtopic.php?pid=5809#p5809</link>
			<description><![CDATA[<p>It appears the task list is currently sorted by earliest submission (top) to latest submission (bottom). Is there a way to sort the list differently?</p>]]></description>
			<author><![CDATA[null@example.com (saralemp)]]></author>
			<pubDate>Wed, 16 May 2012 17:30:43 +0000</pubDate>
			<guid>http://forum.frevvo.com/forum/viewtopic.php?pid=5809#p5809</guid>
		</item>
		<item>
			<title><![CDATA[Re: Using Flows, but skipping a step within that Flow]]></title>
			<link>http://forum.frevvo.com/forum/viewtopic.php?pid=5793#p5793</link>
			<description><![CDATA[<p>Please check <a href="http://docs.frevvo.com/docs/index.php/V4_Designing_Flows#Precondition">this documentation</a> to add pre-conditions to flow steps.</p><p>The steps will execute only if their pre-conditions are satisfied.</p>]]></description>
			<author><![CDATA[null@example.com (prajakta)]]></author>
			<pubDate>Mon, 14 May 2012 12:18:55 +0000</pubDate>
			<guid>http://forum.frevvo.com/forum/viewtopic.php?pid=5793#p5793</guid>
		</item>
		<item>
			<title><![CDATA[Using Flows, but skipping a step within that Flow]]></title>
			<link>http://forum.frevvo.com/forum/viewtopic.php?pid=5783#p5783</link>
			<description><![CDATA[<p>I am writing a workflow for a customer that their structure looks like this:<br />--&gt;Employee<br />&nbsp; &nbsp; &nbsp;--&gt;Supervisor<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --&gt;Dept. Manager<br />&nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; --&gt;Chief Op. Office<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp;--&gt;Exec. Dir.<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; --&gt;HR/Payroll</p><p>There are some employees that do not have a supervisor. So, they would skip that step in the flow and go directly to the Dept. Manager. Here is what I have so far. However, I have not been able to figure out how to get those w/out a supervisor to go ahead to the DM. Right now it just puts the DM into the supervisor section, thus throwing off the rest of the flow. </p><p>if (form.load) <br />{<br />current_date.value = DateUtil.today();<br />&nbsp; var an = _data.getParameter (&quot;flow.activity.name&quot;);<br />//Employee<br />&nbsp; if (an == &#039;Employee&#039; &amp;&amp; EmployeeName.value.length == 0) {<br />EmployeeName.value = _data.getParameter(&#039;subject.first.name&#039;) + &#039; &#039; + _data.getParameter(&#039;subject.last.name&#039;);<br />&nbsp; &nbsp; SId.value = _data.getParameter(&#039;subject.reports.to&#039;);<br />&nbsp; &nbsp; ApprovalSection.visible = false;<br />&nbsp; &nbsp; SupervisorApproval.visible = false;<br />&nbsp; &nbsp; SupervisorApproval.required = false;<br />&nbsp; &nbsp; ManagerApproval.visible = false;<br />&nbsp; &nbsp; ManagerApproval.required = false;<br />&nbsp; &nbsp; COOApproval.visible = false;<br />&nbsp; &nbsp; COOApproval.required = false;<br />&nbsp; &nbsp; ExecutiveApproval.visible = false;<br />&nbsp; &nbsp; ExecutiveApproval.required = false;<br />&nbsp; &nbsp; HRPayrollOnly.visible = false;<br />&nbsp; &nbsp; HRPayrollOnly.required = false;<br />&nbsp; } <br />//Supervisor<br />else if (an == &#039;Supervisor&#039; &amp;&amp; SupervisorName.value.length == 0) {<br />SupervisorName.value = _data.getParameter(&#039;subject.first.name&#039;) + &#039; &#039; + _data.getParameter(&#039;subject.last.name&#039;);<br />&nbsp; &nbsp; MId.value = _data.getParameter(&#039;subject.reports.to&#039;);<br />&nbsp; &nbsp; SupervisorApproval.visible = true;<br />&nbsp; &nbsp; SupervisorApproval.required = true;<br />&nbsp; &nbsp; ManagerApproval.visible = false;<br />&nbsp; &nbsp; ManagerApproval.required = false;<br />&nbsp; &nbsp; COOApproval.visible = false;<br />&nbsp; &nbsp; COOApproval.required = false;<br />&nbsp; &nbsp; ExecutiveApproval.visible = false;<br />&nbsp; &nbsp; ExecutiveApproval.required = false;<br />&nbsp; &nbsp; HRPayrollOnly.visible = false;<br />&nbsp; &nbsp; HRPayrollOnly.required = false;<br />}<br />//Department Manager<br />else if (an == &#039;Manager&#039; &amp;&amp; ManagerName.value.length == 0) {<br />ManagerName.value = _data.getParameter(&#039;subject.first.name&#039;) + &#039; &#039; + _data.getParameter(&#039;subject.last.name&#039;);<br />&nbsp; &nbsp; COOId.value = _data.getParameter(&#039;subject.reports.to&#039;);<br />&nbsp; &nbsp; SupervisorApproval.visible = false;<br />&nbsp; &nbsp; SupervisorApproval.required = false;<br />&nbsp; &nbsp; ManagerApproval.visible = true;<br />&nbsp; &nbsp; ManagerApproval.required = true;<br />&nbsp; &nbsp; COOApproval.visible = false;<br />&nbsp; &nbsp; COOApproval.required = false;<br />&nbsp; &nbsp; ExecutiveApproval.visible = false;<br />&nbsp; &nbsp; ExecutiveApproval.required = false;<br />&nbsp; &nbsp; HRPayrollOnly.visible = false;<br />&nbsp; &nbsp; HRPayrollOnly.required = false;<br />&nbsp; } <br />//COO<br />&nbsp; if (an == &#039;COO&#039; &amp;&amp; COOName.value.length == 0) {<br />COOName.value = _data.getParameter(&#039;subject.first.name&#039;) + &#039; &#039; + _data.getParameter(&#039;subject.last.name&#039;);<br />&nbsp; &nbsp; EDId.value = _data.getParameter(&#039;subject.reports.to&#039;);<br />&nbsp; &nbsp; SupervisorApproval.visible = false;<br />&nbsp; &nbsp; SupervisorApproval.required = false;<br />&nbsp; &nbsp; ManagerApproval.visible = false;<br />&nbsp; &nbsp; ManagerApproval.required = false;<br />&nbsp; &nbsp; COOApproval.visible = true;<br />&nbsp; &nbsp; COOApproval.required = true;<br />&nbsp; &nbsp; ExecutiveApproval.visible = false;<br />&nbsp; &nbsp; ExecutiveApproval.required = false;<br />&nbsp; &nbsp; HRPayrollOnly.visible = false;<br />&nbsp; &nbsp; HRPayrollOnly.required = false;<br />}<br />//Executive Director<br />&nbsp; if (an == &#039;Executive Director&#039; &amp;&amp; ExecutiveDirName.value.length == 0) {<br />ExecutiveDirName.value = _data.getParameter(&#039;subject.first.name&#039;) + &#039; &#039; + _data.getParameter(&#039;subject.last.name&#039;);<br />&nbsp; &nbsp; HId.value = _data.getParameter(&#039;subject.reports.to&#039;);<br />&nbsp; &nbsp; SupervisorApproval.visible = false;<br />&nbsp; &nbsp; SupervisorApproval.required = false;<br />&nbsp; &nbsp; ManagerApproval.visible = false;<br />&nbsp; &nbsp; ManagerApproval.required = false;<br />&nbsp; &nbsp; COOApproval.visible = false;<br />&nbsp; &nbsp; COOApproval.required = false;<br />&nbsp; &nbsp; ExecutiveApproval.visible = true;<br />&nbsp; &nbsp; ExecutiveApproval.required = true;<br />&nbsp; &nbsp; HRPayrollOnly.visible = false;<br />&nbsp; &nbsp; HRPayrollOnly.required = false;<br />}<br />//HR &amp; Payroll<br />else if (an == &#039;HR&#039; &amp;&amp; HrName.value.length == 0) {<br />HrName.value = _data.getParameter(&#039;subject.first.name&#039;) + &#039; &#039; + _data.getParameter(&#039;subject.last.name&#039;);<br />&nbsp; &nbsp; SupervisorApproval.visible = true;<br />&nbsp; &nbsp; SupervisorApproval.required = true;<br />&nbsp; &nbsp; ManagerApproval.visible = true;<br />&nbsp; &nbsp; ManagerApproval.required = true;<br />&nbsp; &nbsp; COOApproval.visible = true;<br />&nbsp; &nbsp; COOApproval.required = true;<br />&nbsp; &nbsp; ExecutiveApproval.visible = true;<br />&nbsp; &nbsp; ExecutiveApproval.required = true;<br />&nbsp; &nbsp; HRPayrollOnly.visible = true;<br />&nbsp; &nbsp; HRPayrollOnly.required = true;<br />&nbsp; }<br />}</p>]]></description>
			<author><![CDATA[null@example.com (erisaf)]]></author>
			<pubDate>Fri, 11 May 2012 19:42:52 +0000</pubDate>
			<guid>http://forum.frevvo.com/forum/viewtopic.php?pid=5783#p5783</guid>
		</item>
		<item>
			<title><![CDATA[Re: Repeat item business rules]]></title>
			<link>http://forum.frevvo.com/forum/viewtopic.php?pid=5782#p5782</link>
			<description><![CDATA[<p>Thanks prajakta. Who knows how many times I have looked right past that one sentence. Thank you for the direct response. Sometimes you look at something so long that if it were a snake, as they say, it would have bitten me! Thanks again.</p>]]></description>
			<author><![CDATA[null@example.com (erisaf)]]></author>
			<pubDate>Fri, 11 May 2012 19:23:48 +0000</pubDate>
			<guid>http://forum.frevvo.com/forum/viewtopic.php?pid=5782#p5782</guid>
		</item>
		<item>
			<title><![CDATA[Re: Trying to Update Table from Form Java]]></title>
			<link>http://forum.frevvo.com/forum/viewtopic.php?pid=5760#p5760</link>
			<description><![CDATA[<p>When you browse &#039;http://fortisdemo:8080/database/REQUISITION/IncrementPurchaseRequisitionID&#039; directly in the browser, you should see something the results of the select statement in your browser. That would indicate that the select statement is working.</p><p>So currently it looks like the SELECT is your SP is not returning anything. When you run the SP in a SQL window, do you see any results there?</p><p>You might want to look at the logs in &lt;frevvo-install-dir&gt;\frevvo\tomcat\logs\catalina.xxxx-xx-xx.log after you browse the above url. It will show errors if any.</p>]]></description>
			<author><![CDATA[null@example.com (prajakta)]]></author>
			<pubDate>Thu, 10 May 2012 18:02:34 +0000</pubDate>
			<guid>http://forum.frevvo.com/forum/viewtopic.php?pid=5760#p5760</guid>
		</item>
		<item>
			<title><![CDATA[Re: Trying to Update Table from Form Java]]></title>
			<link>http://forum.frevvo.com/forum/viewtopic.php?pid=5756#p5756</link>
			<description><![CDATA[<p>configuration.xml matches your post </p><p>I added the select statement following the rest of the SP code.</p><p>I tried returning @NewIDNUM, and also returning nothing (no return *** statement).</p><p>The browser test returns a blank page, the java script returns <br />unexpected end of file from the <br />eval(&#039;i=&#039; + http.get(&#039;http://fortisdemo:8080/database/REQUISITION/IncrementPurchaseRequisitionID&#039;)); <br />statement.</p>]]></description>
			<author><![CDATA[null@example.com (blavis)]]></author>
			<pubDate>Thu, 10 May 2012 16:04:08 +0000</pubDate>
			<guid>http://forum.frevvo.com/forum/viewtopic.php?pid=5756#p5756</guid>
		</item>
		<item>
			<title><![CDATA[Re: Repeat item business rules]]></title>
			<link>http://forum.frevvo.com/forum/viewtopic.php?pid=5755#p5755</link>
			<description><![CDATA[<p>If you have a repeating control in a form that itself contains a repeating control, you cannot apply a rule to the &quot;inner&quot; repeating control, since there&#039;s no way to tell which of the inner repeating items goes with which outer repeating item.</p><p>See <a href="http://docs.frevvo.com/docs/index.php/V4_Business_Rules#Rules_and_Repeating_Controls">this documentation</a>.</p>]]></description>
			<author><![CDATA[null@example.com (prajakta)]]></author>
			<pubDate>Thu, 10 May 2012 15:30:39 +0000</pubDate>
			<guid>http://forum.frevvo.com/forum/viewtopic.php?pid=5755#p5755</guid>
		</item>
		<item>
			<title><![CDATA[Re: Repeat item business rules]]></title>
			<link>http://forum.frevvo.com/forum/viewtopic.php?pid=5754#p5754</link>
			<description><![CDATA[<p>Following your specific instructions outside of an embedded repeat, it works. Without changing the code, I embed the items into the actual vendor repeat (repeat within a repeat), and it gives the above referenced error. Can I embed a repeat inside another one? And if so, does the code change to reflect this?</p>]]></description>
			<author><![CDATA[null@example.com (erisaf)]]></author>
			<pubDate>Thu, 10 May 2012 13:40:42 +0000</pubDate>
			<guid>http://forum.frevvo.com/forum/viewtopic.php?pid=5754#p5754</guid>
		</item>
		<item>
			<title><![CDATA[Re: Multiple Parameter select query syntax?]]></title>
			<link>http://forum.frevvo.com/forum/viewtopic.php?pid=5745#p5745</link>
			<description><![CDATA[<p>You will need to use &#039;&amp;&#039; to separate parameter values and &#039;.value&#039; is missing after the control names in the URL.</p><p>Your rule should have:<br />eval(&#039;f=&#039; + http.get(&#039;http://fortisdemo:8080/database/REQUISITION/AccountsGivenFundAndResource?FundID=&#039; + FundPicked.value + &#039;&amp;ResPrj=&#039; + ResourcePicked.value)) ;</p>]]></description>
			<author><![CDATA[null@example.com (prajakta)]]></author>
			<pubDate>Wed, 09 May 2012 14:49:17 +0000</pubDate>
			<guid>http://forum.frevvo.com/forum/viewtopic.php?pid=5745#p5745</guid>
		</item>
		<item>
			<title><![CDATA[Re: Trying to Update Table from Form Java]]></title>
			<link>http://forum.frevvo.com/forum/viewtopic.php?pid=5744#p5744</link>
			<description><![CDATA[<p>I did some experiments with this here, and it looks like the database connector is expecting a result set as a result. So, if there is nothing to return from your stored procedure you could return an empty set.</p><p>Adding a select statement at the end of your stored procedure should solve this problem for you.</p><p>Modify the stored procedure to:<br /></p><div class="codebox"><pre><code>ALTER PROCEDURE [dbo].[IncrementPurchaseRequisitionID] 
AS
BEGIN
    SET NOCOUNT ON;
DECLARE @ExistingID varchar(7)
DECLARE @NewID varchar(7)
DECLARE @NewIDNUM int
SELECT @ExistingID = Next_Purchase_Requisition_ID from Purchase_Requisition_ID;
SET @NewIDNUM = CONVERT(int,@ExistingID) + 1;
SET @NewID = CONVERT(varchar, @NewIDNUM);
    UPDATE Purchase_Requisition_ID set
    Next_Purchase_Requisition_ID = @NewID;
SELECT @ExistingID = Next_Purchase_Requisition_ID from Purchase_Requisition_ID;
END</code></pre></div><p>No need of return statement, instead add any select statement. You may not use the result set, but it is necessary for the SP to work from the connector.</p><p>Also your query should be:<br /></p><div class="codebox"><pre><code>      &lt;query name=&quot;IncrementPurchaseRequisitionID&quot;&gt;
        &lt;retrieve&gt;
            &lt;statement&gt; 
                exec IncrementPurchaseRequisitionID
            &lt;/statement&gt;
        &lt;/retrieve&gt;
    &lt;/query&gt;</code></pre></div><p>Adding () or dbo. in it will cause errors.</p>]]></description>
			<author><![CDATA[null@example.com (prajakta)]]></author>
			<pubDate>Wed, 09 May 2012 14:35:57 +0000</pubDate>
			<guid>http://forum.frevvo.com/forum/viewtopic.php?pid=5744#p5744</guid>
		</item>
		<item>
			<title><![CDATA[Multiple Parameter select query syntax?]]></title>
			<link>http://forum.frevvo.com/forum/viewtopic.php?pid=5740#p5740</link>
			<description><![CDATA[<p>I am trying to get data from a table, but it requires sending two parameters.&nbsp; It does not return anything.&nbsp; I have queries in the same Javascript with one parameter that work fine.</p><p>In the Java script (FundPicked and ResourcePicked are string variables)<br />eval(&#039;f=&#039; + http.get(&#039;http://fortisdemo:8080/database/REQUISITION/AccountsGivenFundAndResource?FundID=&#039; + FundPicked + &#039;?ResPrj=&#039; + ResourcePicked)) ; </p><p>in configuration.xml<br />&lt;query name=&quot;AccountsGivenFundAndResource&quot; autocreate=&quot;true&quot;&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&lt;retrieve&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&lt;statement&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;SELECT * FROM ChartofAccounts WHERE FundID = &#039;{FundID}&#039; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;AND ResPrj = &#039;{ResPrj}&#039;<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&lt;/statement&gt;<br />&nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;&lt;/retrieve&gt;<br />&nbsp; &nbsp;&nbsp; &nbsp;&lt;/query&gt;</p>]]></description>
			<author><![CDATA[null@example.com (blavis)]]></author>
			<pubDate>Tue, 08 May 2012 18:34:44 +0000</pubDate>
			<guid>http://forum.frevvo.com/forum/viewtopic.php?pid=5740#p5740</guid>
		</item>
		<item>
			<title><![CDATA[Re: Trying to Update Table from Form Java]]></title>
			<link>http://forum.frevvo.com/forum/viewtopic.php?pid=5739#p5739</link>
			<description><![CDATA[<p>The stored procedure is doing it&#039;s processing internally to SQL, and returning a value, why should frevvo care what it does as long as it returns something?&nbsp; The Configuration.xml has no idea what the stored procedure is doing....&nbsp; Do I have to return a parameter in order to get an XML generated as a result?</p>]]></description>
			<author><![CDATA[null@example.com (blavis)]]></author>
			<pubDate>Tue, 08 May 2012 18:20:06 +0000</pubDate>
			<guid>http://forum.frevvo.com/forum/viewtopic.php?pid=5739#p5739</guid>
		</item>
		<item>
			<title><![CDATA[Re: Trying to Update Table from Form Java]]></title>
			<link>http://forum.frevvo.com/forum/viewtopic.php?pid=5738#p5738</link>
			<description><![CDATA[<p>Your stored procedure has Select as well as Update statements. The DB Connector will not work for it.</p><p>Since you are calling the SP in a &lt;retrieve&gt; parameter, its goal is to only do the GET (i.e. Select) operation.</p><p>The SP will work if you remove the Update statement in it.</p><p>You will need to use <a href="http://docs.frevvo.com/docs/index.php/V4_Database_Connector_V2.0#Document_URI_Properties">Doc Actions</a> to do any kind of Update/Create (PUT/POST) operation.</p>]]></description>
			<author><![CDATA[null@example.com (prajakta)]]></author>
			<pubDate>Tue, 08 May 2012 17:49:55 +0000</pubDate>
			<guid>http://forum.frevvo.com/forum/viewtopic.php?pid=5738#p5738</guid>
		</item>
		<item>
			<title><![CDATA[Re: Trying to Update Table from Form Java]]></title>
			<link>http://forum.frevvo.com/forum/viewtopic.php?pid=5735#p5735</link>
			<description><![CDATA[<p>I get a blank screen when using the &quot;direct in browser&quot; screen.&nbsp; Confirmed other select queries work.&nbsp; Stored procedure follows.&nbsp; I suspect that since there are no parameters, (except the return value) that is causing issues.&nbsp; IN SQL Query window, I get correct value returned.</p><p>LTER PROCEDURE [dbo].[IncrementPurchaseRequisitionID] <br />AS<br />BEGIN<br />&nbsp; &nbsp; SET NOCOUNT ON;</p><p>DECLARE @ExistingID varchar(7)<br />DECLARE @NewID varchar(7)<br />DECLARE @NewIDNUM int</p><p>SELECT @ExistingID = Next_Purchase_Requisition_ID from Purchase_Requisition_ID;<br />SET @NewIDNUM = CONVERT(int,@ExistingID) + 1;<br />SET @NewID = CONVERT(varchar, @NewIDNUM);<br />&nbsp; &nbsp; UPDATE Purchase_Requisition_ID set<br />&nbsp; &nbsp; Next_Purchase_Requisition_ID = @NewID;<br />return @NewIDNUM ;<br />END</p>]]></description>
			<author><![CDATA[null@example.com (blavis)]]></author>
			<pubDate>Tue, 08 May 2012 17:17:06 +0000</pubDate>
			<guid>http://forum.frevvo.com/forum/viewtopic.php?pid=5735#p5735</guid>
		</item>
	</channel>
</rss>

