Package org.apache.ofbiz.shipment.verify
Class VerifyPickSession
- java.lang.Object
-
- org.apache.ofbiz.shipment.verify.VerifyPickSession
-
- All Implemented Interfaces:
java.io.Serializable
public class VerifyPickSession extends java.lang.Object implements java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected java.lang.String
delegatorName
protected java.lang.String
dispatcherName
protected java.lang.String
facilityId
static java.lang.String
module
protected java.lang.String
picklistBinId
protected java.util.List<VerifyPickSessionRow>
pickRows
protected GenericValue
userLogin
-
Constructor Summary
Constructors Constructor Description VerifyPickSession()
VerifyPickSession(LocalDispatcher dispatcher, GenericValue userLogin)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
checkLine(java.util.List<VerifyPickSessionRow> processedRows, VerifyPickSessionRow pickrow)
protected void
checkReservedQty(java.lang.String orderId, java.util.Locale locale)
protected int
checkRowForAdd(GenericValue reservation, java.lang.String orderId, java.lang.String orderItemSeqId, java.lang.String shipGroupSeqId, java.lang.String productId, java.math.BigDecimal quantity)
protected void
checkVerifiedQty(java.lang.String orderId, java.util.Locale locale)
void
clearAllRows()
java.lang.String
complete(java.lang.String orderId, java.util.Locale locale)
void
createRow(java.lang.String orderId, java.lang.String orderItemSeqId, java.lang.String shipGroupSeqId, java.lang.String productId, java.lang.String originGeoId, java.math.BigDecimal quantity, java.util.Locale locale)
protected java.lang.String
createShipment(VerifyPickSessionRow line)
protected void
createVerifyPickRow(int checkCode, GenericValue res, java.lang.String orderId, java.lang.String orderItemSeqId, java.lang.String shipGroupSeqId, java.lang.String productId, java.lang.String originGeoId, java.math.BigDecimal quantity, java.util.Locale locale)
protected java.lang.String
findOrderItemSeqId(java.lang.String productId, java.lang.String orderId, java.lang.String shipGroupSeqId, java.math.BigDecimal quantity, java.util.Locale locale)
Delegator
getDelegator()
LocalDispatcher
getDispatcher()
java.lang.String
getFacilityId()
java.lang.String
getPicklistBinId()
VerifyPickSessionRow
getPickRow(java.lang.String orderId, java.lang.String orderItemSeqId, java.lang.String shipGroupSeqId, java.lang.String productId, java.lang.String inventoryItemId)
java.util.List<VerifyPickSessionRow>
getPickRows()
java.util.List<VerifyPickSessionRow>
getPickRows(java.lang.String orderId)
java.math.BigDecimal
getReadyToVerifyQuantity(java.lang.String orderId, java.lang.String orderSeqId)
java.math.BigDecimal
getReservedQty(java.lang.String orderId, java.lang.String orderItemSeqId, java.lang.String shipGroupSeqId)
GenericValue
getUserLogin()
java.math.BigDecimal
getVerifiedQuantity(java.lang.String orderId, java.lang.String orderItemSeqId, java.lang.String shipGroupSeqId, java.lang.String productId, java.lang.String inventoryItemId)
protected void
issueItemsToShipment(java.lang.String shipmentId, java.util.Locale locale)
void
setFacilityId(java.lang.String facilityId)
void
setPicklistBinId(java.lang.String setPicklistBinId)
protected void
updateProduct()
-
-
-
Field Detail
-
module
public static final java.lang.String module
-
userLogin
protected GenericValue userLogin
-
dispatcherName
protected java.lang.String dispatcherName
-
delegatorName
protected java.lang.String delegatorName
-
picklistBinId
protected java.lang.String picklistBinId
-
facilityId
protected java.lang.String facilityId
-
pickRows
protected java.util.List<VerifyPickSessionRow> pickRows
-
-
Constructor Detail
-
VerifyPickSession
public VerifyPickSession()
-
VerifyPickSession
public VerifyPickSession(LocalDispatcher dispatcher, GenericValue userLogin)
-
-
Method Detail
-
getDispatcher
public LocalDispatcher getDispatcher()
-
getDelegator
public Delegator getDelegator()
-
createRow
public void createRow(java.lang.String orderId, java.lang.String orderItemSeqId, java.lang.String shipGroupSeqId, java.lang.String productId, java.lang.String originGeoId, java.math.BigDecimal quantity, java.util.Locale locale) throws GeneralException
- Throws:
GeneralException
-
findOrderItemSeqId
protected java.lang.String findOrderItemSeqId(java.lang.String productId, java.lang.String orderId, java.lang.String shipGroupSeqId, java.math.BigDecimal quantity, java.util.Locale locale) throws GeneralException
- Throws:
GeneralException
-
checkRowForAdd
protected int checkRowForAdd(GenericValue reservation, java.lang.String orderId, java.lang.String orderItemSeqId, java.lang.String shipGroupSeqId, java.lang.String productId, java.math.BigDecimal quantity)
-
createVerifyPickRow
protected void createVerifyPickRow(int checkCode, GenericValue res, java.lang.String orderId, java.lang.String orderItemSeqId, java.lang.String shipGroupSeqId, java.lang.String productId, java.lang.String originGeoId, java.math.BigDecimal quantity, java.util.Locale locale) throws GeneralException
- Throws:
GeneralException
-
getUserLogin
public GenericValue getUserLogin()
-
setFacilityId
public void setFacilityId(java.lang.String facilityId)
-
getFacilityId
public java.lang.String getFacilityId()
-
setPicklistBinId
public void setPicklistBinId(java.lang.String setPicklistBinId)
-
getPicklistBinId
public java.lang.String getPicklistBinId()
-
getPickRows
public java.util.List<VerifyPickSessionRow> getPickRows()
-
getPickRows
public java.util.List<VerifyPickSessionRow> getPickRows(java.lang.String orderId)
-
getReadyToVerifyQuantity
public java.math.BigDecimal getReadyToVerifyQuantity(java.lang.String orderId, java.lang.String orderSeqId) throws GeneralException
- Throws:
GeneralException
-
getPickRow
public VerifyPickSessionRow getPickRow(java.lang.String orderId, java.lang.String orderItemSeqId, java.lang.String shipGroupSeqId, java.lang.String productId, java.lang.String inventoryItemId)
-
getVerifiedQuantity
public java.math.BigDecimal getVerifiedQuantity(java.lang.String orderId, java.lang.String orderItemSeqId, java.lang.String shipGroupSeqId, java.lang.String productId, java.lang.String inventoryItemId)
-
clearAllRows
public void clearAllRows()
-
complete
public java.lang.String complete(java.lang.String orderId, java.util.Locale locale) throws GeneralException
- Throws:
GeneralException
-
checkReservedQty
protected void checkReservedQty(java.lang.String orderId, java.util.Locale locale) throws GeneralException
- Throws:
GeneralException
-
getReservedQty
public java.math.BigDecimal getReservedQty(java.lang.String orderId, java.lang.String orderItemSeqId, java.lang.String shipGroupSeqId)
-
checkVerifiedQty
protected void checkVerifiedQty(java.lang.String orderId, java.util.Locale locale) throws GeneralException
- Throws:
GeneralException
-
issueItemsToShipment
protected void issueItemsToShipment(java.lang.String shipmentId, java.util.Locale locale) throws GeneralException
- Throws:
GeneralException
-
checkLine
protected boolean checkLine(java.util.List<VerifyPickSessionRow> processedRows, VerifyPickSessionRow pickrow)
-
createShipment
protected java.lang.String createShipment(VerifyPickSessionRow line) throws GeneralException
- Throws:
GeneralException
-
updateProduct
protected void updateProduct() throws GeneralException
- Throws:
GeneralException
-
-