Inventory

Varasto ja varastot

MarkkinapaikkaToimintaVersio 0.1.0manifest

Mihin se on tarkoitettu ​

Describe warehouses and locations, record stock levels and log stock moves. Quantities are entered by people, so it works as a ledger of what was counted and moved rather than an automatic stock engine.

Mitä paketti tekee ja mitä ei ​

Warehouses, stock locations, stock levels and stock moves. Quantities are entered and validated by people; they are not updated automatically by moves.

Mallit ​

inventory_warehouse ​

A building or site where stock is kept

Lukuryhmä: inventory.user. Kirjoitusryhmä: inventory.manager.

KenttäTyyppiTietoluokkaHenkilötietoRyhmäAgentit näkevätKuvaus
nametextnoneeiinventory.userselkoisenaWarehouse name
codetextnoneeiinventory.userselkoisenaShort code printed on documents, for example WH1
addresslongtextnoneeiinventory.userselkoisenaPostal address of the site
activeboolnoneeiinventory.userselkoisenaWhether the warehouse is in use

inventory_location ​

A place inside a warehouse where stock can sit

Lukuryhmä: inventory.user. Kirjoitusryhmä: inventory.manager.

KenttäTyyppiTietoluokkaHenkilötietoRyhmäAgentit näkevätKuvaus
nametextnoneeiinventory.userselkoisenaLocation name, for example Shelf A3
warehouse_idref → inventory_warehousenoneeiinventory.userselkoisenaThe warehouse the location belongs to
kindselect (internal, receiving, shipping, transit, scrap)noneeiinventory.userselkoisenaWhat the location is used for: internal, receiving, shipping, transit, scrap
activeboolnoneeiinventory.userselkoisenaWhether the location is in use

inventory_item ​

The quantity of one product held at one location

Lukuryhmä: inventory.user. Kirjoitusryhmä: inventory.manager.

KenttäTyyppiTietoluokkaHenkilötietoRyhmäAgentit näkevätKuvaus
product_idref → productnoneeiinventory.userselkoisenaThe product held
location_idref → inventory_locationnoneeiinventory.userselkoisenaWhere it is held
quantitynumbernoneeiinventory.userselkoisenaUnits on hand
reorder_levelnumbernoneeiinventory.userselkoisenaQuantity at or below which the product should be replenished
lottextnoneeiinventory.userselkoisenaLot or batch number, if tracked

inventory_move ​

A movement of a product between locations, or into or out of the business

Lukuryhmä: inventory.user. Kirjoitusryhmä: inventory.user.

KenttäTyyppiTietoluokkaHenkilötietoRyhmäAgentit näkevätKuvaus
referencetextnoneeiinventory.userselkoisenaReference of the move, for example a delivery or receipt number
product_idref → productnoneeiinventory.userselkoisenaThe product moved
from_location_idref → inventory_locationnoneeiinventory.userselkoisenaWhere it leaves; empty for a receipt from a supplier
to_location_idref → inventory_locationnoneeiinventory.userselkoisenaWhere it arrives; empty for a delivery to a customer
quantitynumbernoneeiinventory.userselkoisenaUnits moved
scheduled_ondatenoneeiinventory.userselkoisenaDate the move is planned for (YYYY-MM-DD)
stateselect (draft, done, cancelled)noneeiinventory.userselkoisenaMove status: draft, done, cancelled

Työnkulut ​

inventory_move ​

ToimintoSiirtääKuka voi suorittaaHyväksyntä
inventory_move.validatestate: draft → doneinventory.userkyllä
inventory_move.cancelstate: draft → cancelledinventory.userei

Käyttöoikeusryhmät ​

Tämän sovelluksen käyttämät ryhmät:

  • inventory.manager
  • inventory.user

Hyväksyntävaiheet ​

Vaiheet, joita agentti voi vain ehdottaa:

  • inventory_move.validate

Mitä agentit voivat ja eivät voi tehdä ​

Agentti voi lukea, hakea, luoda ja päivittää tämän sovelluksen tietueita sekä suorittaa toiminnot, jotka eivät vaadi hyväksyntää, tunnisteensa käyttöoikeusryhmien rajoissa.

Se voi vain ehdottaa näitä vaiheita, ja ihmisen on hyväksyttävä ne: inventory_move.validate, inventory_warehouse.delete, inventory_location.delete, inventory_item.delete, inventory_move.delete.

Riippuvuudet ​

  • product

Asennus ​

Asenna se Customize-sovelluksesta (Marketplace) tai komentoriviltä:

bash
obop modules install-from inventory

Vaatii tietokannan ja ylläpitäjän oikeudet.

Tee oma ​

Moduulioppaassa näytetään, miten tällaiset sovellukset kirjoitetaan