Class Transfer


  • public class Transfer
    extends HibernateObject
    This class details a Transfer order between locations or facilities Transfers can be used to schedule stock movements
    Author:
    SGSystems
    • Field Detail

      • reference

        public java.lang.String reference
        *Primary Key* This is the unique reference number for the Transfer
      • fromAddress

        public Address fromAddress
        The Address where the goods will be departing
      • toAddress

        public Address toAddress
        The Address where the goods will be arriving
      • fromLocation

        public Location fromLocation
        The production location from which the goods will be departing
      • toLocation

        public Location toLocation
        The production location to which the goods will arrive
      • createdDate

        public java.util.Date createdDate
        The date this transfer order was created
      • shipmentDate

        public java.util.Date shipmentDate
        The date this order was shipped
      • postingDate

        public java.util.Date postingDate
        The date that this order posted
      • comment

        public java.lang.String comment
        Any additional comments for the transfer order
      • trailer

        public Trailer trailer
        The trailer (to be/which this order was) transferred on
      • transferLines

        public java.util.List<TransferLine> transferLines
        The Transfer lines associated with this transfer
      • directTransfer

        public int directTransfer
        Boolean signal whether the order should directly ship and receive in one action. Useful if no receipt tablet is present at destination facility
      • externalID

        public java.lang.String externalID
        The External ID used by third party application
      • createdBy

        public User createdBy
        The User who created this Transfer
      • deliveryDate

        public java.util.Date deliveryDate
    • Constructor Detail

      • Transfer

        public Transfer()
    • Method Detail

      • getReference

        public java.lang.String getReference()
      • setReference

        public void setReference​(java.lang.String reference)
      • getFromLocation

        public Location getFromLocation()
      • setFromLocation

        public void setFromLocation​(Location fromLocation)
      • getToLocation

        public Location getToLocation()
      • setToLocation

        public void setToLocation​(Location toLocation)
      • getCreatedDate

        public java.util.Date getCreatedDate()
      • setCreatedDate

        public void setCreatedDate​(java.util.Date createdDate)
      • getShipmentDate

        public java.util.Date getShipmentDate()
      • setShipmentDate

        public void setShipmentDate​(java.util.Date shipmentDate)
      • getPostingDate

        public java.util.Date getPostingDate()
      • setPostingDate

        public void setPostingDate​(java.util.Date postingDate)
      • getStatus

        public int getStatus()
      • setStatus

        public void setStatus​(int status)
      • getComment

        public java.lang.String getComment()
      • setComment

        public void setComment​(java.lang.String comment)
      • getFromAddress

        public Address getFromAddress()
      • setFromAddress

        public void setFromAddress​(Address fromAddress)
      • getToAddress

        public Address getToAddress()
      • setToAddress

        public void setToAddress​(Address toAddress)
      • isSelected

        public boolean isSelected()
      • setSelected

        public void setSelected​(boolean selected)
      • getTrailer

        public Trailer getTrailer()
      • setTrailer

        public void setTrailer​(Trailer trailer)
      • getTransferLines

        public java.util.List<TransferLine> getTransferLines()
      • setTransferLines

        public void setTransferLines​(java.util.List<TransferLine> transferLines)
      • getDirectTransfer

        public int getDirectTransfer()
      • setDirectTransfer

        public void setDirectTransfer​(int directTransfer)
      • getExternalID

        public java.lang.String getExternalID()
      • setExternalID

        public void setExternalID​(java.lang.String externalID)
      • getCreatedBy

        public User getCreatedBy()
      • setCreatedBy

        public void setCreatedBy​(User createdBy)
      • getDeliveryDate

        public java.util.Date getDeliveryDate()
      • setDeliveryDate

        public void setDeliveryDate​(java.util.Date deliveryDate)