[Vtigercrm-developers] Error Permission to perform the operation is denied for id in webservice for sales order

Adam Heinz amh at metricwise.net
Tue Jul 17 13:56:00 PDT 2012


I'll ask the obvious question, does the currently logged in user have
write privileges to the SalesOrder module?

ACC1 looks like an account_no, not the account_id.  If you go to the
Accounts module and look at ACC1, look at the URL and note the
record=12345.  Then you will combine that with the web service id of
the Accounts module to get something like 3x12345.

SELECT id FROM vtiger_ws_entity WHERE name = 'Accounts';
SELECT accountid FROM vtiger_account WHERE account_no = 'ACC1';

That said, pretty neat that you're using the web service with the
session created by logging into the web page.  I didn't realize that
was possible.


More information about the vtigercrm-developers mailing list