<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — rep_check_print doesn't work with 2.4.2]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=6993&amp;type=atom" />
	<updated>2017-09-30T18:47:05Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=6993</id>
		<entry>
			<title type="html"><![CDATA[Re: rep_check_print doesn't work with 2.4.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28792#p28792" />
			<content type="html"><![CDATA[<p>The routine has not been removed. It has been renamed and the extra arguments and their functionality has been removed.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-09-30T18:47:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28792#p28792</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: rep_check_print doesn't work with 2.4.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28789#p28789" />
			<content type="html"><![CDATA[<p>Will have a discussion with Janusz about this. There might be some other reason for moving the routines.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2017-09-30T12:07:50Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28789#p28789</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: rep_check_print doesn't work with 2.4.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28787#p28787" />
			<content type="html"><![CDATA[<p>@cotcomsol: Thanks for the feedback.<br />Updated <a href="https://github.com/apmuthu/FA24extensions/tree/master/Extensions/rep_check_print">my FA24Extensions repo for this extension</a>.<br />It is also attached herewith.</p><p>@joe: would you like to copy over the said function to it&#039;s original location? This change done in FA 2.4.x has broken the extension thus far. Any changes to functions in FA 2.3 when porting to FA 2.4 should take into account atleast it&#039;s use in all official extensions or fix the latter to accommodate such changes.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-09-30T05:23:46Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28787#p28787</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: rep_check_print doesn't work with 2.4.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28784#p28784" />
			<content type="html"><![CDATA[<p>Thanks for the help and feedback!</p><p>I just copied the get_alloc_supp_sql() function from 2.3 into the top of the rep_check_print.php file below print_check() and it seems to work fine.</p><p>Brock</p>]]></content>
			<author>
				<name><![CDATA[cotcomsol]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19642</uri>
			</author>
			<updated>2017-09-29T15:09:04Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28784#p28784</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: rep_check_print doesn't work with 2.4.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28739#p28739" />
			<content type="html"><![CDATA[<p>The equivalent function in FA 2.4.2 is <strong>get_allocatable_from_supp_sql()</strong>, but it does not accomodate the extra fields, conditions and tables that FA 2.3.x&#039;s <strong>get_alloc_supp_sql()</strong> did in it&#039;s version of <strong>purchasing/includes/db/suppalloc_db.inc</strong>. Hence, make a local function called <strong>get_alloc_supp_sql()</strong> in the file <strong>rep_check_print.php</strong> to first call the said function in FA 2.4.2 and then incorporate the extra entities <strong>or</strong> just replicate the function from FA 2.3.x in it directly and then provide your feedback so that I can update <a href="https://github.com/apmuthu/FA24extensions">my repo</a> which is now more current than the official one.</p><p>The <strong>reporting/rep210.php</strong> has a similar use of the said function in FA 2.3.x and is replaced in FA 2.4.2 by: </p><div class="codebox"><pre><code>get_allocatable_to_supp_transactions($myrow[&#039;supplier_id&#039;], $myrow[&#039;trans_no&#039;], $myrow[&#039;type&#039;]);</code></pre></div><p>You can try it&#039;s equivalent in the extension under reference.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2017-09-27T04:22:27Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28739#p28739</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: rep_check_print doesn't work with 2.4.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28738#p28738" />
			<content type="html"><![CDATA[<p>Official Repo has not updated&nbsp; rep_check_print.&nbsp; @joe, @itronics will help you on this.</p>]]></content>
			<author>
				<name><![CDATA[kvvaradha]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19348</uri>
			</author>
			<updated>2017-09-27T01:25:41Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28738#p28738</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[rep_check_print doesn't work with 2.4.2]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=28736#p28736" />
			<content type="html"><![CDATA[<p>I recently upgrade our site to 2.4.2 and we noticed the rep_check_print extension doesn&#039;t seem to work due to changes in the get_alloc_supp_sql function.&nbsp; Just wondered if anyone has fixed this yet or if I need to dig into the code and try and figure it out.</p><p>Is there an official git repository for the extensions?&nbsp; I&#039;ve found the https://github.com/apmuthu/FA24extensions but not sure if that is the actual repo.</p><p>Thanks<br />Brock</p>]]></content>
			<author>
				<name><![CDATA[cotcomsol]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19642</uri>
			</author>
			<updated>2017-09-26T20:42:34Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=28736#p28736</id>
		</entry>
</feed>
