Class PreBatch


  • public class PreBatch
    extends HibernateObject
    This class represents a placeholder for Batches When a job is scheduled with 20 batches, 20 PreBatches are created as place holders for the work to be done This allows the SG system to have custom settings on a per batch level
    Author:
    SGSystems
    • Field Detail

      • batchSeq

        public int batchSeq
        Which batch in sequence this is for the JobLine starting at 1
      • products

        public double products
        How many products this batch should produce
      • location

        public Location location
        The production location this batch will appear in
      • jobLine

        public JobLine jobLine
        The job line that this prebatch pertains to
      • customBatchNo

        public java.lang.String customBatchNo
        A custom batch number to carry over to the batch
      • bulkDispenseStatus

        public java.lang.Integer bulkDispenseStatus
        The status of a multiple bulk dispense request. 1 is fulfilled
      • completionApproved

        public int completionApproved
        A marker to denote whether this prebatch is allowed to complete with relevant configurations
      • formula

        public Formula formula
        An overriding formula. Intended to override the JobLine Formula Entity
      • releasedForDispense

        public java.lang.Integer releasedForDispense
        The status of a multiple bulk dispense request. 1 is fulfilled
    • Constructor Detail

      • PreBatch

        public PreBatch()
    • Method Detail

      • getBatchSeq

        public int getBatchSeq()
      • getProducts

        public double getProducts()
      • getStatus

        public int getStatus()
      • getLocation

        public Location getLocation()
      • setBatchSeq

        public void setBatchSeq​(int batchSeq)
      • setProducts

        public void setProducts​(double products)
      • setStatus

        public void setStatus​(int status)
      • setLocation

        public void setLocation​(Location location)
      • getJobLine

        public JobLine getJobLine()
      • setJobLine

        public void setJobLine​(JobLine jobLine)
      • getJob

        public Job getJob()
      • setJob

        public void setJob​(Job job)
      • getCustomBatchNo

        public java.lang.String getCustomBatchNo()
      • setCustomBatchNo

        public void setCustomBatchNo​(java.lang.String customBatchNo)
      • getBatch

        public Batch getBatch()
      • setBatch

        public void setBatch​(Batch batch)
      • getBulkDispenseStatus

        public java.lang.Integer getBulkDispenseStatus()
      • setBulkDispenseStatus

        public void setBulkDispenseStatus​(java.lang.Integer bulkDispenseStatus)
      • getCompletionApproved

        public int getCompletionApproved()
      • setCompletionApproved

        public void setCompletionApproved​(int completionApproved)
      • getFormula

        public Formula getFormula()
      • setFormula

        public void setFormula​(Formula formula)
      • getReleasedForDispense

        public java.lang.Integer getReleasedForDispense()
      • setReleasedForDispense

        public void setReleasedForDispense​(java.lang.Integer releasedForDispense)