Class SystemLog

  • All Implemented Interfaces:
    java.lang.Comparable<java.lang.Object>

    public class SystemLog
    extends HibernateObject
    implements java.lang.Comparable<java.lang.Object>
    This class is the main location for logging transactions in the system Most actions performed in the system outside of Sales and QA will be logged here
    Author:
    SGSystems
    • Field Detail

      • timestamp

        public java.util.Date timestamp
        The time at which this transaction occurred
      • descriptor

        public java.lang.String descriptor
        A descriptive field which gives context to the log
        ADJUSTMENT - this stock lot has been adjusted to this value
        AUTO-ZERO - the stock has been reduced by this value
        CONSUMED - this quantity has been consumed from this stock lot in to a mix
        MOVED IN - this stock lot and quantity has been moved in to this location (do not think this is of interest to you)
        MOVED OUT - this stock lot and quantity has been moved out to this location (do not think this is of interest to you)
        PRODUCED - this commodity with this batch / lot number has been produced on the system
        RECEIVED-A - this stock lot has had a further receipt addition to the original receipt of this qty (addition)
        STOCK IN - this stock lot and quantity has been receipted in to the system
        WASTE - this stock lot has had this quantity withdrawn from the system as waste
        WITHDRAW - this stock lot has had this quantity withdrawn from the system
        ALLERGENS ACKNOWLEDGED - allergens have been seen and accepted
        HAZARDS ACKNOWELDGED - hazards have been seen and accepted
      • batch

        public Batch batch
        The batch that this log pertains to
      • user

        public User user
        The user which performed this action
      • quantity

        public java.lang.Double quantity
        The quantity of the transaction
      • terminal

        public Terminal terminal
        The terminal this action was performed on
      • location

        public Location location
        The production location that this event occured at
      • reason

        public java.lang.String reason
        The reason given for this action
      • accountNumber

        public java.lang.String accountNumber
        Any related account numbers with this event
      • lotContainer

        public LotContainer lotContainer
        The LotContainer consumed/produced by this action
      • convertedQuantity

        public java.lang.Double convertedQuantity
        The quantity prior to conversion to base commodity UOM
      • pallet

        public Container pallet
        The pallet which is concerned with this transaction
      • container

        public Container container
        The container which is concerned with this transaction
      • containerCount

        public java.lang.Integer containerCount
        The number of containers for this transaction
      • withdrawnFlag

        public java.lang.Boolean withdrawnFlag
        A boolean value indicating that the stock has been withdrawn
      • originalQty

        public java.lang.Double originalQty
        The quantity prior to the transaction
      • bulkCount

        public java.lang.Double bulkCount
        The count of bulk items produced by this transaction
      • totalPackWeight

        public java.lang.Double totalPackWeight
        The total pack weight of a finished product
      • stockLocation

        public Location stockLocation
        The stock location that this action was performed at
      • sourceStepID

        public java.lang.Integer sourceStepID
        The source FormulaStep ID
      • bagId

        public java.lang.Integer bagId
        The source Bag ID
      • jobLink

        public Job jobLink
        The job that this transaction concerns
      • targetStock

        public StockLocation targetStock
        The target stock entity of this transaction
      • cycleCountRun

        public CycleCountRun cycleCountRun
        A reference to a CycleCountRun
      • adjustmentQty

        public java.lang.Double adjustmentQty
        Quantity that this transaction adjusted by
      • transferLine

        public TransferLine transferLine
        The transfer line affected by this event
      • targetQty

        public java.lang.Double targetQty
        The target quantity for the step
      • oldDate

        public java.util.Date oldDate
        The previous date before a date change
      • commodity

        public Commodity commodity
        The commodity affected
      • containerLink

        public ContainerLink containerLink
        The specific pallet/stock combination used in this transaction
      • comments

        public java.lang.String comments
        Comments that may be associated with the event
      • customLotNumber

        public java.lang.String customLotNumber
        A custom lot number which may have been generated
      • referenceNo

        public java.lang.String referenceNo
        An external reference number
      • adviceNote

        public java.lang.String adviceNote
        Advice note field
      • purchaseOrder

        public PurchaseOrder purchaseOrder
        The related purchase order
      • driverName

        public java.lang.String driverName
        The name of the diver for the transaction
      • driverId

        public java.lang.String driverId
        The Id/Licence of the diver for the transaction
      • reasonCode

        public java.lang.String reasonCode
        The Reason code for this transaction
      • stepQuantity

        public java.lang.Double stepQuantity
        The quantity consumed in the steps UoM
      • targetLocation

        public Location targetLocation
        The destination Location for a movement log
      • deliveryNumber

        public java.lang.Integer deliveryNumber
        The PO delivery number
      • method

        public java.lang.String method
        The method by which this log was created
      • commodityTargetQty

        public java.lang.Double commodityTargetQty
        The target quantity expressed in terms of the commodity uom
    • Constructor Detail

      • SystemLog

        public SystemLog()
    • Method Detail

      • getTimestamp

        public java.util.Date getTimestamp()
      • setTimestamp

        public void setTimestamp​(java.util.Date timestamp)
      • getDescriptor

        public java.lang.String getDescriptor()
      • setDescriptor

        public void setDescriptor​(java.lang.String descriptor)
      • getBatch

        public Batch getBatch()
      • setBatch

        public void setBatch​(Batch batch)
      • getUser

        public User getUser()
      • setUser

        public void setUser​(User user)
      • getQuantity

        public java.lang.Double getQuantity()
      • setQuantity

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

        public java.lang.String getCommodityText()
      • getTerminal

        public Terminal getTerminal()
      • getLocation

        public Location getLocation()
      • setLocation

        public void setLocation​(Location location)
      • setTerminal

        public void setTerminal​(Terminal terminal)
      • getReason

        public java.lang.String getReason()
      • setReason

        public void setReason​(java.lang.String reason)
      • compareTo

        public int compareTo​(java.lang.Object o)
        Specified by:
        compareTo in interface java.lang.Comparable<java.lang.Object>
      • getTotalTargetQty

        public java.lang.Double getTotalTargetQty()
      • getAccountNumber

        public java.lang.String getAccountNumber()
      • setAccountNumber

        public void setAccountNumber​(java.lang.String accountNumber)
      • setLotContainer

        public void setLotContainer​(LotContainer lotContainer)
      • getBatchInfo

        public java.lang.String getBatchInfo()
      • getComment

        public java.lang.String getComment()
      • getJob

        public java.lang.String getJob()
      • getQuantityStr

        public java.lang.Double getQuantityStr()
      • getTotalTargetQuantityStr

        public java.lang.String getTotalTargetQuantityStr()
      • getGrossWeight

        public java.lang.Double getGrossWeight()
      • getReceiptGrossWeight

        public java.lang.Double getReceiptGrossWeight()
      • getTotalContainerTare

        public java.lang.Double getTotalContainerTare()
      • getConvertedQuantity

        public java.lang.Double getConvertedQuantity()
      • setConvertedQuantity

        public void setConvertedQuantity​(java.lang.Double convertedQuantity)
      • getContainer

        public Container getContainer()
      • getContainerCount

        public java.lang.Integer getContainerCount()
      • setPallet

        public void setPallet​(Container pallet)
      • setContainer

        public void setContainer​(Container container)
      • setContainerCount

        public void setContainerCount​(java.lang.Integer containerCount)
      • getTotalTare

        public java.lang.Double getTotalTare()
      • getReceiptCost

        public java.lang.Double getReceiptCost()
      • getWithdrawnFlag

        public java.io.FileInputStream getWithdrawnFlag()
      • setWithdrawnFlag

        public void setWithdrawnFlag​(java.lang.Boolean withdrawnFlag)
      • getOriginalQty

        public java.lang.Double getOriginalQty()
      • setOriginalQty

        public void setOriginalQty​(java.lang.Double originalQty)
      • getOldNewQtyDifference

        public java.lang.Double getOldNewQtyDifference()
      • getBulkCount

        public java.lang.Double getBulkCount()
      • setBulkCount

        public void setBulkCount​(java.lang.Double bulkCount)
      • getTotalPackWeight

        public java.lang.Double getTotalPackWeight()
      • setTotalPackWeight

        public void setTotalPackWeight​(java.lang.Double totalPackWeight)
      • getStockLocation

        public Location getStockLocation()
      • setStockLocation

        public void setStockLocation​(Location stockLocation)
      • getSourceStepID

        public java.lang.Integer getSourceStepID()
      • setSourceStepID

        public void setSourceStepID​(java.lang.Integer sourceStepID)
      • getBagId

        public java.lang.Integer getBagId()
      • setBagId

        public void setBagId​(java.lang.Integer bagId)
      • getJobLink

        public Job getJobLink()
      • setJobLink

        public void setJobLink​(Job jobLink)
      • setTargetStock

        public void setTargetStock​(StockLocation targetStock)
      • setCycleCountRun

        public void setCycleCountRun​(CycleCountRun cycleCountRun)
      • getAdjustmentQty

        public java.lang.Double getAdjustmentQty()
      • setAdjustmentQty

        public void setAdjustmentQty​(java.lang.Double adjustmentQty)
      • setTransferLine

        public void setTransferLine​(TransferLine transferLine)
      • getTargetQty

        public java.lang.Double getTargetQty()
      • setTargetQty

        public void setTargetQty​(java.lang.Double targetQty)
      • getOldDate

        public java.util.Date getOldDate()
      • setOldDate

        public void setOldDate​(java.util.Date oldDate)
      • getCommodity

        public Commodity getCommodity()
      • setCommodity

        public void setCommodity​(Commodity commodity)
      • setContainerLink

        public void setContainerLink​(ContainerLink containerLink)
      • getComments

        public java.lang.String getComments()
      • setComments

        public void setComments​(java.lang.String comments)
      • getCustomLotNumber

        public java.lang.String getCustomLotNumber()
      • setCustomLotNumber

        public void setCustomLotNumber​(java.lang.String customLotNumber)
      • getReferenceNo

        public java.lang.String getReferenceNo()
      • setReferenceNo

        public void setReferenceNo​(java.lang.String referenceNo)
      • getAdviceNote

        public java.lang.String getAdviceNote()
      • setAdviceNote

        public void setAdviceNote​(java.lang.String adviceNote)
      • setPurchaseOrder

        public void setPurchaseOrder​(PurchaseOrder purchaseOrder)
      • getDriverName

        public java.lang.String getDriverName()
      • setDriverName

        public void setDriverName​(java.lang.String driverName)
      • getDriverId

        public java.lang.String getDriverId()
      • setDriverId

        public void setDriverId​(java.lang.String driverId)
      • getReasonCode

        public java.lang.String getReasonCode()
      • setReasonCode

        public void setReasonCode​(java.lang.String reasonCode)
      • getStepQuantity

        public java.lang.Double getStepQuantity()
      • setStepQuantity

        public void setStepQuantity​(java.lang.Double stepQuantity)
      • getTargetLocation

        public Location getTargetLocation()
      • setTargetLocation

        public void setTargetLocation​(Location targetLocation)
      • getDeliveryNumber

        public java.lang.Integer getDeliveryNumber()
      • setDeliveryNumber

        public void setDeliveryNumber​(java.lang.Integer deliveryNumber)
      • getTimestampSimpleTime

        public java.lang.String getTimestampSimpleTime()
      • getFirstPartJobNumber

        public java.lang.String getFirstPartJobNumber()
      • get116FormattedQty

        public java.lang.String get116FormattedQty()
      • getMethod

        public java.lang.String getMethod()
      • setMethod

        public void setMethod​(java.lang.String method)
      • getCommodityTargetQty

        public java.lang.Double getCommodityTargetQty()
      • setCommodityTargetQty

        public void setCommodityTargetQty​(java.lang.Double commodityTargetQty)