<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — Mapping Item Code with 0_gl_trans table]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=7253&amp;type=atom" />
	<updated>2018-01-08T18:26:06Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=7253</id>
		<entry>
			<title type="html"><![CDATA[Re: Mapping Item Code with 0_gl_trans table]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30450#p30450" />
			<content type="html"><![CDATA[<p><strong>gl_trans.type_no</strong> is retail (1) or wholesale (2) taken from <strong>sales_types</strong> table.</p><p><strong>gl_trans.type</strong> = <strong>stock_moves.type</strong> which is the Transaction Type.</p><p><strong>stock_moves.trans_no</strong> is the actual transaction number that does not have an equivalent directly in the <strong>gl_trans</strong> table.</p><br /><p>The gl_trans table manages all types of transactions.</p><p>The <strong>supp_trans</strong> and <strong>debtor_trans</strong> tables handle purchase and sale transactions respectively and have <strong>trans_no</strong> and <strong>type</strong> fields in them.</p><p>The <strong>supp_invoice_items</strong> and <strong>debtor_trans_details</strong> tables have the item wise records for linking with the <strong>stock_moves</strong> table on both <strong>trans_no</strong> and <strong>type</strong> fields.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2018-01-08T18:26:06Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30450#p30450</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Mapping Item Code with 0_gl_trans table]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=30447#p30447" />
			<content type="html"><![CDATA[<p>Hi,</p><p>In a custom report, I have requirement of mapping item_code with transactions happened in 0_gl_trans table.<br />Firstly I found if I could map 0_gl_trans and 0_stock_moves with type &amp; type_no but it not working when there are multiple items under one type_no.</p><p>I would be very thankful if somebody could help me with the query which add one column item with 0_gl_trans where transaction is related to the item.</p>]]></content>
			<author>
				<name><![CDATA[Rajesh Pundeer]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=41645</uri>
			</author>
			<updated>2018-01-08T07:50:05Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=30447#p30447</id>
		</entry>
</feed>
