public String execute() throws Exception {
		setMenuActive("5");
		
		Map<String, Object> constraints = new HashMap<String, Object>();
		constraints.put(ProductPriceService.PAGE_SIZE, getPageSize());
		if (inventory!=null) {
			if (page!=null) {
				int pageResult = page.getPageResult();
				int ctrTotal = 0;
				if (StringUtils.isNotEmpty(pageType)) {
					if (pageType.equals(Constants.PAGE_TYPE_PREVIOUS)) {
						ctrTotal = pageResult-getPageSize();
					} else if (pageType.equals(Constants.PAGE_TYPE_NEXT)) {
						ctrTotal = pageResult+getPageSize();
					}
				}
				constraints.put(ProductPriceService.PAGE_NUM, ctrTotal);
				if (StringUtils.isNotEmpty(inventory.getProductName())) {
					constraints.put(InventoryService.PRODUCT_NAME, inventory.getProductName());
				}
				if (StringUtils.isNotEmpty(category)) {
					constraints.put(InventoryService.CATEGORY, category);
				}
				if (StringUtils.isNotEmpty(operatorTotal) && StringUtils.isNotEmpty(total)) {
					constraints.put(InventoryService.OPERATOR_TOTAL, operatorTotal);
					constraints.put(InventoryService.TOTAL_QUANTITY, Integer.parseInt(total));
				}
			} else {
				constraints.put(InventoryService.PAGE_NUM, 0);
			}
		} else {
			constraints.put(InventoryService.PAGE_NUM, 0);
		}
		
		page = inventoryService.viewInventoryLogs(constraints);
		setOperatorTotal("");
		
		return SUCCESS;
	}