[Vtigercrm-developers] add entities
Adam Heinz
amh at metricwise.net
Tue Sep 25 07:23:48 PDT 2012
If you look at Quotes->save_module() [1], you'll see that it calls
saveInventoryProductDetails() [2]. This function has poor
encapsulation and pulls directly from the $_REQUEST super global. It
deletes all existing rows and recreates them from request data. There
is no function to add or delete an individual
vtiger_inventoryproductrel row.
[1] http://trac.vtiger.com/cgi-bin/trac.cgi/browser/vtigercrm/branches/5.4.0/modules/Quotes/Quotes.php#L118
[2] http://trac.vtiger.com/cgi-bin/trac.cgi/browser/vtigercrm/branches/5.4.0/include/utils/InventoryUtils.php#L512
On Tue, Sep 25, 2012 at 3:59 AM, Mario <malcangi.ts at gmail.com> wrote:
> someone knows please tell me how vtiger handles methods for adding products in
> the invoices / estimates?
>
> _______________________________________________
> http://www.vtiger.com/
More information about the vtigercrm-developers
mailing list