<div dir="ltr"><div>Hi Alan,<br><br></div><div>Please check file <b>Inventory/Edit.js</b> and find an api <i>isProductSelected. </i>I hope this will help you.<br></div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><b><span style="font-family:verdana,sans-serif"><span style="color:rgb(153,153,153)"><span style="background-color:rgb(255,255,255)">regards,</span></span><br>Satish.Dvnk</span></b><br></div></div></div>
<br><div class="gmail_quote">On Thu, Dec 15, 2016 at 5:35 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">I have a requirement to be able to generate a new Quote record automatically (Event Handler or Workflow function) and I do not, always, want to include a Product or Service.(The user will do that later on.<br>
<br>
I changed the setting in vtiger_field for the productid field to V~O but on-screen this is still a mandatory field - suggesting that it is hard-coded somewhere...<br>
<br>
Has anyone else ever done this before?<br>
<br>
It seems daft to have to create a "dummy" product with a price of 0 just to save a Quote...<br>
<br>
This will be in the new v7 but if anyone has done it in v6 that would be helpful.<br>
<br>
Cheers<br>
<br>
Al<br>
<br>
<br>
<br>
______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>