Thank You Adam Heinz...It works great...<br><br><div class="gmail_quote">On Wed, Jul 18, 2012 at 2:26 AM, Adam Heinz <span dir="ltr">&lt;<a href="mailto:amh@metricwise.net" target="_blank">amh@metricwise.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">I&#39;ll ask the obvious question, does the currently logged in user have<br>
write privileges to the SalesOrder module?<br>
<br>
ACC1 looks like an account_no, not the account_id.  If you go to the<br>
Accounts module and look at ACC1, look at the URL and note the<br>
record=12345.  Then you will combine that with the web service id of<br>
the Accounts module to get something like 3x12345.<br>
<br>
SELECT id FROM vtiger_ws_entity WHERE name = &#39;Accounts&#39;;<br>
SELECT accountid FROM vtiger_account WHERE account_no = &#39;ACC1&#39;;<br>
<br>
That said, pretty neat that you&#39;re using the web service with the<br>
session created by logging into the web page.  I didn&#39;t realize that<br>
was possible.<br>
_______________________________________________<br>
<a href="http://www.vtiger.com/" target="_blank">http://www.vtiger.com/</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><font face="comic sans ms,sans-serif"><span style="color:rgb(153,0,0)">BY</span><br><br><span style="color:rgb(0,102,0);background-color:rgb(255,255,255)">R.RAMPRASAD</span></font><br>
<br>