[Vtigercrm-commits] [vtiger-commits] r9724 - /vtigercrm/branches/5.0.2/modules/PurchaseOrder/PurchaseOrder.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Thu Oct 26 12:45:22 EDT 2006
Author: richie
Date: Thu Oct 26 10:45:15 2006
New Revision: 9724
Log:
Added function save_module
Modified:
vtigercrm/branches/5.0.2/modules/PurchaseOrder/PurchaseOrder.php
Modified: vtigercrm/branches/5.0.2/modules/PurchaseOrder/PurchaseOrder.php
==============================================================================
--- vtigercrm/branches/5.0.2/modules/PurchaseOrder/PurchaseOrder.php (original)
+++ vtigercrm/branches/5.0.2/modules/PurchaseOrder/PurchaseOrder.php Thu Oct 26 10:45:15 2006
@@ -42,10 +42,6 @@
var $billadr_table = "vtiger_pobillads";
- var $object_name = "Order";
-
- var $new_schema = true;
-
var $module_id = "purchaseorderid";
var $column_fields = Array();
@@ -100,6 +96,14 @@
$this->column_fields = getColumnFields('PurchaseOrder');
}
+ function save_module($module)
+ {
+ //Based on the total Number of rows we will save the product relationship with this entity
+ saveInventoryProductDetails(&$this, 'PurchaseOrder', $this->update_prod_stock);
+ }
+
+
+
/** Function used to get the sort order for Purchase Order listview
* @return string $sorder - first check the $_REQUEST['sorder'] if request value is empty then check in the $_SESSION['PURCHASEORDER_SORT_ORDER'] if this session value is empty then default sort order will be returned.
*/
More information about the vtigercrm-commits
mailing list