thePG.updateWithdrawRequisition(withdraw);
if(withdraw.getVerb().equals(Constants.Verb.WITHDRAW)) { thePG.updateWithdrawRequisition(withdraw); } else { thePG.updateWithdrawProjection(withdraw); }
  private void createBestAllocation(Task withdraw, Inventory inv,                                     LogisticsInventoryPG thePG) {    AllocationResult estimatedResult = PluginHelper.      createEstimatedAllocationResult(withdraw, inventoryPlugin.getRootFactory(),                                       0.9, true);    Allocation alloc = inventoryPlugin.getRootFactory().      createAllocation(withdraw.getPlan(), withdraw,                       inv, estimatedResult, myRole);    inventoryPlugin.publishAdd(alloc);    thePG.updateWithdrawRequisition(withdraw);  }