<div dir="ltr"><div><div><div><div>Hi<br><br></div>This is not duplicating, correct. It is something converting / generating dipatch from  Purchase order, which you can do through events or custom function under workflows. <br><br></div>Since you have check boxes in line item Dispatch module already available it is easier to do it through workflow cf<br><br></div><div>In this case, you may have a flag (probably hidden) at Purchase order as "Generate Dispatch". If condition true first time, call the custom function to generate dispatch.  If you need to create multiple dispatches also it is possible, but change the workflow condition to each time save and toggle the flag after each dispatch created.<br><br><br><br></div><div></div>Thanks<br></div>Sutharsan Jeganathan<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Aug 16, 2016 at 6:54 PM, kiran <span dir="ltr"><<a href="mailto:kiranraju.jakka@gmail.com" target="_blank">kiranraju.jakka@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
How one can override Duplicate functionality which is there in each and<br>
every module record?<br>
<br>
For my scenario i would to generate Dispatch on PurchaseOrder for that i<br>
created check box for line item products,.. So whenever selection happen on<br>
lineitem products i would like to click Generate Dispatch like Duplicate.<br>
Finally if i click Generate Dispatch it must have to create a new record in<br>
Dispatch module with selected line item products.<br>
<br>
Thanks & Regards<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://vtiger-crm.2324883.n4.nabble.com/Vtigercrm-developers-Can-we-Override-Duplicate-functionality-tp19705.html" rel="noreferrer" target="_blank">http://vtiger-crm.2324883.n4.<wbr>nabble.com/Vtigercrm-<wbr>developers-Can-we-Override-<wbr>Duplicate-functionality-<wbr>tp19705.html</a><br>
Sent from the vtigercrm-developers mailing list archive at Nabble.com.<br>
______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br></div>