Module Stock (developer): Difference between revisions

m
Import interlang links (links to translated versions of this page in other languages) from Multi Language Manager table.
m (Import interlang links (links to translated versions of this page in other languages) from Multi Language Manager table.)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
<!-- BEGIN origin interlang links -->
<!-- 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_(développeur)]]
[[es:Módulo_Stock_(desarrollador)]]
<!-- END interlang links -->
[[Category:Stock]]
[[Category:Stock]]
{{TemplateDocDevEn}}
{{TemplateDocDevEn}}
Line 35: Line 42:
When the option to increment the stock of orders is on the side of supplier orders, this is the class htdocs / prov / fournisseur.commande.class.php that supports incrementing the stock through its method '' DispatchProduct () ''. Enabling this control is only possible state 3 and 4 of the purchase order, which means that you should not miss a step when encode the order. Once the order "sent", it is possible to place the products in the stock by clicking on the tab Dispatch ('' Ventilation ').
When the option to increment the stock of orders is on the side of supplier orders, this is the class htdocs / prov / fournisseur.commande.class.php that supports incrementing the stock through its method '' DispatchProduct () ''. Enabling this control is only possible state 3 and 4 of the purchase order, which means that you should not miss a step when encode the order. Once the order "sent", it is possible to place the products in the stock by clicking on the tab Dispatch ('' Ventilation ').


= Améliorations possibles =
= Améliorations possibles (Possible enhancements) =


Une livraison d'un produit composé de plusieurs sous-produits devrait pouvoir être intégrée au stock sous forme des différents constituants plutôt que du tout.
Une livraison d'un produit composé de plusieurs sous-produits devrait pouvoir être intégrée au stock sous forme des différents constituants plutôt que du tout.
Cette intégration peut être faite de façon simple en ajoutant un checkbox dans fourn/commande/dispatch.php, une méthode donnant la liste détaillée des composants d'un produit (incluant les quantités), et une nouvelle méthode commandeFournisseur::DispatchProductAsComponents() qui va chercher la liste des enfants et les place un à un dans le stock.
Cette intégration peut être faite de façon simple en ajoutant un checkbox dans fourn/commande/dispatch.php, une méthode donnant la liste détaillée des composants d'un produit (incluant les quantités), et une nouvelle méthode commandeFournisseur::DispatchProductAsComponents() qui va chercher la liste des enfants et les place un à un dans le stock.
'''Temporary translation'''
A supply of a product consisting of several by-products should be able to be integrated into the stock in the form of individual components rather than at all.
This integration can be done in a simple way by adding a checkbox in prov / order / dispatch.php a method giving a detailed list of components of a product (including quantities), and a new method commandeFournisseur :: DispatchProductAsComponents () that fetches the list of children and places them one by one into the stock.


= Permissions =
= Permissions =
2,052

edits