if (ServiceUtil.isError(shipmentPackageResult)) {
throw new GeneralException(ServiceUtil.getErrorMessage(shipmentPackageResult));
}
}
}
<BUG>protected void changeOrderItemStatus(String orderId, String shipmentId) throws GeneralException {
List<GenericValue> shipmentItems = this.getDelegator().findByAnd("ShipmentItem", UtilMisc.toMap("shipmentId", shipmentId));</BUG>
for (GenericValue shipmentItem : shipmentItems) {
for (WeightPackageSessionLine packedLine : this.getPackedLines(orderId)) {
packedLine.setShipmentItemSeqId(shipmentItem.getString("shipmentItemSeqId"));

if (ServiceUtil.isError(shipmentPackageResult)) {
throw new GeneralException(ServiceUtil.getErrorMessage(shipmentPackageResult));
}
}
}
protected void changeOrderItemStatus(String orderId) throws GeneralException {
List<GenericValue> shipmentItems = this.getDelegator().findByAnd("ShipmentItem", UtilMisc.toMap("shipmentId", shipmentId));
for (GenericValue shipmentItem : shipmentItems) {
for (WeightPackageSessionLine packedLine : this.getPackedLines(orderId)) {
packedLine.setShipmentItemSeqId(shipmentItem.getString("shipmentItemSeqId"));
