Class StockAssignment


  • public class StockAssignment
    extends HibernateObject
    This class represents a reservation of a quantity of a particular stock item for a particular job. This can be specified as a StockLocation or a Container. The reservation can be limited to a production Location
    Author:
    Maver
    • Field Detail

      • job

        public Job job
        The job to assign the stock item to
      • productionLocation

        public Location productionLocation
        An optional production location can be specified for filtering
      • pallet

        public Container pallet
        A pallet can be assigned to a job
      • quantity

        public java.lang.Double quantity
        The quantity of the stock lot or pallet that is assigned to this Job
    • Constructor Detail

      • StockAssignment

        public StockAssignment()
    • Method Detail

      • getJob

        public Job getJob()
      • setJob

        public void setJob​(Job job)
      • getProductionLocation

        public Location getProductionLocation()
      • setProductionLocation

        public void setProductionLocation​(Location productionLocation)
      • setPallet

        public void setPallet​(Container pallet)
      • getQuantity

        public java.lang.Double getQuantity()
      • setQuantity

        public void setQuantity​(java.lang.Double quantity)