[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/include/utils/ -> InventoryUtils.php (sommaire)

(pas de description)

Poids: 712 lignes (27 kb)
Inclus ou requis: 2 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 17 fonctions

  getProductDetailsBlockInfo()
  updateStk()
  sendPrdStckMail()
  getPrdQtyInStck()
  getPrdReOrderLevel()
  getPrdHandler()
  getTaxId()
  getTaxPercentage()
  getProductTaxPercentage()
  addInventoryHistory()
  getAllTaxes()
  getTaxDetailsForProduct()
  deleteInventoryProductDetails()
  saveInventoryProductDetails()
  getInventoryTaxType()
  getInventoryProductTaxValue()
  getInventorySHTaxPercent()

Fonctions
Fonctions qui ne font pas partie d'une Classe:

getProductDetailsBlockInfo($mode,$module,$focus='',$num_of_products='',$associated_prod='')   X-Ref
This function returns the Product detail block values in array format.
Input Parameter are $module - module name, $focus - module object, $num_of_products - no.of vtiger_products associated with it  * $associated_prod = associated product details
column vtiger_fields/


updateStk($product_id,$qty,$mode,$ext_prod_arr,$module)   X-Ref
This function updates the stock information once the product is ordered.
Param $productid - product id
Param $qty - product quantity in no's
Param $mode - mode type
Param $ext_prod_arr - existing vtiger_products
Param $module - module name
return type void


sendPrdStckMail($product_id,$upd_qty,$prod_name,$qtyinstk,$qty,$module)   X-Ref
This function sends a mail to the handler whenever the product reaches the reorder level.
Param $product_id - product id
Param $upd_qty - updated product quantity in no's
Param $prod_name - product name
Param $qtyinstk - quantity in stock
Param $qty - quantity
Param $module - module name
return type void


getPrdQtyInStck($product_id)   X-Ref
Pas de description

getPrdReOrderLevel($product_id)   X-Ref
Pas de description

getPrdHandler($product_id)   X-Ref
Pas de description

getTaxId($type)   X-Ref
Pas de description

getTaxPercentage($type)   X-Ref
Pas de description

getProductTaxPercentage($type,$productid,$default='')   X-Ref
Pas de description

addInventoryHistory($module, $id, $relatedname, $total, $history_fldval)   X-Ref
Pas de description

getAllTaxes($available='all', $sh='')   X-Ref
Pas de description

getTaxDetailsForProduct($productid, $available='all')   X-Ref
Pas de description

deleteInventoryProductDetails($objectid, $return_old_values='')   X-Ref
Pas de description

saveInventoryProductDetails($focus, $module, $update_prod_stock='false', $updateDemand='')   X-Ref
Pas de description

getInventoryTaxType($module, $id)   X-Ref
Pas de description

getInventoryProductTaxValue($id, $productid, $taxname)   X-Ref
Pas de description

getInventorySHTaxPercent($id, $taxname)   X-Ref
Pas de description



Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7