Project:
|
![]() Figure SI.02 - Stock Level and Stock Location : Class diagram
StockLocation represents places where StockItems might be stored.
A StockItemStockLevel represents the Stock Level of a StockItem stored in a StockLocation and available for SalesChannels. A StockItemStockLevel might be: • Available for sale to customers limited to SalesChannels • Available for use to build the Network or to provide furniture to employees • Returned: StockItems received back from the Customer that must be checked before being available such as rented material returned • Damaged: StockItems identified as damaged during a reception from a supplier or returned as damaged by a Customer or Employee Note: attributes starting with a slash (“/”) correspond to the result of a calculation. For example, /bookedQuantity is calculated adding all quantity booked and /quantity is calculated adding 1 for each Resource related to the StockItemStockLevel. A StockItemStockLevel if the quantity is non-zero is always composed of Resources. A Resource might have a serialNumber. Today in SID, only PhysicalResource, Equipment (sub-class of PhysicalResource) and InstalledSoftware (sub-class of LogicalResource) may have a serialNumber. Proposal: move serialNumber attribute at Resource Business Entity as a CompoundResource may also need a serialNumber. Booking or Replenishment requests might be formulated concerning a StockItemStockLevel: • Booking request: a booking request might come from a CustomerProductOrder in progress or simply from a salesperson that plan to place a huge quantity to a Customer. It carries a valid period to avoid freezing the stock. • Replenishment: a replenishment request is triggered when the quantity is under the reorderLevel. The status is “In progress” and the end date (from validPeriod) is specified when a corresponding purchase or movement from one StockLocation to another has been triggered. These requests might be cancelled (for example if the Customer abort his order). A StockItemRequest might be “Received” if the corresponding StockItemShipment is completed and the content has not yet been checked. |