public void setValues(Map incomingRequest, DisbLine disbline) throws Exception {
   try {
     String icDsbLineString = (String) incomingRequest.get("DisbLine_icDsbLine");
     BigDecimal icDsbLine = new BigDecimal(icDsbLineString);
     disbline.setIcDsbLine(icDsbLine);
   } catch (Exception e) {
     throw e;
   }
 }
 /**
  * Method executeTask.
  *
  * @param object
  *     <p>incomingRequest
  */
 public Object executeTask(Object object) throws Exception {
   Object ret = null;
   try {
     Map incomingRequest = (Map) object;
     InvLocation inventory = (InvLocation) incomingRequest.get("invLocation");
     DisbLine disbLine = (DisbLine) incomingRequest.get("disbLine");
     BigDecimal qtyAlloc = inventory.getQtyAlloc();
     BigDecimal qty = disbLine.getQuantity();
     BigDecimal newAlloc = qtyAlloc.subtract(qty);
     if (newAlloc.compareTo(new BigDecimal(0)) < 1) {
       inventory.setQtyAlloc(new BigDecimal(0));
     } else {
       inventory.setQtyAlloc(newAlloc);
     }
     ret = inventory;
     this.setStatus(Status.SUCCEEDED);
   } catch (Exception e) {
     this.setStatus(Status.FAILED);
     throw new TsaException(this.getName(), e);
   } finally {
     return ret;
   }
 }