[Vtigercrm-developers] vtws_describe of LineItems is not really helpful

Alan Lord alanslists at gmail.com
Fri Apr 24 10:22:26 GMT 2020


On 24/04/2020 11:12, Alan Lord wrote:
> However, when you are wanting to interrogate "real" data from an 
> Inventory record, the useful data is contained in the array called 
> "LineItems_FinalDetails".
> 
>> purchaseCost, margin, productDeleted, entityType, delRow, 
>> hdnProductId, productName, hdnProductcode, productDescription, 
>> comment, qtyInStock, qty, listPrice, unitPrice, productTotal150.00, 
>> subproduct_ids, subprod_names, discount_percent, discount_amount, 
>> checked_discount_zero, discountTotal, totalAfterDiscount, taxTotal, 
>> netPrice

I should have added that the fieldnames above come from the 
vtws_retrieve() API.

So the point is that vtws_describe() and vtws_retrieve() are returning 
completely different information; which is not helpful IMHO.


Al




More information about the vtigercrm-developers mailing list