public void newGR() {
   editGR = new GoodsReceipt();
   editGR.setPostingDate(CalendarUtils.getDateTimeInstance().getTime());
   editGR.setWarehouseCode(warehouseCode);
   selectedMaterialGroupID = Long.valueOf(-1);
   selectedMaterialID = Long.valueOf(-1);
   selectedPoID = Long.valueOf(-1);
   storageLocation = "-1";
   // selectedGRType = GRType.PO.getID();
   selectedGRType = "-1";
   grItemList.clear();
   fakeItemNo = 0;
   newGRItem();
   isGrSaved = false;
   selectedBudgetItem = null;
   selectedBudgetItemID = Long.valueOf(-1);
 }