Class PurchaseOrderLine


  • public class PurchaseOrderLine
    extends HibernateObject
    This class represents a line of a purchase order
    Author:
    SGSystems
    • Field Detail

      • purchaseOrder

        public PurchaseOrder purchaseOrder
        The purchase order that this line belongs to
      • commodity

        public Commodity commodity
        The commodity to be received on this purchase order line
      • quantity

        public java.lang.Double quantity
        The quantity to be received for this line
      • deleted

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

        public java.lang.Double cost
        The cost of this line
      • logs

        public java.util.List<SystemLog> logs
        A list of system logs associated with this line
      • pallet

        public Container pallet
        The pallet on which this line is received
      • container

        public Container container
        The container in which this line is received
      • containerCount

        public java.lang.Integer containerCount
        The number of containers for this line
      • palletTare

        public java.lang.Double palletTare
        The tare of the pallet
      • lineId

        public java.lang.String lineId
        For advanced purposes where the same commodity may appear on multiple lines, you can specify a LineID as a unique identifier instead of SalesOrder+Commodity Code
      • supplierPartNo

        public java.lang.String supplierPartNo
        The supplier part number for the goods to be received
      • expectedDelivery

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

        public java.lang.String lineReference
        A custom reference that can be set against the line item
      • site

        public Site site
        The Site that the Purchase Order Line is going to.
    • Constructor Detail

      • PurchaseOrderLine

        public PurchaseOrderLine()
    • Method Detail

      • getCommodity

        public Commodity getCommodity()
      • getQuantity

        public java.lang.Double getQuantity()
      • getDeleted

        public java.util.Date getDeleted()
      • getCost

        public java.lang.Double getCost()
      • setPurchaseOrder

        public void setPurchaseOrder​(PurchaseOrder purchaseOrder)
      • setCommodity

        public void setCommodity​(Commodity commodity)
      • setQuantity

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

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

        public void setCost​(java.lang.Double cost)
      • setUnit

        public void setUnit​(WeightUnit unit)
      • setLogs

        public void setLogs​(java.util.List<SystemLog> poLogs)
      • getLogs

        public java.util.List<SystemLog> getLogs()
      • getQuantityAllocated

        public java.lang.Double getQuantityAllocated()
      • addLogs

        public void addLogs​(java.util.List<SystemLog> logs)
      • 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)
      • getPalletTare

        public java.lang.Double getPalletTare()
      • setPalletTare

        public void setPalletTare​(java.lang.Double palletTare)
      • getTotalCost

        public java.lang.Double getTotalCost()
      • getLineId

        public java.lang.String getLineId()
      • setLineId

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

        public java.lang.String getSupplierPartNo()
      • setSupplierPartNo

        public void setSupplierPartNo​(java.lang.String supplierPartNo)
      • getExpectedDelivery

        public java.util.Date getExpectedDelivery()
      • setExpectedDelivery

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

        public java.lang.String getLineReference()
      • setLineReference

        public void setLineReference​(java.lang.String lineReference)
      • getSite

        public Site getSite()
      • setSite

        public void setSite​(Site site)
      • getBulkQuantity

        public java.lang.String getBulkQuantity()
      • setBulkQuantity

        public void setBulkQuantity​(java.lang.Double bulkQty)