<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — repgen module for version 2.2]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=958&amp;type=atom" />
	<updated>2009-12-11T23:41:42Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=958</id>
		<entry>
			<title type="html"><![CDATA[Re: repgen module for version 2.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4147#p4147" />
			<content type="html"><![CDATA[<p>Please download the file once again from the Website. the download file has been replaced.<br />The problem was that there were 2 javascript windows with the same name. This is now fixed and it works ok again.<br />The file creating the error was repgen_create.php</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2009-12-11T23:41:42Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4147#p4147</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: repgen module for version 2.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4144#p4144" />
			<content type="html"><![CDATA[<p>I test the complete Module whole is working fine accept the <strong> Test The SQL </strong> button not working. it gaves an error [b] SQL Error: SQL Statement is empty! [\b]</p>]]></content>
			<author>
				<name><![CDATA[sajjad]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=521</uri>
			</author>
			<updated>2009-12-11T12:00:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4144#p4144</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: repgen module for version 2.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4143#p4143" />
			<content type="html"><![CDATA[<p>I read the access_level.txt and under How all it works section i found the solution and also eg is also given there.</p><p>I Create the new file name &quot;acc_levels&quot; for repgen module and write the following code<br /></p><div class="codebox"><pre><code>&lt;?php
$security_areas[&#039;SA_REPGEN&#039;] = array(SS_GL|155, _(&quot;Report generator (Run)&quot;));
?&gt;</code></pre></div><p>- Please tell me waht is SS_GL|155 ?<br />ill just copy this from other module file</p><p>After making this file i replace the <strong>$page_security</strong> variable in all *.php&nbsp; files like this</p><div class="codebox"><pre><code>$page_security = &#039;SA_REPGEN&#039;;</code></pre></div><p>And i also place a function call in all *.php files. <br />This function is called:<br />add_access_extensions();</p><p>I placed this after the include of file /includes/session.inc</p><p>By doing this steps now i am able to run report generator module in FA2.2 Stable</p>]]></content>
			<author>
				<name><![CDATA[sajjad]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=521</uri>
			</author>
			<updated>2009-12-11T11:22:20Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4143#p4143</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: repgen module for version 2.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4142#p4142" />
			<content type="html"><![CDATA[<p>The security areas are defined in /includes/access_levels.inc. Because of a new security system implented in 2.2 we have to support a small file with one or more security area, depending of differences in access-levels.<br />And you also need to place a function call in all *.php files that has a $page_security set. This function is called:<br />add_access_extensions();<br />This should be placed after the include of file /includes/session.inc</p><p>But you can also just wait a couple of hours. I am about to upload the Report Generator and the Check Print fascility for release 2.2 to the Website, download section.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2009-12-11T10:58:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4142#p4142</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: repgen module for version 2.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4141#p4141" />
			<content type="html"><![CDATA[<p>i found access level (acc_level.php) file in other modules in 2.2 like acct_percent_tool &amp; import_journal. </p><p>this is from acct_percent_tool:<br /></p><div class="codebox"><pre><code>$security_areas[&#039;SA_ACCTPERCENTRUN&#039;] = array(SS_GL|155, _(&quot;Account Percentage Tool (Run)&quot;));

$security_areas[&#039;SA_ACCTPERCENTEDIT&#039;] = array(SS_GL_C|156, _(&quot;Account Percentage Tool (Editor)&quot;));</code></pre></div><p>this is from import_journal:<br /></p><div class="codebox"><pre><code>$security_areas[&#039;SA_CSVJOURNALIMPORT&#039;] = array(SS_GL|151, _(&quot;Import Journal Entry/Deposit/Payment from CVS files&quot;));</code></pre></div><p>Now what i need to understand is <br />1: what is $security areas ?<br />2: What does the array represent specfically its content ?</p><p>My hope is that all i need to create access level file and i will able to run the report genrator.</p>]]></content>
			<author>
				<name><![CDATA[sajjad]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=521</uri>
			</author>
			<updated>2009-12-11T08:28:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4141#p4141</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: repgen module for version 2.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4140#p4140" />
			<content type="html"><![CDATA[<p>I think it needs some fine-tuning, but not sure. The new access-roles has to be considered too.<br />We don&#039;t have resources at present to update it. Maybe you can help.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2009-12-11T07:53:17Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4140#p4140</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[repgen module for version 2.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=4139#p4139" />
			<content type="html"><![CDATA[<p>How can i use repgen2.1 in frontaccounting version 2.2 Stable<br />or is there any other module for reporting</p><p>thnks</p>]]></content>
			<author>
				<name><![CDATA[sajjad]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=521</uri>
			</author>
			<updated>2009-12-11T06:57:43Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=4139#p4139</id>
		</entry>
</feed>
