The following query gets vtigerCRM Sales Order List
SELECT t1.salesorder_no AS 'SalesOrder No'
, t1.subject AS 'Subject'
, t4.accountname AS 'Account Name'
, t1.total AS 'Total'
, t3.user_name AS 'Assigned To'
FROM vtiger_salesorder t1
INNER JOIN vtiger_crmentity t2 ON t1.salesorderid = t2.crmid AND t2.setype = 'SalesOrder'
INNER JOIN vtiger_users t3 ON t2.smownerid = t3.id
INNER JOIN vtiger_account t4 ON t1.accountid = t4.accountid
Sunday, January 10, 2010
Get all vtigerCRM Sales Order
at 6:41 AM
Labels: MySQL, MySQL Query, vtigerCRM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment