<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[FrontAccounting forum — cannot receive items in Receive Purchase Order Items]]></title>
	<link rel="self" href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8100&amp;type=atom" />
	<updated>2019-04-17T08:56:09Z</updated>
	<generator>PunBB</generator>
	<id>https://frontaccounting.com/punbb/viewtopic.php?id=8100</id>
		<entry>
			<title type="html"><![CDATA[Re: cannot receive items in Receive Purchase Order Items]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34697#p34697" />
			<content type="html"><![CDATA[<p>In the <strong>sql/en_US-new.sql</strong> standard chart, the fields with the word <strong>description</strong> in them are defined thus:<br /></p><div class="codebox"><pre><code># grep description en_US-new.sql | grep -v KEY

  `description` varchar(60) NOT NULL DEFAULT &#039;&#039;,
  `description` varchar(60) NOT NULL DEFAULT &#039;&#039;,
  `description` varchar(60) DEFAULT NULL,
  `reason_description` char(100) NOT NULL DEFAULT &#039;&#039;,
  `description` tinytext NOT NULL COMMENT &#039;usage description&#039;,
  `description` tinytext,
  `description` tinytext,
  `description` varchar(60) NOT NULL DEFAULT &#039;&#039;,
  `description` varchar(200) NOT NULL DEFAULT &#039;&#039;,
  `description` varchar(60) NOT NULL,
  `supplier_description` char(50) NOT NULL DEFAULT &#039;&#039;,
  `description` tinytext,
  `description` varchar(60) NOT NULL,
  `description` varchar(60) NOT NULL DEFAULT &#039;&#039;,
  `description` varchar(60) NOT NULL DEFAULT &#039;&#039;,
  `description` tinytext,
  `description` varchar(50) DEFAULT NULL,
  `description` varchar(60) NOT NULL DEFAULT &#039;&#039;,
  `description` varchar(200) NOT NULL DEFAULT &#039;&#039;,
  `long_description` tinytext NOT NULL,
  `description` varchar(200) NOT NULL DEFAULT &#039;&#039;,
  `long_description` tinytext NOT NULL,
  `description` tinytext,
  `description` varchar(60) DEFAULT NULL,
  `description` char(50) NOT NULL DEFAULT &#039;&#039;,</code></pre></div><p>In FA v2.5 alpha, it may be useful to classify the description field differently and standardize their field length / type uniformly.</p><p>In the following files that refer to <strong>supplier_description</strong>, there is no truncation occurring in the code (except where function <em>text_row()</em> is used):<br /></p><div class="codebox"><pre><code>inventory/purchasing_data.php
inventory/includes/db/items_purchases_db.inc
purchasing/includes/purchasing_db.inc
purchasing/includes/db/po_db.inc
reporting/rep209.php</code></pre></div><p>Hence, a mere increase in field size is sufficient ordinarily.</p><p>However, where a form field restricts input size / max width using the <strong>function text_row()</strong> defined in <strong>includes/ui/ui_input.inc</strong>, changes in 4th (size) and 5th (max width) arguments will also be needed. This is so only in the first file listed above.</p>]]></content>
			<author>
				<name><![CDATA[apmuthu]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=364</uri>
			</author>
			<updated>2019-04-17T08:56:09Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34697#p34697</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: cannot receive items in Receive Purchase Order Items]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34689#p34689" />
			<content type="html"><![CDATA[<p>checked with 70char, but in the FA 2.4.6 purch_data supplier_description will save 50 first char and it saved</p>]]></content>
			<author>
				<name><![CDATA[ichtus]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=12975</uri>
			</author>
			<updated>2019-04-16T15:02:34Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34689#p34689</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: cannot receive items in Receive Purchase Order Items]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34688#p34688" />
			<content type="html"><![CDATA[<p>How many characters does your supplier description have?</p>]]></content>
			<author>
				<name><![CDATA[poncho1234]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=19944</uri>
			</author>
			<updated>2019-04-16T14:08:30Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34688#p34688</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[cannot receive items in Receive Purchase Order Items]]></title>
			<link rel="alternate" href="https://frontaccounting.com/punbb/viewtopic.php?pid=34685#p34685" />
			<content type="html"><![CDATA[<p>FA 2.4.6<br />PHP 7.2<br />Centos 7.x</p><p>after apply fix from https://sourceforge.net/p/frontaccounting/activity<br />receive items cannot proceed, in error.log show <br />&lt;b&gt;DATABASE ERROR :&lt;/b&gt; The supplier purchasing details could not be added&lt;br&gt;error code : 1406&lt;br&gt;error message : Data too long </p><p>for column &#039;supplier_description&#039; at row 1&lt;br&gt;&lt;br&gt;&lt;br&gt;</p><p>checking that var from order line item is come with <br />table stock_master:<br />description&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;| varchar(200)</p><p>table purch_data:<br />supplier_description | char(50)</p><p>problem solved if:<br />ALTER TABLE `38_purch_data` MODIFY COLUMN `supplier_description` VARCHAR(200) DEFAULT NULL;</p><p>please advice how to solve, checking with fresh installation 2.4.6 is able to posting &quot;Process Receive Items&quot;<br />thanks</p>]]></content>
			<author>
				<name><![CDATA[ichtus]]></name>
				<uri>https://frontaccounting.com/punbb/profile.php?id=12975</uri>
			</author>
			<updated>2019-04-16T09:29:31Z</updated>
			<id>https://frontaccounting.com/punbb/viewtopic.php?pid=34685#p34685</id>
		</entry>
</feed>
