Dolibarr / dolibarr

Dolibarr ERP CRM is a modern software package to manage your company or foundation's activity (contacts, suppliers, invoices, orders, stocks, agenda, accounting, ...). it's an open source Web application (written in PHP) designed for businesses of any sizes, foundations and freelancers.
https://www.dolibarr.org
GNU General Public License v3.0
5.07k stars 2.67k forks source link

MRP (GPAO) evolution in standard Dolibarr #19661

Open atm-thibaultf opened 2 years ago

atm-thibaultf commented 2 years ago

Feature Request

In order to improve the management of computer-aided production within Dolibarr, ATM proposes to implement the following elements and push them to the community. This work was carried out in consultation with various community stakeholders. Your comments are welcome.

Link to the Dolibarr french forum of the feature : https://www.dolibarr.fr/forum/t/evolution-gpao-dans-le-coeur-dolibarr/38644

Suggested steps

BILLS OF MATERIAL MODULE - BOM (NOMENCLATURES) The BOM module will be changed as follows :

“PROCESS” MODULE A new “Process” module should be created and should add a new “Process” tab on the “MBOM / SBOM” sheets offering the following functionalities:

ToniTen commented 2 years ago

I agree with most of what you propose, but I want to point out something:

* Modification of the module name from “BOM” to “MBOM / SBOM (Manufacturing Bills Of Material / Service Bills Of Matérial)”

* The “BOM” tab will be changed as follows:

  * The tab should be renamed “MBOM” (“Nomenclature de produits”)
  * Allow only products and no longer services to be added to this table. Indeed, services do not have the same characteristics and some information in the table does not make sense for services.

Imagine you've got a product where say, part of the production is outsourced to a different company, and that company basically takes some product (that might be the final product) and performs an operation on it (say, painting, or electroplating). Wouldn't that be a service that is required in the production of the product, and thus need to be in the BOM?

edupulpillo commented 2 years ago

First, thank you to ATM for sharing and their great contribution to the community. As ToniTen mention very often in the supply chain of the products and services have a mix of components outsourced by several suppliers and mixed with the processes made in the own factory. To make the module useful, is a key point to be able to control this topic. So it will be great if is possible to implement it in the next PR

dolibarr95 commented 2 years ago

@atm-thibaultf tks a lot for all this job !!!!

atm-thibaultf commented 2 years ago

In response to @ToniTen and @edupulpillo, in fact if I need to outsource one part of my production with several component, I can manage it like explain below :

The objectif at the end is to be able to buy to a supplier the service of the step that I want to outsource if I want to outsource it OR to be able to assign a workstation on this service if I want to produce it with a manufacturing order.

Maybe, It's better to add another table for the services on the same tab (by renaming the "BOM" tab in "MBOM / SBOM"). The objectif is to make a difference between products needed and services/workstations.

edupulpillo commented 2 years ago

Also it should be nice to review a management of the defects/returns of materials during the manufacturing process, and also about the waste ratio. May i ask if Is the module already pushed to v15 of Dolibarr to test it, or not yet ?

ToniTen commented 2 years ago

Maybe, It's better to add another table for the services on the same tab (by renaming the "BOM" tab in "MBOM / SBOM"). The objectif is to make a difference between products needed and services/workstations.

Could this be controlled by a preference? We do not sell services, but we purchase them (and some of them will go into a BOM). I have no issues with having them separated for those that have more complex workflows, but having to have 1 extra table cluttering the UI for one single line would be a step backwards. Nothing we couldn't adapt to, though, so if this is really needed by a huge share of the users of the MRP modules, I would understand its inclusion.

atm-thibaultf commented 2 years ago

@edupulpillo the feature described above is not pushed to v15. For your idea of the defects/returns of materials during the manufacturing process, I agree with you that Dolibarr need to understand this information but I think it's more a point which to be manage in manufacturing order and not in the BOM.

@ToniTen I understand the need to keep with a simple UI and workflow if we don't need this feature. The interface is not decided yet but I understand your use case.

atm-maxime commented 2 years ago

@lmag

atm-maxime commented 2 years ago

@eldy we plan to start working on the use of services in BOM, a prerequisite to have the process module in a near future. Is this ok for you ?

JuanBrillo commented 1 year ago

I think it should be allowed to allow services in BOM, in fact, on the web, and even in its image on said page, as it announces.

"Create your nomenclatures (BOMs) to define how to consume raw products or services to produce manufactured products (Quantity to consume, efficiency, stock impact, ...)."

BOM

A product cannot be manufactured without the labor of operators who operate lathes, milling machines, welders, drills, cutters...

atm-maxime commented 1 year ago

Yes, that's why we are currently adding this feature

edupulpillo commented 1 year ago

Since services are going to be added in BOM, please kindly considerate to add the feature "subcontracted". A lot of times during the manufacturing process the services are subcontracted, and the materials need to be moved from one factory to another to make the process.

An example:

csteh commented 1 year ago

It will be more comfortable working if you add tags and categories to MRP (GPAO)

Jean-BaptisteDes commented 1 year ago

FR : bonjour merci pour ces développements. Un gros manque en l'état actuel est de pouvoir lancer les approvisionnement à la création d'un OF : -> dans un process classique, on créée l'OF pour réserver des capacités de production et la matière. Hors il n'est pas possible de simplement lancer des achats liés à un ordre de fabrication. Si ce point peut être mis dans la pile des améliorations à venir, ce serait top.

EN: hello thank you for these developments. A big lack in the current state is to be able to launch the supplies when creating an OF: -> in a classic process, the OF is created to reserve production capacities and materials. However, it is not possible to simply launch purchases linked to a production order. If this point can be put in the pile of future improvements, that would be great.

Jeromeerm commented 1 year ago

Hello to all,

I think that the request @Jean-BaptisteDes is a primordial thing to implement in dolibarr, indeed it is not simple to replenish the product of an OF currently. This is an essential aspect of an MRP.

Also I agree completely with the explanations of @edupulpillo. Our company is in this situation and it is currently unmanageable without any headaches.

It would be necessary to be able to follow the different steps and the third party through a module of production steps.

For me, the simplest is to have a tab allowing to manufacture a product P1 made of product and services (external or not).

Initially, a product P1-1 is ordered (raw material or draft material). After receiving this P1-1, we can order the service S1-2 to consume P1-1 and produce P1-2. At the end of this OF, the last service S1-X allows to consume P1-(X-1) and to produce P1.

I hope I have made myself clear. In any case, this is a feature we are looking forward to.

Already, thank you very much to @atm-thibaultf and to all the concerned team.

Now the question : when or on which version do you think that the announced improvements will be integrated in the heart of dolibarr ?

lmag commented 1 year ago

Hello to all,

I agree with the explanations of @edupulpillo. I think we shouldn't to mix production orders (OF) and planned production orders (PPO) in this first step.

Scheduling can be done in a second step with :

These steps can be carried out as part of the scheduling @ATM-Thibault @atm-maxime

Jean-BaptisteDes commented 1 year ago

https://github.com/Dolibarr/dolibarr/issues/19661#issuecomment-1275654274

FR : Une première étape serait de pouvoir lier une OF à une commande fournisseur.

EN : A first step would be to be able to link an OF to a supplier order.

lmag commented 1 year ago

Je ne pense pas que cela soit aussi simple. L'OF n'est pas relié aux commandes fournisseurs. Il faudra qu'il propose une quantité de commande a passer en fonctions des éléments

EN : I don't think it is that simple. OF is not linked to supplier orders. It will have to propose an order quantity to be placed according to the elements

Humml87 commented 1 year ago

Hi, i think the MO makes only a requirement on a Product to consume (this is the current state, equals an Sales Order). Wath we need is to implement in the "Replenishment" (.../htdocs/product/stock/replenish.php) the replenishment for Products where produced by "Nature of product = Manufactured product" (see my Issue #21858) image.

Additional we need a view to see witch "Products can assign to a MO" (enough stock in the warehouse), a view for "MO´s where can consume Products" and a view for "MO´s where can produce". In the "MO´s where can produce" meens all products are consumed/assigned, there we need a flag equals "shipabel" in Sales Orders, if all services also complete consomed and we can finished the MO.

This Issue(s) are our problem to integrate Dolibarr in the company :-(

Best regards Christian

fecarian21 commented 8 months ago

Hello,

Any news about the evolution of the GPAO module ?

lmag commented 4 months ago

https://github.com/Dolibarr/dolibarr/issues/28357