<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Add Transaction type]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=6510</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6510&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Add Transaction type.]]></description>
		<lastBuildDate>Sat, 15 Oct 2016 17:18:03 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Add Transaction type]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26606#p26606</link>
			<description><![CDATA[<p>@kvvaradha Agree, this is good to have user friendly names also it helps for references to trace transactions. By going more deep I see more functions related to them.</p><p>I should edit FA core code because there are built in functions like payment_person_name() which required modification of my types. <br />But now I have faced with new issue my code is in module and types.inc or gl_trans view files are not call it within FA :S</p><p>So will modify FA and keep logs, no other way to go <img src="https://frontaccounting.com/punbb/img/smilies/sad.png" width="15" height="15" alt="sad" /></p>]]></description>
			<author><![CDATA[null@example.com (trecords)]]></author>
			<pubDate>Sat, 15 Oct 2016 17:18:03 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26606#p26606</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add Transaction type]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26597#p26597</link>
			<description><![CDATA[<p>The transaction&nbsp; types are a type of transactions we are recording in our FA database.&nbsp; Just remember.&nbsp; We are saving general ledgers in a same table.&nbsp; And we can differentiate&nbsp; the transaction and can be viewed similar transactions from it.&nbsp; Say for example for journal entries are type 0.&nbsp; This can be defined as ST_JOURNAL. It&#039;s easy understanding while you coding.&nbsp; You always need to check the type no.&nbsp; If you use the 0 instead of the transaction type constant.</p>]]></description>
			<author><![CDATA[null@example.com (kvvaradha)]]></author>
			<pubDate>Fri, 14 Oct 2016 02:25:54 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26597#p26597</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add Transaction type]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26596#p26596</link>
			<description><![CDATA[<p>ST_CUSTPAYMENT &amp;&amp; ST_CUSTCREDIT will not help as I have difference table for clients and contracts with them. I need to process 3 type of payment per company or directly per client.</p><p>There are some usefull functions within FA like submenu_option, submenu_view, submenu_print where as they are but only for internal predefined types.</p><p>Anyway I have decided to copy existing similar type related functions into module and modify them with new types/names.</p><p>Would be better to have more generalized framework which will help to develop functions more easy and faster.</p>]]></description>
			<author><![CDATA[null@example.com (trecords)]]></author>
			<pubDate>Thu, 13 Oct 2016 18:07:26 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26596#p26596</guid>
		</item>
		<item>
			<title><![CDATA[Re: Add Transaction type]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26573#p26573</link>
			<description><![CDATA[<p>Which version of FA are you referring to - FA 2.3.25+ or 2.4RC1?</p><p>In FA 2.4RC1, the following new defines have been added:<br /></p><div class="codebox"><pre><code>//
//    Depreciation period types
//
define(&#039;FA_MONTHLY&#039;, 0);
define(&#039;FA_YEARLY&#039;, 1);
...
//    Manufacturing types
//

define(&#039;WO_MATERIALS&#039;, 2);
...
// Tax calculation algorithms used in als and purchase (depends on supplier&#039;s invoicing software)

define(&#039;TCA_TOTALS&#039;, 1); // taxes are calculated from respective net totals for all lines
define(&#039;TCA_LINES&#039;, 2); // taxes calculated for every line, then summed
//
//    Bank account owner types
//
define(&#039;BO_UNKNOWN&#039;, 0);
define(&#039;BO_COMPANY&#039;, 1);
define(&#039;BO_CUSTBRANCH&#039;, 2);
define(&#039;BO_SUPPLIER&#039;, 3);
...
// tax register type
define(&#039;TR_OUTPUT&#039;, 0); // sales
define(&#039;TR_INPUT&#039;, 1);    // purchase
...</code></pre></div><p>Quite a few settings in the config.php have been migrated to the <strong>sys_prefs</strong> table on a per company basis.</p><p>You can possibly check the <strong>(ST_CUSTPAYMENT &amp;&amp; ST_CUSTCREDIT)</strong>&nbsp; in your constructs without touching the <strong>include/types.inc</strong> file.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Tue, 11 Oct 2016 03:24:39 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26573#p26573</guid>
		</item>
		<item>
			<title><![CDATA[Add Transaction type]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=26561#p26561</link>
			<description><![CDATA[<p>Hi,</p><p>I need to add transaction type something like ST_CREDITPAYMENT and define custom actions like delete_comments, void_bank_trans, void_gl_trans. I will add this into types.inc There are some more functions relates to this like systype_db and without hook.</p><p>But what is the reason to create these transaction types? I want to understand the purpose for this. And also why do these types are not database managed but in file.</p><p>Regards.</p>]]></description>
			<author><![CDATA[null@example.com (trecords)]]></author>
			<pubDate>Sat, 08 Oct 2016 15:39:12 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=26561#p26561</guid>
		</item>
	</channel>
</rss>
