<div dir="ltr">Well, what do you know... I somehow never even noticed that duplicate prevention option. The joys of using a screen reader, I suppose. Thanks for pointing it out. If this doesn't solve the problem, I'll reply to this thread, but I have a feeling it will.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Apr 5, 2018 at 11:56 AM, nilay khatri <span dir="ltr"><<a href="mailto:nilay.spartan@gmail.com" target="_blank">nilay.spartan@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I guess in that case I would include more fields in the duplicate criteria for that module rather then just Organization name.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Apr 5, 2018 at 8:43 PM, Alex Hall <span dir="ltr"><<a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr"><div><div>Hello list,<br></div>I have a sync job that runs every morning. It imports--or updates, if the organization exists--thousands of organizations. Around 50, though, fail to import, with the error that an update would cause a duplicate. Indeed, these organizations all have at least one other entity with the same name, but they have different details. I should say that I'm using web services, not a CSV or anything. The job asks our AS400 for data, then runs through the data it gets, asking VTiger if the organization being considered exists. If it doesn't, a new one is made and added; if it does, the AS400's data overwrites VTiger's data for the organization. Matching is based on customer number, a custom field in VTiger but a primary key in the AS400.<br><br></div>Given that I could import them initially, but can't now update them, this seems like less a SQL restriction and more something odd in VTiger. Again, too, the import went fine, but now that I want to update the organizations, I get a duplication warning and that organization is skipped. Finally, a reminder that I'm saying "import", but this is a file that relies on web services to operate. It has no CSV at all, and doesn't use VTiger's standard importing. It's all web services.<span class="m_-7609089848370142952HOEnZb"><font color="#888888"><br clear="all"><div><div><div><br>-- <br><div class="m_-7609089848370142952m_-6957061603028968613gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Alex Hall<br></div>Automatic Distributors, IT department<br></div><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><br></div></div>
</div></div></div></font></span></div>
<br></div></div>______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br></div>
<br>______________________________<wbr>_________________<br>
<a href="http://www.vtiger.com/" rel="noreferrer" target="_blank">http://www.vtiger.com/</a><br></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div>Alex Hall<br></div>Automatic Distributors, IT department<br></div><a href="mailto:ahall@autodist.com" target="_blank">ahall@autodist.com</a><br></div></div>
</div>