<div dir="ltr"><div>Alan,</div><div><br></div><div>TEXT adds load compared to VARCHAR.</div><div>More number of characters can trouble the PDF generation as well.</div><div><br></div><div>I feel it should be handled case-to-case basis.</div>

<div><br></div><div>Regards,</div><div>Prasad</div></div><div class="gmail_extra"><br clear="all"><div><span style="border-collapse:collapse;font-family:arial,sans-serif;font-size:13px"><b>Connect with us on: </b><a href="http://twitter.com/vtigercrm" style="color:rgb(0,0,204)" target="_blank">Twitter</a> <b>I</b> <a href="http://www.facebook.com/pages/vtiger/226866697333578?sk=wall" style="color:rgb(0,0,204)" target="_blank">Facebook</a> <b>I</b> <a href="https://blogs.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Blog</a><b> I</b> <a href="http://wiki.vtiger.com/index.php/Main_Page" style="color:rgb(0,0,204)" target="_blank">Wiki</a> <b>I </b><a href="https://discussions.vtiger.com" style="color:rgb(0,0,204)" target="_blank">Forums </a><b>I</b> <a href="https://www.vtiger.com/" style="color:rgb(0,0,204)" target="_blank">Website</a></span></div>


<br><br><div class="gmail_quote">On Fri, Nov 29, 2013 at 5:58 PM, Alan Lord <span dir="ltr"><<a href="mailto:alanslists@gmail.com" target="_blank">alanslists@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

Sometimes I am amazed by the kind of things I find... This is in vtiger 5.4.0.<br>
<br>
Our client wants the newlines that are in many of his Product Description field values to be printed in his PDFMaker Quotes, Sales Orders and Invoices.<br>
<br>
Not an unfair request I think. In fact I was rather surprised to find they didn't.<br>
<br>
During my investigations I have discovered two rather odd things about this area.<br>
<br>
1. The Product/Service Description gets copied to the 'comment' field in the vtiger_inventoryproductrel table. The comment field is a VARCHAR of *just* 250 chars.<br>
<br>
So I fixed that and made it a TEXT.<br>
<br>
2. Even though the data is stored in the comment field with line breaks, when you view your Quote in DetailView these are removed and seemingly also removed during delivery to PDFMaker. Look at your Quote in EditView however, and you can see the line breaks.<br>


<br>
I have 2 questions...<br>
<br>
1. How on earth has this managed to be like this for so long?<br>
2. What's the right/best way to fix it?<br>
<br>
Cheers<br>
<br>
Al<br>
<br>
______________________________<u></u>_________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>