inventory.getScheduleType().equals(ScheduleType.TOTAL_INVENTORY);
inventory.getScheduleType().equals(PlanScheduleType.TOTAL_INVENTORY);
    public static Vector extractOnHandSchedule(UISimpleInventory inventory) {      Vector onHandSchedule=null;      boolean inventoryFlag = 	  inventory.getScheduleType().equals(ScheduleType.TOTAL_INVENTORY);      if (inventoryFlag) {	  UISimpleNamedSchedule tmp =		inventory.getNamedSchedule(UISimpleNamedSchedule.ON_HAND);	    if (tmp != null)		onHandSchedule = tmp.getSchedule();      }      return onHandSchedule;    }