Item Type
class ItemType @JvmOverloads constructor(parent: ModelElement, name: String? = null, weight: Double = 1.0, cube: Double = 1.0, leadTime: RVariableIfc? = null) : ModelElement(source)
Models a stock-keeping unit (SKU) within an inventory system. An ItemType is associated with a unit cost, a weight, a cube (length × width × height), and optionally a leadTime distribution used when this item type is stocked at a location with non-zero replenishment lead time.
The caller is responsible for stream-number assignment when constructing the leadTime source; ItemType does not draw values from it directly.
Parameters
parent
the parent model element
name
an optional name; defaults to a generated unique name
weight
the weight per unit, must be > 0; defaults to 1.0
cube
the cube per unit, must be >= 0; defaults to 1.0
lead Time
an optional replenishment lead-time source; may be null See sc.inventorylayer.ItemType
Constructors
Link copied to clipboard
constructor(parent: ModelElement, name: String? = null, weight: Double = 1.0, cube: Double = 1.0, leadTime: RVariableIfc? = null)