<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — The new Class Types]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=776&amp;type=atom" />
	<updated>2009-08-08T23:24:14Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=776</id>
		<entry>
			<title type="html"><![CDATA[Re: The new Class Types]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=3205#p3205" />
			<content type="html"><![CDATA[<p>Thanks,</p><p>I am glad you resolved this issue.</p><p>I will fix this for the download version 2.1 on the Website.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2009-08-08T23:24:14Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=3205#p3205</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: The new Class Types]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=3202#p3202" />
			<content type="html"><![CDATA[<p>RepGen 2.1 w/ Arabic (or utf-8) char Support:</p><p>in the repgen.inc (file exist in the Folder ../Modules/Repgen)</p><p>Go to around Line # 1253 , you will find :</p><p>&nbsp; &nbsp; &nbsp; &nbsp;$rep-&gt;pdf = new Cpdf(&#039;A4&#039;);</p><p>Delete it &amp; Replace it with the Following :</p><p>////////////////////////////////////////////////////////////////////////////&nbsp; &nbsp;&nbsp; &nbsp;kalido<br /> $l = array(<br />&#039;a_meta_charset&#039;&nbsp; &nbsp;=&gt; strtoupper($_SESSION[&#039;language&#039;]-&gt;encoding),<br />&#039;a_meta_dir&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; =&gt; ($_SESSION[&#039;language&#039;]-&gt;dir === &#039;rtl&#039; ? &#039;rtl&#039; : &#039;ltr&#039;), <br />&#039;a_meta_language&#039; =&gt; $code = $_SESSION[&#039;language&#039;]-&gt;code,<br />&#039;w_page&#039;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;=&gt; &#039;page&#039;<br /> ); </p><p>$rep-&gt;pdf = new Cpdf(&#039;A4&#039;,$l); <br />///////////////////////////////////////////////////////////////////////////&nbsp; &nbsp; kalido</p><p>And &quot; VOILA &quot;, You will have RepGen Generate Reports Supporting the <br />Arabic Language as per the Standard Method That Generate them FrontAccount.</p><p>NB:<br />Surely, you need to install the Arabic Language Fonts from :</p><p>https://frontaccounting.com/wbt/pages/download/download-fonts.php</p><p>and install them as described per FrontAccount Authors.</p><p>Now :</p><p>I hope for the future that somebody made a Simple/Easy Payroll System and link it to FA as an Integrated Module.</p><p>Regards,</p><p>Kalido (Khaled)</p>]]></content>
			<author>
				<name><![CDATA[Kalido]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=434</uri>
			</author>
			<updated>2009-08-08T13:03:22Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=3202#p3202</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: The new Class Types]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=3195#p3195" />
			<content type="html"><![CDATA[<p>Hi all.<br />Kalido&#039;s solution for groups (types) is WHAT i was been looking for. Reporting over subgroups is very easy in that way, just need sql statements. Moreover, from my point of view, the structure of the COA becomes more flexible to futures requirements of the enterprise.</p><p>I vote for him!</p><p>Saludos</p>]]></content>
			<author>
				<name><![CDATA[jsantand]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=39</uri>
			</author>
			<updated>2009-08-07T18:00:21Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=3195#p3195</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: The new Class Types]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=3194#p3194" />
			<content type="html"><![CDATA[<p>Hi,</p><p>Since I defined the Account types varchar(6) as (example) :<br /> *&nbsp; &nbsp; &nbsp; 421<br /> *&nbsp; &nbsp; &nbsp; 42110 ; 42120 are Sub-Types</p><p>then come the role of the account code as below :</p><p>*&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;42110150-12&nbsp; &nbsp;;&nbsp; 42110110-10&nbsp; &nbsp;=====&gt;&nbsp; &nbsp;[ 42110 ] refers to the Parent Account Type &amp; the [ 150-12 ] &amp; [ 110-10 ] refers to the <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; running account_code</p><p>*&nbsp; &nbsp; &nbsp; OR&nbsp; simply 421103100 ; 421103200&nbsp; &nbsp; &nbsp;=====&gt;&nbsp; &nbsp;[ 42110 ] refers to the Parent Account Type &amp; the [ 3200 ] &amp; [ 3200 ] refers to the<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;running account_code<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;<br />This Idea/Method will helps a lot when queyring at the different levels of Accounts Tree Structure with what is known <br />[ Account Roll Up feature ] in the widely reputable accounting software [ Peachtree ]. You may then, filter all the Transactions under the 42110 Account Type for example with a simple SQL Statment.</p><p>So practically, the account_code length is &gt;= 9 char length According the account_type length (&lt;=6 char).</p><p>Regarding FrontAccount Arabic Reports, the matter is resolved with what you mentionned and already I apply it and it works well.</p><p>But Again I wish/hope that a new version of REPGEN will support the UTF-8 charset soon. And surely if I resolved , I will post the solution.</p><p>/Kalido</p>]]></content>
			<author>
				<name><![CDATA[Kalido]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=434</uri>
			</author>
			<updated>2009-08-07T17:12:04Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=3194#p3194</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: The new Class Types]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=3193#p3193" />
			<content type="html"><![CDATA[<p>Hello,<br />It sounds interesting with the change of primay key types, but let us wait for any other comments to that.<br />Personly I am not glad for the long account code field. My experience is that 6 should be enough, at most 11 as is now.</p><p>Regarding the REPGEN 2.1 you are probably right. It was a long time since this repgen was created. It should use the &#039;ae_tholoth&#039; font as default, but I guess the zarbold is better (gives less fingerprint and is available for download at the download section). This can be changed in /reporting/includes/class.pdf.inc about line 101.<br />I am sorry I don&#039;t have the resources to help you at present, but I hope you will figure it out yourself.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2009-08-07T07:45:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=3193#p3193</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: The new Class Types]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=3192#p3192" />
			<content type="html"><![CDATA[<p>Dear Joe,</p><p>1. The New Class Type you added is very usefull, and it gives a big flexibilty for declaring the Account Types/Groups.</p><p>2. I changed the type of [ id, INT(11)&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;to&nbsp; id, varchar(6) ]&nbsp; &nbsp; &nbsp; &nbsp; in the chart_types<br />&nbsp; &nbsp; I changed the type of [ Parent, INT(11)&nbsp; to&nbsp; Parent, varchar(6) ] in the chart_types</p><p>3. I changed the type of [ cid, Tynint(1)&nbsp; to&nbsp; cid, Tynint(3) ] in the chart_types</p><p>4. I Changed the type of &quot; account_code &quot; in chart_master and all the related fields from varchar[11]&nbsp; to&nbsp; varchar[15]</p><br /><p>============ those are usefull changes and it give us an account nb looks like&nbsp; &nbsp;PeachTree Accouting Software use&nbsp; &nbsp;===========</p><br /><p>5. I failed to translate the PDF reports generated by REPGEN 2.1 with a UTF-8</p><p>&nbsp; &nbsp; I&#039;m using arabic language and I have an important problem &amp; I think you already know it:</p><p>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; The printed arabic letters appears like this:&nbsp; &nbsp; Ø´Ø§Ø´Ø© 17 Ø¨ÙˆØ&amp;#956;Ø© .&nbsp; It is a problem of uncoding.<br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Is there any solution for this problem ?</p><br /><p>Thanks for your help assistance</p>]]></content>
			<author>
				<name><![CDATA[Kalido]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=434</uri>
			</author>
			<updated>2009-08-06T22:13:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=3192#p3192</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[The new Class Types]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=3186#p3186" />
			<content type="html"><![CDATA[<p>Some of you have objected to the newly implemented class type definition (from 2.1.3). We promissed you a backward compability. This backward compatibility was not 100%. It worked as in the oldversion by setting a variable, $use_oldstyle_convert on line 78 in config.php, to a value of 1.<br />But when dealing with the account class types the new types were presented instead of the old one &#039;Balance sheet&#039; checkbox.</p><p>This has been fixed in today&#039;s CVS update of the file /gl/manage/gl_account_classes.php, revision 1.6. You can download it from here</p><br /><br /><p>This fully backward compatibility will continue to be there in release 2.2 and as long as it is needed.</p><p>Just remember to set the variable in config.php, $use_oldstyle_convert, to a value of 1, every time you update the config.php file.</p><p>The sign converting before was done on Income and Expenses (not balance sheet), in the Reports Balance Sheet, PL statement and Monthly Break Down, and this is of course also working as before when setting this variable to 1.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2009-08-06T07:16:12Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=3186#p3186</id>
		</entry>
</feed>
