<div dir="ltr"><div>Dear Allan,<br><br></div>Thanks for the response. I have a custom module -  how do I get the WSID for the module?<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Feb 8, 2016 at 3:20 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"><span class="">On 08/02/16 12:10, Mutuku Ndeti wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I am using the vtiger webservices<br>
(<a href="https://wiki.vtiger.com/index.php/Webservice_reference_manual" rel="noreferrer" target="_blank">https://wiki.vtiger.com/index.php/Webservice_reference_manual</a>) to<br>
import data to the vtiger database<br>
<br>
The data is of uitype 10 (related), the I get this error "create<br>
failed:", with no further details.<br>
<br>
When I remove the uitype 10, the import works fine<br>
<br>
What could I be doing wrong?<br>
</blockquote>
<br></span>
Are you using the right syntax for the UI10 field?<br>
<br>
It must be $WSID . "x" . $crmid<br>
<br>
SO for example if you are trying to relate to an Account record of crmid 1234 you must get the Webservices ID (*not* the tabid) for the Accounts module, e.g. "11" and create the following string in your data for the UI10 field:<br>
<br>
"11x1234"<br>
<br>
HTH<br>
<br>
Al<br>
<br>
<br>
<br>
_______________________________________________<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"><div dir="ltr"><div><a href="http://www.agile.co.ke" target="_blank">www.agile.co.ke</a><br><br></div></div></div>
</div>