Manufacturing

Zestawienia materiałowe

MarketplaceOperacjeWersja 0.1.0manifest

Do czego służy ​

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

Co pakiet robi, a czego nie robi ​

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

Modele ​

manufacturing_bom ​

A recipe: the components needed to make a product

Grupa odczytu: manufacturing.user. Grupa zapisu: manufacturing.manager.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
product_idref → productnoneniemanufacturing.userjawnieThe finished product the recipe makes
nametextnoneniemanufacturing.userjawnieName of the recipe, for example Standard assembly
quantitynumbernoneniemanufacturing.userjawnieUnits of the finished product one run produces
instructionslongtextnoneniemanufacturing.userjawnieAssembly notes for the shop floor
activeboolnoneniemanufacturing.userjawnieWhether the recipe can be used for new orders

manufacturing_bom_line ​

One component of a bill of materials

Grupa odczytu: manufacturing.user. Grupa zapisu: manufacturing.manager.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
bom_idref → manufacturing_bomnoneniemanufacturing.userjawnieThe recipe the component belongs to
component_idref → productnoneniemanufacturing.userjawnieThe product consumed
quantitynumbernoneniemanufacturing.userjawnieUnits of the component used per run

manufacturing_order ​

An instruction to produce a quantity of a product

Grupa odczytu: manufacturing.user. Grupa zapisu: manufacturing.user.

PoleRodzajKlasa danychDane osoboweGrupaAgenci widząOpis
referencetextnoneniemanufacturing.userjawnieOrder number, for example MO-0042
bom_idref → manufacturing_bomnoneniemanufacturing.userjawnieThe recipe to follow
quantitynumbernoneniemanufacturing.userjawnieUnits of the finished product to make
planned_ondatenoneniemanufacturing.userjawnieDate production should start (YYYY-MM-DD)
deadlinedatenoneniemanufacturing.userjawnieDate the goods are needed (YYYY-MM-DD)
responsibletextinternaltakmanufacturing.userzamaskowaneName of the person in charge of the run
stateselect (draft, confirmed, in_progress, done, cancelled)noneniemanufacturing.userjawnieOrder status: draft, confirmed, in_progress, done, cancelled

Przepływy pracy ​

manufacturing_order ​

AkcjaPrzenosiKto może uruchomićZatwierdzenie
manufacturing_order.confirmstate: draft → confirmedmanufacturing.managernie
manufacturing_order.startstate: confirmed → in_progressmanufacturing.usernie
manufacturing_order.finishstate: in_progress → donemanufacturing.usernie
manufacturing_order.cancelstate: draft → cancelledmanufacturing.usernie

Grupy uprawnień ​

Grupy używane przez tę aplikację:

  • manufacturing.manager
  • manufacturing.user

Kroki zatwierdzania ​

Żaden krok w tej aplikacji nie wymaga zatwierdzenia, poza usuwaniem rekordów.

Co agenci mogą, a czego nie mogą ​

Agent może odczytywać, wyszukiwać, tworzyć i aktualizować rekordy tej aplikacji oraz uruchamiać akcje niewymagające zatwierdzenia, w ramach grup uprawnień swojego tokenu.

Te kroki może tylko zaproponować, a człowiek musi je zatwierdzić: manufacturing_bom.delete, manufacturing_bom_line.delete, manufacturing_order.delete.

Dane osobowe są maskowane jako tokeny zastępcze: manufacturing_order.responsible.

Zależności ​

  • product

Instalacja ​

Zainstaluj ją w aplikacji Customize (Marketplace) lub z wiersza poleceń:

bash
obop modules install-from manufacturing

Wymaga bazy danych i uprawnień administratora.

Zbuduj własną ​

Przewodnik po modułach pokazuje, jak pisze się takie aplikacje