Better explanation
This commit is contained in:
parent
2beb16ef32
commit
810a6c2cb4
@ -3339,6 +3339,7 @@ class Product extends CommonObject
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Load information about stock of a product into stock_reel, stock_warehouse[] (including stock_warehouse[idwarehouse]->detail_batch for batch products)
|
* Load information about stock of a product into stock_reel, stock_warehouse[] (including stock_warehouse[idwarehouse]->detail_batch for batch products)
|
||||||
|
* This function need a lot of load. If you use it on list, use a cache to execute it one for each product id.
|
||||||
*
|
*
|
||||||
* @return int < 0 if KO, > 0 if OK
|
* @return int < 0 if KO, > 0 if OK
|
||||||
* @see load_virtual_stock, getBatchInfo
|
* @see load_virtual_stock, getBatchInfo
|
||||||
@ -3388,7 +3389,8 @@ class Product extends CommonObject
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Load information about objects that are delat between physical and virtual stock of a product
|
* Load value ->stock_theorique of a product. Property this->id must be defined.
|
||||||
|
* This function need a lot of load. If you use it on list, use a cache to execute it one for each product id.
|
||||||
*
|
*
|
||||||
* @return int < 0 if KO, > 0 if OK
|
* @return int < 0 if KO, > 0 if OK
|
||||||
* @see load_stock, getBatchInfo
|
* @see load_stock, getBatchInfo
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user