Package com.sgs.common.database
Class LotContainer
- java.lang.Object
-
- com.sgs.common.database.HibernateObject
-
- com.sgs.common.database.LotContainer
-
public class LotContainer extends HibernateObject
This class defines a sub-division of a StockLocation The best example of this would be if inventory is received as LOT 123 but it is received in 5 different bottles, all with different weights, we would use LotContainers to track these stock sub-divisions This differs fromContainer
in that containers may have multiple different lots contained within them, whereas LotContainers pertain to only one lot- Author:
- SGSystems
-
-
Field Summary
Fields Modifier and Type Field Description Batch
batch
double
convertedQty
The unit converted quantity from the PO line rather than the stocking itemint
num
A numeric sequence of the LotContainer for a given stock lotdouble
quantity
The quantity in this LotContainerboolean
selected
StockLocation
stock
The stock that this LotContainer pertains todouble
tareWeight
The tare weight of the LotContainerdouble
weightReceived
The weight received for this LotContainer-
Fields inherited from class com.sgs.common.database.HibernateObject
ID
-
-
Constructor Summary
Constructors Constructor Description LotContainer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Batch
getBatch()
double
getConvertedQty()
int
getNum()
double
getQuantity()
StockLocation
getStock()
double
getTareWeight()
double
getWeightReceived()
boolean
isSelected()
void
setBatch(Batch batch)
void
setConvertedQty(double convertedQty)
void
setNum(int num)
void
setQuantity(double quantity)
void
setSelected(boolean selected)
void
setStock(StockLocation stock)
void
setTareWeight(double tareWeight)
void
setWeightReceived(double weightReceived)
-
Methods inherited from class com.sgs.common.database.HibernateObject
getExported, getID, isDontSave, isModified, setDontSave, setExported, setID, setModified
-
-
-
-
Field Detail
-
num
public int num
A numeric sequence of the LotContainer for a given stock lot
-
stock
public StockLocation stock
The stock that this LotContainer pertains to
-
quantity
public double quantity
The quantity in this LotContainer
-
weightReceived
public double weightReceived
The weight received for this LotContainer
-
tareWeight
public double tareWeight
The tare weight of the LotContainer
-
convertedQty
public double convertedQty
The unit converted quantity from the PO line rather than the stocking item
-
selected
public boolean selected
-
batch
public Batch batch
-
-
Method Detail
-
getNum
public int getNum()
-
getStock
public StockLocation getStock()
-
getQuantity
public double getQuantity()
-
setNum
public void setNum(int num)
-
setStock
public void setStock(StockLocation stock)
-
setQuantity
public void setQuantity(double quantity)
-
getWeightReceived
public double getWeightReceived()
-
setWeightReceived
public void setWeightReceived(double weightReceived)
-
getTareWeight
public double getTareWeight()
-
setTareWeight
public void setTareWeight(double tareWeight)
-
getConvertedQty
public double getConvertedQty()
-
setConvertedQty
public void setConvertedQty(double convertedQty)
-
isSelected
public boolean isSelected()
-
setSelected
public void setSelected(boolean selected)
-
getBatch
public Batch getBatch()
-
setBatch
public void setBatch(Batch batch)
-
-