Manufacturing

Nomenclatures

Place de marchéOpérationsVersion 0.1.0manifest

À quoi elle sert ​

Define what a product is made of and plan manufacturing orders through draft, confirmed, in progress and done. Component stock is not consumed automatically.

Ce que fait et ne fait pas le paquet ​

Bills of materials and manufacturing orders with a draft, confirmed, in progress and done flow. Component stock is not consumed automatically.

Modèles ​

manufacturing_bom ​

A recipe: the components needed to make a product

Groupe de lecture: manufacturing.user. Groupe d'écriture: manufacturing.manager.

ChampTypeClasse de donnéesDonnées personnellesGroupeVu par les agentsDescription
product_idref → productnonenonmanufacturing.useren clairThe finished product the recipe makes
nametextnonenonmanufacturing.useren clairName of the recipe, for example Standard assembly
quantitynumbernonenonmanufacturing.useren clairUnits of the finished product one run produces
instructionslongtextnonenonmanufacturing.useren clairAssembly notes for the shop floor
activeboolnonenonmanufacturing.useren clairWhether the recipe can be used for new orders

manufacturing_bom_line ​

One component of a bill of materials

Groupe de lecture: manufacturing.user. Groupe d'écriture: manufacturing.manager.

ChampTypeClasse de donnéesDonnées personnellesGroupeVu par les agentsDescription
bom_idref → manufacturing_bomnonenonmanufacturing.useren clairThe recipe the component belongs to
component_idref → productnonenonmanufacturing.useren clairThe product consumed
quantitynumbernonenonmanufacturing.useren clairUnits of the component used per run

manufacturing_order ​

An instruction to produce a quantity of a product

Groupe de lecture: manufacturing.user. Groupe d'écriture: manufacturing.user.

ChampTypeClasse de donnéesDonnées personnellesGroupeVu par les agentsDescription
referencetextnonenonmanufacturing.useren clairOrder number, for example MO-0042
bom_idref → manufacturing_bomnonenonmanufacturing.useren clairThe recipe to follow
quantitynumbernonenonmanufacturing.useren clairUnits of the finished product to make
planned_ondatenonenonmanufacturing.useren clairDate production should start (YYYY-MM-DD)
deadlinedatenonenonmanufacturing.useren clairDate the goods are needed (YYYY-MM-DD)
responsibletextinternalouimanufacturing.usermasquéName of the person in charge of the run
stateselect (draft, confirmed, in_progress, done, cancelled)nonenonmanufacturing.useren clairOrder status: draft, confirmed, in_progress, done, cancelled

Flux de travail ​

manufacturing_order ​

ActionTransitionQui peut l'exécuterApprobation
manufacturing_order.confirmstate: draft → confirmedmanufacturing.managernon
manufacturing_order.startstate: confirmed → in_progressmanufacturing.usernon
manufacturing_order.finishstate: in_progress → donemanufacturing.usernon
manufacturing_order.cancelstate: draft → cancelledmanufacturing.usernon

Groupes de permissions ​

Groupes utilisés par cette application :

  • manufacturing.manager
  • manufacturing.user

Étapes d'approbation ​

Aucune étape de cette application ne requiert d'approbation, hormis la suppression d'enregistrements.

Ce que les agents peuvent et ne peuvent pas faire ​

Un agent peut lire, rechercher, créer et modifier les enregistrements de cette application, et exécuter les actions qui ne requièrent pas d'approbation, dans les limites des groupes de permissions de son jeton.

Il ne peut que proposer ces étapes, qu'une personne doit approuver : manufacturing_bom.delete, manufacturing_bom_line.delete, manufacturing_order.delete.

Les données personnelles sont masquées sous forme de jetons de substitution : manufacturing_order.responsible.

Dépendances ​

  • product

Installation ​

Installez-la depuis l'application Customize (Place de marché), ou en ligne de commande :

bash
obop modules install-from manufacturing

Nécessite une base de données et des droits d'administrateur.

Créer la vôtre ​

Le guide des modules montre comment sont écrites les applications de ce type