<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[FrontAccounting forum — cannot receive items in Receive Purchase Order Items]]></title>
		<link>https://frontaccounting.com/punbb/viewtopic.php?id=8100</link>
		<atom:link href="https://frontaccounting.com/punbb/extern.php?action=feed&amp;tid=8100&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in cannot receive items in Receive Purchase Order Items.]]></description>
		<lastBuildDate>Wed, 17 Apr 2019 08:56:09 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: cannot receive items in Receive Purchase Order Items]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34697#p34697</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (apmuthu)]]></author>
			<pubDate>Wed, 17 Apr 2019 08:56:09 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34697#p34697</guid>
		</item>
		<item>
			<title><![CDATA[Re: cannot receive items in Receive Purchase Order Items]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34689#p34689</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (ichtus)]]></author>
			<pubDate>Tue, 16 Apr 2019 15:02:34 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34689#p34689</guid>
		</item>
		<item>
			<title><![CDATA[Re: cannot receive items in Receive Purchase Order Items]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34688#p34688</link>
			<description><![CDATA[<p>How many characters does your supplier description have?</p>]]></description>
			<author><![CDATA[null@example.com (poncho1234)]]></author>
			<pubDate>Tue, 16 Apr 2019 14:08:30 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34688#p34688</guid>
		</item>
		<item>
			<title><![CDATA[cannot receive items in Receive Purchase Order Items]]></title>
			<link>https://frontaccounting.com/punbb/viewtopic.php?pid=34685#p34685</link>
			<description><![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>]]></description>
			<author><![CDATA[null@example.com (ichtus)]]></author>
			<pubDate>Tue, 16 Apr 2019 09:29:31 +0000</pubDate>
			<guid>https://frontaccounting.com/punbb/viewtopic.php?pid=34685#p34685</guid>
		</item>
	</channel>
</rss>
