[ Index ]

PHP Cross Reference of vtigercrm-6.1.0

title

Body

[close]

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

(no description)

File Size: 1448 lines (60 kb)
Included or required: 3 times
Referenced: 0 times
Includes or requires: 0 files

Defines 34 functions

  updateStk()
  sendPrdStckMail()
  getPrdQtyInStck()
  getPrdReOrderLevel()
  getTaxId()
  getTaxPercentage()
  getProductTaxPercentage()
  addInventoryHistory()
  getAllTaxes()
  getTaxDetailsForProduct()
  deleteInventoryProductDetails()
  updateInventoryProductRel()
  saveInventoryProductDetails()
  getInventoryTaxType()
  getInventoryCurrencyInfo()
  getInventoryProductTaxValue()
  getInventorySHTaxPercent()
  getAllCurrencies()
  getPriceDetailsForProduct()
  getProductBaseCurrency()
  getBaseConversionRateForProduct()
  getPricesForProducts()
  getPriceBookCurrency()
  deductProductsFromStock()
  addProductsToStock()
  getImportBatchLimit()
  createRecords()
  isRecordExistInDB()
  importRecord()
  getImportStatusCount()
  undoLastImport()
  getInventoryFieldsForExport()
  getCurrencyId()
  getLineItemFields()

Functions
Functions that are not part of a class:

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
No description

getPrdReOrderLevel($product_id)   X-Ref
No description

getTaxId($type)   X-Ref
No description

getTaxPercentage($type)   X-Ref
No description

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

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

getAllTaxes($available='all', $sh='',$mode='',$id='')   X-Ref
No description

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

deleteInventoryProductDetails($focus)   X-Ref
No description

updateInventoryProductRel($entity)   X-Ref
No description

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

getInventoryTaxType($module, $id)   X-Ref
No description

getInventoryCurrencyInfo($module, $id)   X-Ref
No description

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

getInventorySHTaxPercent($id, $taxname)   X-Ref
No description

getAllCurrencies($available='available')   X-Ref
No description

getPriceDetailsForProduct($productid, $unit_price, $available='available', $itemtype='Products')   X-Ref
No description

getProductBaseCurrency($productid,$module='Products')   X-Ref
No description

getBaseConversionRateForProduct($productid, $mode='edit', $module='Products')   X-Ref
No description

getPricesForProducts($currencyid, $product_ids, $module='Products')   X-Ref
No description

getPriceBookCurrency($pricebook_id)   X-Ref
No description

deductProductsFromStock($recordId)   X-Ref
No description

addProductsToStock($recordId)   X-Ref
No description

getImportBatchLimit()   X-Ref
No description

createRecords($obj)   X-Ref
No description

isRecordExistInDB($fieldData, $moduleMeta, $user)   X-Ref
No description

importRecord($obj, $inventoryFieldData, $lineItemDetails)   X-Ref
No description

getImportStatusCount($obj)   X-Ref
No description

undoLastImport($obj, $user)   X-Ref
No description

getInventoryFieldsForExport($tableName)   X-Ref
No description

getCurrencyId($fieldValue)   X-Ref
No description

getLineItemFields()   X-Ref
Function used to get the lineitems fields

return: type <array> - list of lineitem fields



Generated: Fri Nov 28 20:08:37 2014 Cross-referenced by PHPXref 0.7.1