[Vtigercrm-commits] [Vtiger development] #7467: webservice sync on quotes isn't working
Vtiger development
vtiger-tickets at trac.vtiger.com
Thu Aug 28 11:16:23 GMT 2014
#7467: webservice sync on quotes isn't working
-----------------------+------------------------
Reporter: joebordes | Owner: developer
Type: defect | Status: closed
Priority: critical | Milestone: 6.0.0
Component: vtigercrm | Version: 5.4.0
Severity: High | Resolution: fixed
Keywords: |
-----------------------+------------------------
Changes (by rishab):
* status: new => closed
* resolution: => fixed
Comment:
This issue occurs when we are trying to fetch for Inventory Manager of
Quote.
In the latest dev branch instead creating aliases we fetch the Name of
InventoryManager(User) internally with respect to his user id.
Query:
{{{
SELECT
vtiger_quotes.quote_no,vtiger_quotes.subject,vtiger_quotes.potentialid,vtiger_quotes.quotestage,vtiger_quotes.validtill,vtiger_quotes.contactid,vtiger_quotes.carrier,vtiger_quotes.subtotal,vtiger_quotes.shipping,vtiger_quotes.inventorymanager,vtiger_quotes.adjustment,vtiger_quotes.total,vtiger_quotes.taxtype,vtiger_inventoryproductrel.discount_percent,vtiger_inventoryproductrel.discount_amount,vtiger_quotes.s_h_amount,vtiger_quotes.accountid,vtiger_crmentity.smownerid,vtiger_crmentity.createdtime,vtiger_crmentity.modifiedtime,vtiger_crmentity.modifiedby,vtiger_quotes.currency_id,vtiger_quotes.conversion_rate,vtiger_quotesbillads.bill_street,vtiger_quotesshipads.ship_street,vtiger_quotesbillads.bill_city,vtiger_quotesshipads.ship_city,vtiger_quotesbillads.bill_state,vtiger_quotesshipads.ship_state,vtiger_quotesbillads.bill_code,vtiger_quotesshipads.ship_code,vtiger_quotesbillads.bill_country,vtiger_quotesshipads.ship_country,vtiger_quotesbillads.bill_pobox,vtiger_quotesshipads.ship_pobox,vtiger_crmentity.description,vtiger_quotes.terms_conditions,vtiger_inventoryproductrel.productid,vtiger_inventoryproductrel.quantity,vtiger_inventoryproductrel.listprice,vtiger_inventoryproductrel.comment,vtiger_inventoryproductrel.discount_amount,vtiger_inventoryproductrel.discount_percent,vtiger_inventoryproductrel.tax1,vtiger_inventoryproductrel.tax2,vtiger_inventoryproductrel.tax3,vtiger_quotes.pre_tax_total,vtiger_quotes.s_h_percent,vtiger_quotes.quoteid
FROM vtiger_quotes LEFT JOIN vtiger_inventoryproductrel ON
vtiger_quotes.quoteid=vtiger_inventoryproductrel.id LEFT JOIN
vtiger_crmentity ON vtiger_quotes.quoteid=vtiger_crmentity.crmid LEFT JOIN
vtiger_quotesbillads ON
vtiger_quotes.quoteid=vtiger_quotesbillads.quotebilladdressid LEFT JOIN
vtiger_quotesshipads ON
vtiger_quotes.quoteid=vtiger_quotesshipads.quoteshipaddressid WHERE
vtiger_crmentity.deleted=0 ORDER BY vtiger_crmentity.modifiedtime DESC
LIMIT 0,100;
}}}
--
Ticket URL: <http://trac.vtiger.com/cgi-bin/trac.cgi/ticket/7467#comment:1>
Vtiger development <http://trac.vtiger.com/>
Vtiger CRM
More information about the vtigercrm-commits
mailing list