<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.catglobe.com/index.php?action=history&amp;feed=atom&amp;title=Build_logic%3A_Invoice_detail_columns</id>
	<title>Build logic: Invoice detail columns - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.catglobe.com/index.php?action=history&amp;feed=atom&amp;title=Build_logic%3A_Invoice_detail_columns"/>
	<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Build_logic:_Invoice_detail_columns&amp;action=history"/>
	<updated>2026-04-20T11:48:26Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.0</generator>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Build_logic:_Invoice_detail_columns&amp;diff=18313&amp;oldid=prev</id>
		<title>Cg huyphong at 04:37, 26 April 2011</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Build_logic:_Invoice_detail_columns&amp;diff=18313&amp;oldid=prev"/>
		<updated>2011-04-26T04:37:10Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 04:37, 26 April 2011&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l1&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;HelpBooks&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;[[Category:&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Resource data caches&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;﻿&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;﻿&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;

&lt;!-- diff cache key wiki:diff:1.41:old-15440:rev-18313:php=table --&gt;
&lt;/table&gt;</summary>
		<author><name>Cg huyphong</name></author>
	</entry>
	<entry>
		<id>https://wiki.catglobe.com/index.php?title=Build_logic:_Invoice_detail_columns&amp;diff=15440&amp;oldid=prev</id>
		<title>Catglobe: jrfconvert import</title>
		<link rel="alternate" type="text/html" href="https://wiki.catglobe.com/index.php?title=Build_logic:_Invoice_detail_columns&amp;diff=15440&amp;oldid=prev"/>
		<updated>2011-03-07T08:56:02Z</updated>

		<summary type="html">&lt;p&gt;jrfconvert import&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:HelpBooks]]&lt;br /&gt;
﻿&lt;br /&gt;
&lt;br /&gt;
===Build logic: Invoice detail columns===&lt;br /&gt;
&lt;br /&gt;
When we are generating caches for invoices it is important that we understand one major difference -- caches may have more than one row per invoice! This will happen when we choose to include columns that take information from the invoice detail records. The number of rows in our cache that an invoice will create will then be one for each invoice detail record that exists in the invoice.&lt;br /&gt;
&lt;br /&gt;
The columns that belong to the invoice details are:&lt;br /&gt;
&lt;br /&gt;
* [[_Column:_Account_|Account]]&lt;br /&gt;
* [[_Column:_Account_as_text_|Account as text]]&lt;br /&gt;
* [[_Column:_Amount_in_default_currency_|Amount in default currency]]&lt;br /&gt;
* [[_Column:_Amount_in_selected_currency_|Amount in selected currency]]&lt;br /&gt;
* [[_Column:_Cost_|Cost]]&lt;br /&gt;
* [[_Column:_Currency_|Currency]]&lt;br /&gt;
* [[_Column:_Currency_as_text_|Currency as text]]&lt;br /&gt;
* [[_Column:_Description_|Description]]&lt;br /&gt;
* [[_Column:_Unit_|Unit]]&lt;br /&gt;
&lt;br /&gt;
Below is a small example, where we choose to make a resource cache with just IDs of six invoice resources.&lt;br /&gt;
&lt;br /&gt;
[[Image:7782.png|80px|RCS58-1]]&lt;br /&gt;
&lt;br /&gt;
As you will notice, the addition of six invoices will create six rows in our resource cache, since we have not added any invoice detail columns.&lt;br /&gt;
&lt;br /&gt;
Now let us try to add the &amp;#039;Cost&amp;#039; column, which is one of the invoice detail columns, and see what will happen.&lt;br /&gt;
&lt;br /&gt;
[[Image:7783.png|177px|RCS58-2]]&lt;br /&gt;
&lt;br /&gt;
Now, with the same number of included resources, we have seven rows rather than only six as before. If we look at the data, we will see that the invoice with Id = 85007 actually possesses two rows. The reason is that it needs to show information from two invoice detail records that exist in it. The other 5 invoices obviously only has one detail invoice record each and do therefore not need an extra row to present their information.&lt;br /&gt;
&lt;br /&gt;
It is therefore important to understand which data relates to invoice details and which relates to the invoice. Invoice detail information will always only be shown once in a resource cache, whereas invoice information may be shown multiple times if the invoice has more than one detail invoice row.&lt;br /&gt;
__NOTOC__&lt;br /&gt;
&amp;lt;!-- imported from file: 7781.htm--&amp;gt;&lt;/div&gt;</summary>
		<author><name>Catglobe</name></author>
	</entry>
</feed>