The following query gets vtigerCRM Purchase Order List
SELECT t1.purchaseorder_no
, t1.subject
, t3.vendorname
, t1.tracking_no
, t1.total
, t4.user_name
FROM vtiger_purchaseorder t1
INNER JOIN vtiger_crmentity t2 ON t1.purchaseorderid = t2.crmid AND t2.setype='PurchaseOrder'
INNER JOIN vtiger_vendor t3 ON t1.vendorid = t3.vendorid
INNER JOIN vtiger_users t4 ON t2.smownerid = t4.id
Sunday, January 10, 2010
Get all vtigerCRM Purchase Orders
at 9:20 PM
Labels: MySQL, MySQL Query, vtigerCRM
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment