<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — Reports Tutorial Discussion]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=5460</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=5460&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Reports Tutorial Discussion.]]></description>
		<lastBuildDate>Wed, 27 Sep 2017 16:37:42 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Reports Tutorial Discussion]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=28747#p28747</link>
			<description><![CDATA[<p>The file <a href="https://frontaccounting.com/fawiki/uploads/Help/Rep107_PrintInvoice.png">reporting/rep107.php</a> outputs the Invoice in FA.</p><p>The variable <strong>$cols</strong> shows the start of each field in mm. for the item list lines in the body of the invoice.<br />The variable <strong>$aligns</strong> sets the alignments for the above fields.</p><p>As the Header2 template is used in this report, check out the lines for address1 (154-157) and address2 (160-163) in <strong>reporting/includes/header2.inc</strong> which represent the &quot;Charge To&quot; and &quot;Delivered To&quot; addresses.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 27 Sep 2017 16:37:42 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=28747#p28747</guid>
		</item>
		<item>
			<title><![CDATA[Re: Reports Tutorial Discussion]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=28743#p28743</link>
			<description><![CDATA[<p>Hi!<br />I would like to modify the invoice statement so that the address &quot;Charge To&quot; fits a window envelope. The window is 100 x 35 mm, is positioned about 104 mm from the left edge, and is placed about 36 mm from the top edge. Of course, I have to adapt other fields accordingly.<br />How can I accomplish this in the easiest way?</p>]]></description>
			<author><![CDATA[null@example.com (pilotspelman)]]></author>
			<pubDate>Wed, 27 Sep 2017 13:08:57 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=28743#p28743</guid>
		</item>
		<item>
			<title><![CDATA[Re: Reports Tutorial Discussion]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=22125#p22125</link>
			<description><![CDATA[<p>It will be easy if you forked a Git (either the <strong>official one</strong> for the core alone or<strong> mine</strong> for both the core and the extensions and my mods) and then began developing so that others can study the code and assist you and possibly include it in the core if found useful to many.</p><p>The <strong>gl/bank_transfer.php</strong> file has a <strong>function <em>gl_payment_controls()</em></strong> that populates the form you refer to (<strong>Banking and GL =&gt; Bank Account Transfers</strong>). Refer how the dimensions are populated in some other forms you wish to emulate.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Sun, 11 Jan 2015 14:50:17 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=22125#p22125</guid>
		</item>
		<item>
			<title><![CDATA[Re: Reports Tutorial Discussion]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=22124#p22124</link>
			<description><![CDATA[<p>First off, thanks apmuthu for opening the post and the general report information.</p><p>Some background:<br />I currently have a task for a supermarket chain (2 locations and growing) to modify the cash flow statement to look more like the Profit and Loss statement - with field names changed (income =&gt; cash inflow, costs =&gt; cash outflow...and the like). I also need to add banking into cash outflow to track transfers from cash account to any bank account. </p><p>So far, I&#039;ve taken rep707.php and replaced the cash flow statement module (rep_cash_flow_statement.php), altered the menu in reports_custom.php as needed. So far so good - I&#039;ve changed the fields and added banking from cash account.</p><p>We are using Dimension1 for the different locations as we intend to use one FA database that can be synced. The cash flow statement menu has start-date, end-date and dimension1 as parameters for the report.</p><p>Current challenge:<br />How to add dimension1 field to &quot;Bank Account Transfers&quot; screen (under Banking and General Ledger)? Having the dimension1 field would allow transfers to be made with the location selected. Therefore the cash flow report would reflect this.</p>]]></description>
			<author><![CDATA[null@example.com (mkisekka)]]></author>
			<pubDate>Sun, 11 Jan 2015 08:56:10 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=22124#p22124</guid>
		</item>
		<item>
			<title><![CDATA[Reports Tutorial Discussion]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=22103#p22103</link>
			<description><![CDATA[<p>This is a prelude to fleshing out a <a href="https://frontaccounting.com/fawiki/index.php?n=Main.BuildYourOwnFAReports">Wiki page on DIY FA Reports</a> - Innards and Construction and to address a request from @mkisekka:<br /></p><div class="quotebox"><blockquote><p>....<br />I am a php newbie but generally understand programming concepts and work with oracle databases. <br />I have a task to customize some FA reports, such as the cash flow statement, profit and loss statement - adding some rows, changing layout and the like.</p><p>I was wondering what general advice you would give to someone starting out - in terms of understanding report structure and/or using Repgenerator. <br />I&#039;ve installed FA and tinkered abit with some code but so far its only hacking and I might need a more structured approach. E.g. say I took rep707.php and wanted to understand how the report is structured, should I study line by line or?<br />....</p></blockquote></div><p>The following notes are to act as a general guide for code and layout information:</p><p>1. The <strong>reporting/includes/header2.inc</strong> file contains elements of the top portion of any standard report.<br />2. The <strong>reporting/includes/doctext.inc</strong> obtains all the variables needed for the reports<br />3. The actual <strong>reporting/repXXX.php</strong> file contains the body of the report where line items are listed.<br />4. The <strong>reporting/includes/pdf_report.inc</strong> has the FA reporting classes and common includes<br />5. The <strong>reporting/reports_main.php</strong> file has the form elements that tailor the report (filter choices)<br />6. The <strong>reporting/includes/reporting.inc</strong> file has the code for Non Field DB Data where many <strong>key#value</strong> pairs delimited by # and space separated are placed in some large text field and parsed out on demand. This needs to be backported for v2.3 or taken from <a href="https://github.com/apmuthu/frontaccounting/tree/master/FAMods">my GitHub&#039;s FAMods</a> folder.</p><p>The first 3 above can also act as company overrides by placing them in the appropriate <strong>company/#/</strong> folder.</p><p>Examples are in <a href="https://github.com/apmuthu/frontaccounting/tree/master/FAMods">my GitHub FAMods</a> folder.</p><p>The RegGen extension was hacked in to work in a rudimentary manner and was made for a much earlier version of FA. It is not very secure and can at best be used for development purposes in a trusted secure environment. </p><p>Hitherto, FA users who have successfully built reports have not significantly shared their work and hence it is in a state of relative freeze at present. With the knowledge of DIY reports becoming common, this situation will hopefully reverse itself into competing betterment and result in wider FA adoption.</p>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Fri, 09 Jan 2015 07:19:23 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=22103#p22103</guid>
		</item>
	</channel>
</rss>
