<div dir="ltr">Yes, that's indeed confusing. I guess it was left like that for historical reasons.<div><br></div><div>However, the product should be active by default (at least in 7.3)</div><div><br></div><div>Yes, I think you should use discontinued = 1 in the api too. I guess you could  also make a test without that and see what happens.</div><div><div><br></div><div><br clear="all"><div><div dir="ltr" data-smartmail="gmail_signature"><div dir="ltr">Saludos<div><br></div><div>Rubén</div></div></div></div><br></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, May 24, 2021 at 12:21 PM Sukhdev Mohan <<a href="mailto:s.mohan@myti.it" target="_blank">s.mohan@myti.it</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">



<div>
<div name="messageBodySection">
<div dir="auto">I’m amazed by vtiger:<br>
<br>
<span style="background-color:rgb(0,0,0);font-family:Menlo">vtiger_products.discontinued = 1 </span><br>
<br>
means the product is active.<br>
<br>
Some questions:</div>
<ul>
<li>This is name scheme is very confusing. Discontinued doesn’t mean it’s active! Moreover discontinued = 1 means the product should be discativated...</li>
<li>Why isn’t the new product active by default?</li>
<li>Importing products from another system using api, do I have to put discontinued = 1 ?</li>
</ul>
<div dir="auto"><u>If only there existed a damn documentation!</u></div>
</div>
<div name="messageSignatureSection"><br>
<div><span style="color:rgb(0,0,0)">Best Regards,</span><br style="color:rgb(0,0,0)">
<b style="color:rgb(0,0,0)">Sukhdev Mohan</b><span style="color:rgb(0,0,0)"> | </span><b><font color="#996633">Software Developer</font></b><br></div>
</div>
<div name="messageReplySection">On 24 May 2021, 16:28 +0200, Sukhdev Mohan <<a href="mailto:s.mohan@myti.it" target="_blank">s.mohan@myti.it</a>>, wrote:<br>
<blockquote type="cite" style="border-left:thin solid grey;margin:5px;padding-left:10px">
<div name="messageBodySection">
<div dir="auto">After a bit of debugging I found that there is this condition <br>
vtiger_products.discontinued = 1 while all the products in the inventory are set to 0...<br>
<br>
What does this flag do? And how to have all the products set to 1?</div>
</div>
<div name="messageSignatureSection"><br>
<div><span style="color:rgb(0,0,0)">Best Regards,</span><br style="color:rgb(0,0,0)">
<b style="color:rgb(0,0,0)">Sukhdev Mohan</b><span style="color:rgb(0,0,0)"> | </span><b><font color="#996633">Software Developer</font></b><br></div>
</div>
<div name="messageReplySection">On 24 May 2021, 13:11 +0200, Martin Allen <<a href="mailto:martin.allen@exe-squared.co.uk" target="_blank">martin.allen@exe-squared.co.uk</a>>, wrote:<br>
<blockquote type="cite" style="border-left:thin solid grey;margin:5px;padding-left:10px">
<div>
<p class="MsoNormal"><span>Would look to see if its adding some sort of search query automatically – or as I have seen a couple of times found that it is showing page 2 of results, when there is actually only 1 page to show (when searching prior a different page had been selected, and the system remembers which page it was previously!)</span></p>
<p class="MsoNormal"><span> </span></p>
<div>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b> <span lang="EN-US"><a href="mailto:vtigercrm-developers-bounces@lists.vtigercrm.com" target="_blank">vtigercrm-developers-bounces@lists.vtigercrm.com</a> <<a href="mailto:vtigercrm-developers-bounces@lists.vtigercrm.com" target="_blank">vtigercrm-developers-bounces@lists.vtigercrm.com</a>> <b>On Behalf Of</b> Sukhdev Mohan<br>
<b>Sent:</b> 24 May 2021 10:53<br>
<b>To:</b> <a href="mailto:vtigercrm-developers@lists.vtigercrm.com" target="_blank">vtigercrm-developers@lists.vtigercrm.com</a><br>
<b>Subject:</b> [Vtigercrm-developers] Products not showing up in Quotes etc</span></p>
</div>
</div>
<p class="MsoNormal"> </p>
<div name="messageBodySection">
<div>
<p class="MsoNormal">Hi all,<br>
<br>
I’m facing a very annoying situation: I’ve products registered but when I try to access them from quotes the pop up says no product to display. Weirdly enough If I type a product’s name in the search bar in Quotes, the crm displays results. Or at least it was now it doesn’t...<br>
<br>
Any help what Might be the issue? I’m on a 7.2 version, it’s upgraded from previous versions </p>
</div>
</div>
</div>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br></blockquote>
</div>
</blockquote>
</div>
</div>

_______________________________________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a></blockquote></div>