Package org.apache.ofbiz.shipment.verify
Class VerifyPickSession
java.lang.Object
org.apache.ofbiz.shipment.verify.VerifyPickSession
- All Implemented Interfaces:
Serializable
The type Verify pick session.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
checkLine
(List<VerifyPickSessionRow> processedRows, VerifyPickSessionRow pickrow) Check line boolean.protected void
checkReservedQty
(String orderId, Locale locale) Check reserved qty.protected int
checkRowForAdd
(GenericValue reservation, String orderId, String orderItemSeqId, String shipGroupSeqId, String productId, BigDecimal quantity) Check row for add int.protected void
checkVerifiedQty
(String orderId, Locale locale) Check verified qty.void
Clear all rows.Complete string.void
createRow
(String orderId, String orderItemSeqId, String shipGroupSeqId, String productId, String originGeoId, BigDecimal quantity, Locale locale) Create row.protected String
Create shipment string.protected void
createVerifyPickRow
(int checkCode, GenericValue res, String orderId, String orderItemSeqId, String shipGroupSeqId, String productId, String originGeoId, BigDecimal quantity, Locale locale) Create verify pick row.protected String
findOrderItemSeqId
(String productId, String orderId, String shipGroupSeqId, BigDecimal quantity, Locale locale) Find order item seq id string.Gets delegator.Gets dispatcher.Gets facility id.Gets picklist bin id.getPickRow
(String orderId, String orderItemSeqId, String shipGroupSeqId, String productId, String inventoryItemId) Gets pick row.Gets pick rows.getPickRows
(String orderId) Gets pick rows.getReadyToVerifyQuantity
(String orderId, String orderSeqId) Gets ready to verify quantity.getReservedQty
(String orderId, String orderItemSeqId, String shipGroupSeqId) Gets reserved qty.Gets user login.getVerifiedQuantity
(String orderId, String orderItemSeqId, String shipGroupSeqId, String productId, String inventoryItemId) Gets verified quantity.protected void
issueItemsToShipment
(String shipmentId, Locale locale) Issue items to shipment.void
setFacilityId
(String facilityId) Sets facility id.void
setPicklistBinId
(String setPicklistBinId) Sets picklist bin id.protected void
Update product.
-
Constructor Details
-
VerifyPickSession
public VerifyPickSession() -
VerifyPickSession
-
-
Method Details
-
getDispatcher
Gets dispatcher.- Returns:
- the dispatcher
-
getDelegator
Gets delegator.- Returns:
- the delegator
-
createRow
public void createRow(String orderId, String orderItemSeqId, String shipGroupSeqId, String productId, String originGeoId, BigDecimal quantity, Locale locale) throws GeneralException Create row.- Parameters:
orderId
- the order idorderItemSeqId
- the order item seq idshipGroupSeqId
- the ship group seq idproductId
- the product idoriginGeoId
- the origin geo idquantity
- the quantitylocale
- the locale- Throws:
GeneralException
- the general exception
-
findOrderItemSeqId
protected String findOrderItemSeqId(String productId, String orderId, String shipGroupSeqId, BigDecimal quantity, Locale locale) throws GeneralException Find order item seq id string.- Parameters:
productId
- the product idorderId
- the order idshipGroupSeqId
- the ship group seq idquantity
- the quantitylocale
- the locale- Returns:
- the string
- Throws:
GeneralException
- the general exception
-
checkRowForAdd
protected int checkRowForAdd(GenericValue reservation, String orderId, String orderItemSeqId, String shipGroupSeqId, String productId, BigDecimal quantity) Check row for add int.- Parameters:
reservation
- the reservationorderId
- the order idorderItemSeqId
- the order item seq idshipGroupSeqId
- the ship group seq idproductId
- the product idquantity
- the quantity- Returns:
- the int
-
createVerifyPickRow
protected void createVerifyPickRow(int checkCode, GenericValue res, String orderId, String orderItemSeqId, String shipGroupSeqId, String productId, String originGeoId, BigDecimal quantity, Locale locale) throws GeneralException Create verify pick row.- Parameters:
checkCode
- the check coderes
- the resorderId
- the order idorderItemSeqId
- the order item seq idshipGroupSeqId
- the ship group seq idproductId
- the product idoriginGeoId
- the origin geo idquantity
- the quantitylocale
- the locale- Throws:
GeneralException
- the general exception
-
getUserLogin
Gets user login.- Returns:
- the user login
-
setFacilityId
Sets facility id.- Parameters:
facilityId
- the facility id
-
getFacilityId
Gets facility id.- Returns:
- the facility id
-
setPicklistBinId
Sets picklist bin id.- Parameters:
setPicklistBinId
- the set picklist bin id
-
getPicklistBinId
Gets picklist bin id.- Returns:
- the picklist bin id
-
getPickRows
Gets pick rows.- Returns:
- the pick rows
-
getPickRows
Gets pick rows.- Parameters:
orderId
- the order id- Returns:
- the pick rows
-
getReadyToVerifyQuantity
public BigDecimal getReadyToVerifyQuantity(String orderId, String orderSeqId) throws GeneralException Gets ready to verify quantity.- Parameters:
orderId
- the order idorderSeqId
- the order seq id- Returns:
- the ready to verify quantity
- Throws:
GeneralException
- the general exception
-
getPickRow
public VerifyPickSessionRow getPickRow(String orderId, String orderItemSeqId, String shipGroupSeqId, String productId, String inventoryItemId) Gets pick row.- Parameters:
orderId
- the order idorderItemSeqId
- the order item seq idshipGroupSeqId
- the ship group seq idproductId
- the product idinventoryItemId
- the inventory item id- Returns:
- the pick row
-
getVerifiedQuantity
public BigDecimal getVerifiedQuantity(String orderId, String orderItemSeqId, String shipGroupSeqId, String productId, String inventoryItemId) Gets verified quantity.- Parameters:
orderId
- the order idorderItemSeqId
- the order item seq idshipGroupSeqId
- the ship group seq idproductId
- the product idinventoryItemId
- the inventory item id- Returns:
- the verified quantity
-
clearAllRows
public void clearAllRows()Clear all rows. -
complete
Complete string.- Parameters:
orderId
- the order idlocale
- the locale- Returns:
- the string
- Throws:
GeneralException
- the general exception
-
checkReservedQty
Check reserved qty.- Parameters:
orderId
- the order idlocale
- the locale- Throws:
GeneralException
- the general exception
-
getReservedQty
Gets reserved qty.- Parameters:
orderId
- the order idorderItemSeqId
- the order item seq idshipGroupSeqId
- the ship group seq id- Returns:
- the reserved qty
-
checkVerifiedQty
Check verified qty.- Parameters:
orderId
- the order idlocale
- the locale- Throws:
GeneralException
- the general exception
-
issueItemsToShipment
Issue items to shipment.- Parameters:
shipmentId
- the shipment idlocale
- the locale- Throws:
GeneralException
- the general exception
-
checkLine
Check line boolean.- Parameters:
processedRows
- the processed rowspickrow
- the pickrow- Returns:
- the boolean
-
createShipment
Create shipment string.- Parameters:
line
- the line- Returns:
- the string
- Throws:
GeneralException
- the general exception
-
updateProduct
Update product.- Throws:
GeneralException
- the general exception
-