<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Potential Bug - Dimension 2 not utilized in Direct Invoice]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=3519&amp;type=atom" />
	<updated>2012-11-09T23:34:19Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=3519</id>
		<entry>
			<title type="html"><![CDATA[Re: Potential Bug - Dimension 2 not utilized in Direct Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14193#p14193" />
			<content type="html"><![CDATA[<p>This has now been fixed. HG repository updated.</p><p>The&nbsp; changed file /sales/includes/cart_class.inc has been attached here.</p><p>I was wrong regarding the item dimension overrides invoice dimension. The invoice dimension overrides the item dimension. Sorry.</p><p>/Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2012-11-09T23:34:19Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14193#p14193</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Potential Bug - Dimension 2 not utilized in Direct Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14189#p14189" />
			<content type="html"><![CDATA[<p>If it helps - the purchasing equivalent (with a Supplier without Dimensions, adding during Supplier Invoice creation) works - the assigned dimensions when entering an invoice stick through the invoice creation.</p><p>So it appears to be just the sales invoicing side.</p>]]></content>
			<author>
				<name><![CDATA[kharding]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=16531</uri>
			</author>
			<updated>2012-11-09T16:39:03Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14189#p14189</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Potential Bug - Dimension 2 not utilized in Direct Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14188#p14188" />
			<content type="html"><![CDATA[<p>Thank you, Joe.</p>]]></content>
			<author>
				<name><![CDATA[kharding]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=16531</uri>
			</author>
			<updated>2012-11-09T15:54:28Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14188#p14188</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Potential Bug - Dimension 2 not utilized in Direct Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14187#p14187" />
			<content type="html"><![CDATA[<p>Ok, I will have a look at this later this evening.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2012-11-09T15:39:30Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14187#p14187</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Potential Bug - Dimension 2 not utilized in Direct Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14186#p14186" />
			<content type="html"><![CDATA[<p>Joe - on my test database, I did the following:</p><p>- Added an item with no dimensions.<br />- Added a customer with no dimensions.<br />- Created an invoice through Direct Invoice and set dimensions via this page.<br />- Added the Item without dimensions to the invoice.<br />- Processed the invoice.</p><p>Unfortunately, the Dimensions set on the Invoice page - which are different from the dimensions (none) set on Customer creation - did not stick through posting the income to the GL.</p>]]></content>
			<author>
				<name><![CDATA[kharding]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=16531</uri>
			</author>
			<updated>2012-11-09T15:12:39Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14186#p14186</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Potential Bug - Dimension 2 not utilized in Direct Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14184#p14184" />
			<content type="html"><![CDATA[<p>Ah, that&#039;s even easier - for some reason I didn&#039;t think about the logical chain in the item overriding the customer. I&#039;ll give it a try!</p>]]></content>
			<author>
				<name><![CDATA[kharding]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=16531</uri>
			</author>
			<updated>2012-11-09T15:07:13Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14184#p14184</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Potential Bug - Dimension 2 not utilized in Direct Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14183#p14183" />
			<content type="html"><![CDATA[<p>Remove the dimensions from the items should do it.</p><p>Dimensions can only be used on income or expense accounts from invoices. You must use JV to enter dimensions on balance accounts.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2012-11-09T15:03:11Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14183#p14183</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Potential Bug - Dimension 2 not utilized in Direct Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14182#p14182" />
			<content type="html"><![CDATA[<p>Sorry to spam with posts - but I thought that I would illustrate my usage here:</p><p>I&#039;m using Dimensions for fund accounting for a nonprofit.</p><p>Dimension 1 is the primary fund (cost and revenue centre) - these Dimensions include Operating Fund, Capital Fund, Events, etc.</p><p>Dimension 2 is where some projects or sub-funds are defined; here, individual events are created or specific restricted funds or endowments.</p><p>I&#039;m recording cash sales from tickets at an event. I thought the easiest way to do this would be to create a Cash Sales customer and Direct Invoice the Cash Sales customer the amount collected as admissions revenue and then record the payment.</p><p>I have an &#039;item&#039; created (Ticket Revenue) that has a Dimension 1 defined, but not a Dimension 2 (want to re-use the item for multiple events).</p><p>Because I can&#039;t find a direct cash sales menu option (there had been mention of one, but I cannot find it), I had created an invoice for Cash Sales and had selected the two dimensions - one for Events, and the second for the specific event.&nbsp; Added in the item, and processed the invoice.</p><p>According to the GL transactions, only the item&#039;s Dimensions were applied, not the Dimensions I applied during the input of the invoice.</p><p>I suppose I have a couple of work-arounds:<br />- Create a different Cash Sales customer with the proper dimensions for each event.<br />- Manually edit the dimensions on the associated transactions through MySQL.</p><p>Is there a way to ensure that the dimension attribution in the Direct Invoice page sticks, instead of being overridden?</p>]]></content>
			<author>
				<name><![CDATA[kharding]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=16531</uri>
			</author>
			<updated>2012-11-09T14:58:48Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14182#p14182</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Potential Bug - Dimension 2 not utilized in Direct Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14179#p14179" />
			<content type="html"><![CDATA[<p>Yes, the dimensions set on an item overrides the one set in invoice.</p><p>Joe</p>]]></content>
			<author>
				<name><![CDATA[joe]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=3</uri>
			</author>
			<updated>2012-11-09T14:53:32Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14179#p14179</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Potential Bug - Dimension 2 not utilized in Direct Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14178#p14178" />
			<content type="html"><![CDATA[<p>Yes, it appears that if an item has dimensions set, this overrides the dimensions set in the Invoice. </p><p>Is this the anticipated use-case of Dimensions?</p>]]></content>
			<author>
				<name><![CDATA[kharding]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=16531</uri>
			</author>
			<updated>2012-11-09T14:37:23Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14178#p14178</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Potential Bug - Dimension 2 not utilized in Direct Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14177#p14177" />
			<content type="html"><![CDATA[<p>Actually, I wonder if the problem is that a Dimension 1 was added to the item being sold, but not a Dimension 2, and then the Invoice attempted to set both Dimensions.</p><p>Would that be an issue? I ask this with regards to the following code is sales_invoice_db.inc:</p><p>$dim2 = ($invoice-&gt;dimension2_id != $customer[&#039;dimension2_id&#039;] ? $invoice-&gt;dimension2_id : <br />&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ($customer[&#039;dimension2_id&#039;] != 0 ? $customer[&quot;dimension2_id&quot;] : $stock_gl_code[&quot;dimension2_id&quot;]));</p>]]></content>
			<author>
				<name><![CDATA[kharding]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=16531</uri>
			</author>
			<updated>2012-11-09T14:31:29Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14177#p14177</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Potential Bug - Dimension 2 not utilized in Direct Invoice]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=14175#p14175" />
			<content type="html"><![CDATA[<p>Hi there,</p><p>When entering a Direct Invoice, my selection of Dimension 2 does not seem to be properly processed; the GL entries show Dimension 1 but Dimension 2 does not make it to the records, and when running a report based on that Dimension, the transaction does not appear.</p><p>There is additionally no opportunity to classify payments into Dimensions when receiving them.</p>]]></content>
			<author>
				<name><![CDATA[kharding]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=16531</uri>
			</author>
			<updated>2012-11-09T14:04:57Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=14175#p14175</id>
		</entry>
</feed>
