Class SalesOrderLine


  • public class SalesOrderLine
    extends HibernateObject
    This class represents Sales Order Lines The lines make up the contents of a sales order
    Author:
    SGSystems
    • Field Detail

      • salesOrder

        public SalesOrder salesOrder
        The sales order that the line belongs to
      • commodity

        public Commodity commodity
        The commodity to be shipped on this sales order line
      • quantity

        public double quantity
        The quantity to be shipped
      • deleted

        public java.util.Date deleted
        A deletion timestamp
      • price

        public java.lang.Double price
        The price for this line item
      • notes

        public java.lang.String notes
        Any notes for this line item
      • expectedDelivery

        public java.util.Date expectedDelivery
        An expected delivery date for this line
      • qtyAllocated

        public java.lang.Double qtyAllocated
        The quantity allocated to an order of this line
      • lineId

        public java.lang.String lineId
        An advanced method of uniquely identifying a SalesOrderLine Using a unique LineID this can be the Primary Key instead of sales order + commodity, should there be greater than 1 commodity of the same type with greater than 1 order line on the same order
      • qtyShipped

        public double qtyShipped
        The quantity that has been shipped on this line
      • customerPartNo

        @Deprecated
        public java.lang.String customerPartNo
        Deprecated.
        An external customer part number for this order line. Replaced with SupplierCommodity
    • Constructor Detail

      • SalesOrderLine

        public SalesOrderLine()
    • Method Detail

      • getSalesOrder

        public SalesOrder getSalesOrder()
      • getCommodity

        public Commodity getCommodity()
      • getQuantity

        public double getQuantity()
      • getDeleted

        public java.util.Date getDeleted()
      • getPrice

        public java.lang.Double getPrice()
      • getNotes

        public java.lang.String getNotes()
      • setSalesOrder

        public void setSalesOrder​(SalesOrder salesOrder)
      • setCommodity

        public void setCommodity​(Commodity commodity)
      • setQuantity

        public void setQuantity​(double quantity)
      • setDeleted

        public void setDeleted​(java.util.Date deleted)
      • setPrice

        public void setPrice​(java.lang.Double price)
      • setNotes

        public void setNotes​(java.lang.String notes)
      • getQuantityAllocated

        public java.lang.Double getQuantityAllocated()
      • getLogs

        public java.util.List<SalesLog> getLogs()
      • setLogs

        public void setLogs​(java.util.List<SalesLog> logs)
      • addLog

        public void addLog​(SalesLog log)
      • getLineId

        public java.lang.String getLineId()
      • setLineId

        public void setLineId​(java.lang.String lineId)
      • getTotalPrice

        public java.lang.Double getTotalPrice()
      • getQtyShipped

        public java.lang.Double getQtyShipped()
      • setQtyShipped

        public void setQtyShipped​(java.lang.Double qtyShipped)
      • getQtyFulfilled

        public double getQtyFulfilled()
      • setQtyFulfilled

        public void setQtyFulfilled​(double qtyFulfilled)
      • getQtyScheduled

        public double getQtyScheduled()
      • setQtyScheduled

        public void setQtyScheduled​(double qtyScheduled)
      • getExpectedDelivery

        public java.util.Date getExpectedDelivery()
      • setExpectedDelivery

        public void setExpectedDelivery​(java.util.Date expectedDelivery)
      • getQtyToSchedule

        public double getQtyToSchedule()
      • setQtyToSchedule

        public void setQtyToSchedule​(double qtyToSchedule)
      • getWaveAllocated

        public double getWaveAllocated()
      • setWaveAllocated

        public void setWaveAllocated​(double waveAllocated)
      • getCustomerPartNo

        public java.lang.String getCustomerPartNo()
      • setCustomerPartNo

        public void setCustomerPartNo​(java.lang.String customerPartNo)
      • setSupplierCommodity

        public void setSupplierCommodity​(SupplierCommodity supplierCommodity)