virtual_warehouse.data.data_model.ItemUnit¶
- class ItemUnit(name=None, namespace=None, **kargs)[source]¶
Bases:
virtual_warehouse.data.data_model.PhysicalObject
Represents different packaging units of item.
- name¶
unique id (item_id-unit_lvl)
- Type
str
- has_conversion_qty¶
number of packages inside base unit
- Type
int
- has_ref_qty_uom¶
name of reference quantity unit of measure
- Type
str
- has_length¶
length of packaging (in meters)
- Type
float
- has_width¶
width of packaging (in meters)
- Type
float
- has_height¶
height of packaging (in meters)
- Type
float
- has_weight¶
weight of packaging (in kg)
- Type
float
- INIT DESCRIPTION
Methods
create
(_id, conversion_qty, qty_uom, length, …)Attributes
Full Description
- classmethod create(_id, conversion_qty, qty_uom, length, width, height, dim_uom, weight, weight_uom)[source]¶
- Parameters
_id (str) –
conversion_qty (int) –
qty_uom (str) –
length (float) –
width (float) –
height (float) –
dim_uom (str) –
weight (float) –
weight_uom (str) –
- is_a = [onto.PhysicalObject]¶
- namespace = get_ontology("http://warehouse/onto.owl#")¶
- storid = 307¶