Line 1:
Line 1:
−
== Introduction ==
+
<!-- BEGIN origin interlang links -->
−
La gestion du stock permet d'encoder des états de stock et des correctifs pour chaque produit, éventuellement partagés en plusieurs entrepôts.
+
<!-- You can edit this section but do NOT remove these comments
+
Links below will be automatically replicated on translated pages by PolyglotBot -->
+
[[fr:Module_Stock]]
+
[[es:Módulo_Stocks]]
+
[[de:Modul_Bestände]]
+
<!-- END interlang links -->
−
== Configuration ==
+
[[Category:Stock]]
−
Le module de stock s'active sur la page principale de gestion des modules, pour laquelle il est généralement nécessaire d'avoir les permissions d'administrateur ou équivalentes. Une fois le module activé, il est bon d'aller également faire un tour par sa page de configuration (petite icône d'ordinateur à droite du lien pour activer/désactiver le module).
+
{{TemplateDocUser}}
−
La page de configuration vous permet de choisir une parmi quatre options, déterminant à quel moment d'une commande ou d'une facture le stock doit être altéré.
+
{{TemplateModEN}}
+
{{BasculeDevUser|
+
nom=Stock|
+
num=52|
+
devdoc=[[Module Stock (developer)]]|
+
userdoc=This page|}}
−
== Créer un entrepôt ==
+
=Introduction=
+
The Stock management module can save status for stocks of products into warehouses and edit/correct quantities of products.
−
La création d'un entrepôt est la première étape obligatoire à la gestion du stock. On peut créer un entrepôt via l'onglet général ''Produits/Services'' et le menu de gauche ''Stock'' puis ''Nouvel entrepôt''. Les seules informations obligatoires sont un code et un nom d'entrepôt. Il faut ensuite déterminer si l'entrepôt est en fonctionnement ou pas (ouvert/fermé). Un entrepôt fermé ne peut être utilisé au travers des autres outils de Dolibarr. C'est donc un bon moyen de préparer un entrepôt (en le remplissant) avant de le mettre en fonction, ou de le bloquer momentanément pendant un inventaire.
+
It provides also features like Replenishments and Inventories.
−
== Allouer un stock aux produits ==
+
=Installation=
+
{{NoInstallModuleEn}}
−
Étape longue mais nécessaire, il s'agit ensuite, pour chaque produit, d'utiliser son onglet ''stock'' pour lui définir un stock de base, dans chaque entrepôt.
+
=Configuration=
+
{{ActivationModuleEn}}
−
== Modification automatique du stock ==
+
The setup page allows you to choose from four options, when the stock is automatically incremented or decreased (depending on events in the order or invoice business process).
−
Selon l'option choisie dans la configuration du module, une modification prend place au moment de la commande, au moment de la livraison, au moment de la facture, etc.
+
=Definition=
−
Un mouvement de stock est alors enregistré selon les critères de déstockage choisis.
−
== Modification manuelle du stock ==
+
*'''Physical stock''' is the quantity of products in the warehouses.
+
*'''Virtual stock''' is the physical stock we will have once all pending sale, purchase and manufacturing orders will be done (so current real stock MINUS the number of products ordered by customers (orders with status "validated") PLUS the quantity ordered from suppliers (orders with status "sent to the supplier") MINUS quantity of product to consume in Manufacturing Orders PLUS quantity of product to produce in Manufacturing Orders (if you use them).
−
Si l'on désire apporter des correctifs au stock existant (vol, disparition, vieillissement, ...), il est possible de le faire directement via l'onglet ''stock'' de la fiche produit.
+
=Create a warehouse=
+
The creation of a warehouse is the mandatory first step for stock management. You can create a warehouse on the ''Products/Services'' tab, clicking ''Stocks'' on the left menu and then ''New warehouse stock''. The only required information is a reference code and a warehouse name, the other fields are optional. You must then set whether the warehouse is active or not (opened / closed). A closed warehouse cannot be used by other Dolibarr functions. This is a good way to prepare a warehouse with stock before you activate it, or to temporarily block stock movements during an inventory.
−
== Valorisation ==
+
=Allocate product stocks=
−
Un menu de ''valorisation'' est également disponible pour le stock. Si l'on a donné une valeur au stock de chaque produit, il est possible de valoriser chaque entrepôt selon sa valeur enregistrée.
+
*This has to be done from the ''stock'' tab on the page of the product, which can be found on the ''products'' section of the left menu.
+
*You can also do this from the ''stock'' tab on the page of the warehouse.
−
== Fiche entrepôt ==
+
For multiple updates of stock, the import process should be used.
−
Il est possible d'obtenir une liste détaillée des produits et mouvements enregistrés dans un entrepôt via un clic sur le nom de l'entrepôt dans la liste des entrepôts.
+
=Automatic stock updates=
−
== Exemples de cas d'utilisation ==
+
Depending on the module configuration, the stock is updated either at the time of an order, at the time of shipment, at the time of invoice, etc.. A movement of stock is then registered according to the chosen increase/decrease stock option.
−
A compléter
+
+
=Manual stock updates=
+
+
If you wish to make adjustments to the existing stock amounts (because of internal production, theft, loss, aging, ...), you can do it directly via :
+
+
*the tab "Stock" of a product.
+
*the tab "Stock movement" of a warehouse.
+
+
Use the button "Correct Stock" or "Transfer Stock" if you want to manually move some products from one warehouse to another one. Enter a code and label for the moment (for example to set the reason for the change).
+
+
+
=Replenishment=
+
+
The replenishment is a feature to generate orders for suppliers so your stock will be restored to a desired value.
+
+
=Inventories=
+
+
From menu Stocks - Inventories, you will find features to make an inventory.
+
See page [[Inventories]] for documentation on how to make an inventory.
+
+
=Warehouse strategy and valuation=
+
+
It is possible to obtain a detailed list of products and movements in a specific warehouse by clicking on the name from the list of warehouses.
+
+
==Removal strategy==
+
When using stock decrease on shipments, a removal strategy is a removal rule to decide which lot/batch/serial, or from which warehouse you take a product when you are doing a shipment.
+
+
*FIFO: First in, first out
+
*LIFO: Last in, first out
+
*FEFO: First expiry, first out
+
+
Currently, Dolibarr does not suggest any product lot or warehouse by priority when you ship a product.
+
You choose from the interface which product/lot quantity, from which warehouse you will make the movement. So the removal strategy is a manual selection by the user. You can choose according to FIFO, LIFO, or FEFO, at each shipment.
+
+
In a future, a removal strategy may be implemented so the application will use a default choice to suggest the lot/serial/warehouse/qty to match a default removal strategy rule.
+
+
==Stock valuation==
+
With Dolibarr, you can get a valuation of stock in two ways:
+
+
*Standard valuation: Current price of product * qty in stock
+
*Average Weight Price (AWP): AWP of product * qty in stock
+
+
=Related videos=
+
<youtube width="200" height="120">a0melQ2WTrY</youtube>