package org.apache.jsp;

import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import org.apache.jasper.runtime.*;
import java.util.*;
import java.sql.*;
import org.apache.log4j.Category;
import jp.co.sint.database.*;
import jp.co.sint.basic.*;
import jp.co.sint.tools.*;
import jp.co.sint.config.*;
import jp.co.sint.beans.mallmgr.*;

public class man_ship_move_jsp extends HttpJspBase {


  private static java.util.Vector _jspx_includes;

  static {
    _jspx_includes = new java.util.Vector(2);
    _jspx_includes.add("/mallmgr/cmdty/../../include/man_chk_login_inc.jsp");
    _jspx_includes.add("/mallmgr/cmdty/../../include/man_result_inc.jsp");
  }

  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isFalse_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_response_sendRedirect;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_actionErrors;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_datetime_format_pattern;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_datetime_currentTime_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_notEmpty_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_isTrue_value;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siselect_space_name_default_collection_nobody;
  private org.apache.jasper.runtime.TagHandlerPool _jspx_tagPool_webshop_siiterator_type_id_collection;

  public man_ship_move_jsp() {
    _jspx_tagPool_webshop_isFalse_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_response_sendRedirect = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_actionErrors = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_datetime_format_pattern = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_datetime_currentTime_nobody = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_notEmpty_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_isTrue_value = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siselect_space_name_default_collection_nobody = new org.apache.jasper.runtime.TagHandlerPool();
    _jspx_tagPool_webshop_siiterator_type_id_collection = new org.apache.jasper.runtime.TagHandlerPool();
  }

  public java.util.List getIncludes() {
    return _jspx_includes;
  }

  public void _jspDestroy() {
    _jspx_tagPool_webshop_isFalse_value.release();
    _jspx_tagPool_response_sendRedirect.release();
    _jspx_tagPool_webshop_actionErrors.release();
    _jspx_tagPool_datetime_format_pattern.release();
    _jspx_tagPool_datetime_currentTime_nobody.release();
    _jspx_tagPool_webshop_notEmpty_value.release();
    _jspx_tagPool_webshop_isTrue_value.release();
    _jspx_tagPool_webshop_siselect_space_name_default_collection_nobody.release();
    _jspx_tagPool_webshop_siiterator_type_id_collection.release();
  }

  public void _jspService(HttpServletRequest request, HttpServletResponse response)
        throws java.io.IOException, ServletException {

    JspFactory _jspxFactory = null;
    javax.servlet.jsp.PageContext pageContext = null;
    HttpSession session = null;
    ServletContext application = null;
    ServletConfig config = null;
    JspWriter out = null;
    Object page = this;
    JspWriter _jspx_out = null;


    try {
      _jspxFactory = JspFactory.getDefaultFactory();
      response.setContentType("text/html;charset=MS932");
      pageContext = _jspxFactory.getPageContext(this, request, response,
      			"../../util/error.jsp", true, 8192, true);
      application = pageContext.getServletContext();
      config = pageContext.getServletConfig();
      session = pageContext.getSession();
      out = pageContext.getOut();
      _jspx_out = out;

      out.write("\r\n");

/**
 * Copyright (c) 2003-2006 System Integrator Corporation.
 *                 All Rights Reserved.
 * @version $Id : mallmgr/cmdty/man_ship_history.jsp,v 1.0 2006/11/06 Exp $
 * @author      : Naotaka Ohsugi
 * @Description : 在庫まとめて移動画面
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * Naotaka Ohsugi 2006/11/06  Original
 */

      out.write("\r\n");
/**タグのセクション*/
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
/**エラー遷移先の定義のセクション*/
      out.write("\r\n");
      out.write("\r\n");
/**クラスのインポートのセクション*/
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
      out.write("\r\n");
/**ユーザーログイン情報のチェックのセクション*/
      out.write("\r\n");

/**
 * Copyright (c) 2003-2004 System Integrator Corporation.
 *                 All Rights Reserved.
 * @version $Id : include/man_chk_login_inc.jsp,v 1.0 2003/10/01 Exp $
 * @author      : Jinwang Chen
 * @Description : 管理画面に管理者がログインでかどうかをチェックします。
 *                 ログインしなければ、自動的に管理のトップログイン画面への遷移
 * @History
 * Author         Date        Reason
 * ============   ==========  ===========================
 * J.W.Chen       2003/10/01  Original
 */

      out.write("\r\n\r\n");
      out.write("\r\n");
      out.write("\r\n\r\n");
SILogin manLogin=SIHTMLUtil.getLogin(request);
      out.write("\r\n");
//7.3.0 ST2022 修正 ここから
      out.write("\r\n");
      out.write("\r\n");
      /* ----  webshop:isFalse ---- */
      jp.co.sint.taglib.SIIsFalseTag _jspx_th_webshop_isFalse_0 = (jp.co.sint.taglib.SIIsFalseTag) _jspx_tagPool_webshop_isFalse_value.get(jp.co.sint.taglib.SIIsFalseTag.class);
      _jspx_th_webshop_isFalse_0.setPageContext(pageContext);
      _jspx_th_webshop_isFalse_0.setParent(null);
      _jspx_th_webshop_isFalse_0.setValue(manLogin.isLogin(request));
      int _jspx_eval_webshop_isFalse_0 = _jspx_th_webshop_isFalse_0.doStartTag();
      if (_jspx_eval_webshop_isFalse_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n");
//7.3.0 ST2022 修正 ここまで
          out.write("\r\n");
if (!SIConfig.SIWEBSHOP_MAN_DEVELOPING) {
          out.write("\r\n  ");
          /* ----  response:sendRedirect ---- */
          org.apache.taglibs.response.SendRedirectTag _jspx_th_response_sendRedirect_0 = (org.apache.taglibs.response.SendRedirectTag) _jspx_tagPool_response_sendRedirect.get(org.apache.taglibs.response.SendRedirectTag.class);
          _jspx_th_response_sendRedirect_0.setPageContext(pageContext);
          _jspx_th_response_sendRedirect_0.setParent(_jspx_th_webshop_isFalse_0);
          int _jspx_eval_response_sendRedirect_0 = _jspx_th_response_sendRedirect_0.doStartTag();
          if (_jspx_eval_response_sendRedirect_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
            if (_jspx_eval_response_sendRedirect_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
              javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
              out = _bc;
              _jspx_th_response_sendRedirect_0.setBodyContent(_bc);
              _jspx_th_response_sendRedirect_0.doInitBody();
            }
            do {
              out.print(SIURLMap.getHttpsUrl(request,"webshop.jsp.manager.login"));
              int evalDoAfterBody = _jspx_th_response_sendRedirect_0.doAfterBody();
              if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
                break;
            } while (true);
            if (_jspx_eval_response_sendRedirect_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
              out = pageContext.popBody();
          }
          if (_jspx_th_response_sendRedirect_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
            return;
          _jspx_tagPool_response_sendRedirect.reuse(_jspx_th_response_sendRedirect_0);
//7.1.1 ST0174 修正
          out.write("\r\n");
}
          out.write("\r\n");
//7.3.0 ST2022 修正 ここから
          out.write("\r\n");
          out.write("\r\n");
          int evalDoAfterBody = _jspx_th_webshop_isFalse_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isFalse_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isFalse_value.reuse(_jspx_th_webshop_isFalse_0);
      out.write("\r\n");
//7.3.0 ST2022 修正 ここまで
      out.write("\r\n");
      out.write("\r\n");

//トップサイトの設定
String webshopSite=SIHTMLUtil.getRootPath(request);

//ログ用のインスタンスの生成
Category log=Category.getInstance(SIConfig.SILOG4J_WEBSHOP_CATEGORY_NAME);

SIHTMLUtil.initRequest(request,SIConfig.SISESSION_MAN_SHIP_HISTORY_NAME);
UIStockHistory stockHistoryID=(UIStockHistory)session.getAttribute(SIConfig.SISESSION_MAN_SHIP_HISTORY_NAME);
if (stockHistoryID==null) stockHistoryID = new UIStockHistory();

//データベースへのコネンクション
SIDatabaseConnection databaseConnection=new SIDatabaseConnection();try{
Connection lConnection=databaseConnection.getConnection();

//リストの取得
Collection stockColl=stockHistoryID.getStockCollection(lConnection);
Collection branchColl=SIDBUtil.getCollection(lConnection,"SELECT branchname,branchcode FROM branchtbl ORDER BY branchcode ASC",false,true);
Collection chargeColl=SIDBUtil.getCollection(lConnection,"SELECT chargename,chargecode FROM chargetbl WHERE enableflg=1 ORDER BY chargecode ASC",false,true);

stockHistoryID.setFlg(lConnection,false);
int spaceNum=18;

      out.write("\r\n");
      out.write("<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01 Transitional//EN\">\r\n");
      out.write("<html LANG=\"ja-JP\">\r\n");
      out.write("<head>\r\n");
      out.write("<meta http-equiv=\"Content-Type\" content=\"text/html; charset=Shift_JIS\">\r\n");
      out.write("<meta http-equiv=\"Content-Script-Type\" content=\"text/javascript\">\r\n");
      out.write("<meta http-equiv=\"Content-Style-Type\" content=\"text/css\">\r\n");
      out.write("<title>在庫まとめて移動");
      out.write("</title>\r\n");
      out.write("<link href=\"");
      out.print(webshopSite);
      out.write("/style/SuperCSS.css\" rel=\"stylesheet\" type=\"text/css\">\r\n");
      out.write("<script language=\"javascript1.2\" type=\"text/javascript\" SRC=\"");
      out.print(webshopSite);
      out.write("/script/SIAppCommon.js\">");
      out.write("</script>\r\n");
      out.write("<script language=\"javascript\" type=\"text/javascript\">\r\n");
      out.write("<!--\r\nfunction loadAction(){\r\n  with (window.opener.document.forms[0]){\r\n    action.value='");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.manager.stock.control"));
      out.write("';\r\n    actionNameTxt.value='");
      out.print(SIConfig.SIACTION_REFRESH);
      out.write("';\r\n    submit();\r\n  }\r\n}\r\n//-->\r\n");
      out.write("</script>\r\n");
      out.write("</head>\r\n");
      out.write("<body onload=\"loadAction()\">\r\n");
      out.write("<form name=\"webshopFrm\" action=\"");
      out.print(SIURLMap.getHttpsUrl(request,"webshop.servlet.manager.stock.control"));
      out.write("\" method=\"post\">\r\n");
      out.write("<table width=\"400\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" summary=\"LayoutTable\">\r\n  ");
      out.write("<tr>");
      out.write("<td colspan=\"2\" class=\"Back_Edit_HeaderBG\">\r\n");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/WS_Title800.gif\" alt=\"Title\" width=\"410\" height=\"30\">");
      out.write("</td>");
      out.write("</tr>\r\n  ");
      out.write("<tr>\r\n    ");
      out.write("<td width=\"400\" valign=\"top\" class=\"Back_Edit_ScreenBG\">\r\n      ");
      out.write("<span class=\"Back_Edit_TitleText\">在庫まとめて移動");
      out.write("</span>\r\n      ");
      out.write("<br>");
      out.write("<br>\r\n      ");
      out.write("<span class=\"Text_ErrorMessage\">\r\n      ");
      out.write("<ul>\r\n      ");
      if (_jspx_meth_webshop_actionErrors_0(pageContext))
        return;
      out.write("\r\n      ");
      out.write("</ul>\r\n      ");
      out.write("  ");
      /* ----  webshop:notEmpty ---- */
      jp.co.sint.taglib.SINotEmptyTag _jspx_th_webshop_notEmpty_0 = (jp.co.sint.taglib.SINotEmptyTag) _jspx_tagPool_webshop_notEmpty_value.get(jp.co.sint.taglib.SINotEmptyTag.class);
      _jspx_th_webshop_notEmpty_0.setPageContext(pageContext);
      _jspx_th_webshop_notEmpty_0.setParent(null);
      _jspx_th_webshop_notEmpty_0.setValue((String)request.getAttribute(SIConfig.SIMESSAGE_ATTRIBUTE_RESULT_NAME));
      int _jspx_eval_webshop_notEmpty_0 = _jspx_th_webshop_notEmpty_0.doStartTag();
      if (_jspx_eval_webshop_notEmpty_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("\r\n    ");
          out.write("<span class=\"Text_Red_Small_Bold\">");
          out.print((String)request.getAttribute(SIConfig.SIMESSAGE_ATTRIBUTE_RESULT_NAME));
          out.write("\r\n    ");
          out.write("<br>(");
          if (_jspx_meth_datetime_format_1(_jspx_th_webshop_notEmpty_0, pageContext))
            return;
          out.write(")\r\n    ");
          out.write("<br>");
          out.write("<br>");
          out.write("</span>\r\n  ");
          int evalDoAfterBody = _jspx_th_webshop_notEmpty_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_notEmpty_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_notEmpty_value.reuse(_jspx_th_webshop_notEmpty_0);
      out.write("\r\n      ");
      out.write("</span>\r\n      ");
      out.write("<table width=\"380\">\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td valign=\"top\" colspan=\"2\">\r\n            ");
      out.write("<table width=\"380\">\r\n              ");
      out.write("<tr>\r\n                ");
      out.write("<td align=\"left\">");
      out.write("<span class=\"Text_Blue_Normal_Bold\">【商品情報】");
      out.write("</span>");
      out.write("</td>\r\n              ");
      out.write("</tr>\r\n            ");
      out.write("</table>\r\n            ");
      out.write("<table width=\"380\" border=\"0\" cellpadding=\"1\" cellspacing=\"1\" class=\"Back_Edit_TableBorder\">\r\n              ");
      out.write("<tr class=\"Back_Edit_HeaderCell\">\r\n                ");
      out.write("<td width= \"80\">在庫コード");
      out.write("</td>\r\n                ");
      out.write("<td width=\"200\">商品名");
      out.write("</td>\r\n                ");
      out.write("<td width=\"100\">販売状況");
      out.write("</td>\r\n              ");
      out.write("</tr>\r\n              ");
      out.write("<tr class=\"Back_Edit_DataCell\">\r\n                ");
      out.write("<td>");
      out.print(SIHTMLUtil.HTMLEncode(stockHistoryID.getIndividualCode()));
      out.write("</td>\r\n                ");
      out.write("<td>");
      out.print(SIBGUtil.getCmdtyFullName(lConnection,stockHistoryID.getCmdtyCode(),stockHistoryID.getIndividualCode()));
      out.write("</td>\r\n                ");
      out.write("<td>\r\n                  ");
String lSituation = SIBGUtil.getSalesSituation(lConnection,stockHistoryID.getCmdtyCode(),stockHistoryID.getIndividualCode());
      out.write("\r\n                  ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_0 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_0.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_0.setParent(null);
      _jspx_th_webshop_isTrue_0.setValue(lSituation.equals("none"));
      int _jspx_eval_webshop_isTrue_0 = _jspx_th_webshop_isTrue_0.doStartTag();
      if (_jspx_eval_webshop_isTrue_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("フロント非表示");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_0.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_0);
      out.write("\r\n                  ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_1 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_1.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_1.setParent(null);
      _jspx_th_webshop_isTrue_1.setValue(lSituation.equals("cart"));
      int _jspx_eval_webshop_isTrue_1 = _jspx_th_webshop_isTrue_1.doStartTag();
      if (_jspx_eval_webshop_isTrue_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("カート");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_1.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_1);
      out.write("\r\n                  ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_2 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_2.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_2.setParent(null);
      _jspx_th_webshop_isTrue_2.setValue(lSituation.equals("reserve"));
      int _jspx_eval_webshop_isTrue_2 = _jspx_th_webshop_isTrue_2.doStartTag();
      if (_jspx_eval_webshop_isTrue_2 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("予約");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_2.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_2.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_2);
      out.write("\r\n                  ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_3 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_3.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_3.setParent(null);
      _jspx_th_webshop_isTrue_3.setValue(lSituation.equals("inquiry"));
      int _jspx_eval_webshop_isTrue_3 = _jspx_th_webshop_isTrue_3.doStartTag();
      if (_jspx_eval_webshop_isTrue_3 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("お問い合わせ");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_3.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_3.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_3);
      out.write("\r\n                  ");
      /* ----  webshop:isTrue ---- */
      jp.co.sint.taglib.SIIsTrueTag _jspx_th_webshop_isTrue_4 = (jp.co.sint.taglib.SIIsTrueTag) _jspx_tagPool_webshop_isTrue_value.get(jp.co.sint.taglib.SIIsTrueTag.class);
      _jspx_th_webshop_isTrue_4.setPageContext(pageContext);
      _jspx_th_webshop_isTrue_4.setParent(null);
      _jspx_th_webshop_isTrue_4.setValue(lSituation.equals("soldout"));
      int _jspx_eval_webshop_isTrue_4 = _jspx_th_webshop_isTrue_4.doStartTag();
      if (_jspx_eval_webshop_isTrue_4 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        do {
          out.write("SOLD OUT");
          int evalDoAfterBody = _jspx_th_webshop_isTrue_4.doAfterBody();
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_isTrue_4.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_isTrue_value.reuse(_jspx_th_webshop_isTrue_4);
      out.write("\r\n                ");
      out.write("</td>\r\n              ");
      out.write("</tr>\r\n            ");
      out.write("</table>\r\n            ");
      out.write("<br>\r\n          ");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td width=\"235\" valign=\"top\">\r\n            ");
      out.write("<table width=\"130\">\r\n              ");
      out.write("<tr>\r\n                ");
      out.write("<td align=\"left\">");
      out.write("<span class=\"Text_Blue_Normal_Bold\">【在庫移動設定】");
      out.write("</span>");
      out.write("</td>\r\n              ");
      out.write("</tr>\r\n            ");
      out.write("</table>\r\n            ");
      out.write("<table width=\"235\" border=\"0\" cellpadding=\"1\" cellspacing=\"1\" class=\"Back_Edit_TableBorder\">\r\n              ");
      out.write("<tr class=\"Back_Edit_HeaderCell\">\r\n                ");
      out.write("<td width= \"80\" nowraps>出庫支店");
      out.write("</td>\r\n                ");
      out.write("<td width=\"100\" nowraps>出庫担当者");
      out.write("</td>\r\n                ");
      out.write("<td width= \"55\" nowraps>出庫数");
      out.write("</td>\r\n              ");
      out.write("</tr>\r\n              ");
      out.write("<tr class=\"Back_Edit_DataCell\">\r\n                ");
      out.write("<td>");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_0 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_space_name_default_collection_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_0.setPageContext(pageContext);
      _jspx_th_webshop_siselect_0.setParent(null);
      _jspx_th_webshop_siselect_0.setName("moveBranchFrom");
      _jspx_th_webshop_siselect_0.setDefault(stockHistoryID.getMoveBranchFrom());
      _jspx_th_webshop_siselect_0.setCollection(branchColl);
      _jspx_th_webshop_siselect_0.setSpace(spaceNum);
      int _jspx_eval_webshop_siselect_0 = _jspx_th_webshop_siselect_0.doStartTag();
      if (_jspx_th_webshop_siselect_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_space_name_default_collection_nobody.reuse(_jspx_th_webshop_siselect_0);
      out.write("</td>\r\n                ");
      out.write("<td>");
      /* ----  webshop:siselect ---- */
      jp.co.sint.taglib.SISelect _jspx_th_webshop_siselect_1 = (jp.co.sint.taglib.SISelect) _jspx_tagPool_webshop_siselect_space_name_default_collection_nobody.get(jp.co.sint.taglib.SISelect.class);
      _jspx_th_webshop_siselect_1.setPageContext(pageContext);
      _jspx_th_webshop_siselect_1.setParent(null);
      _jspx_th_webshop_siselect_1.setName("moveCharge");
      _jspx_th_webshop_siselect_1.setDefault(stockHistoryID.getMoveCharge());
      _jspx_th_webshop_siselect_1.setCollection(chargeColl);
      _jspx_th_webshop_siselect_1.setSpace(spaceNum);
      int _jspx_eval_webshop_siselect_1 = _jspx_th_webshop_siselect_1.doStartTag();
      if (_jspx_th_webshop_siselect_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siselect_space_name_default_collection_nobody.reuse(_jspx_th_webshop_siselect_1);
      out.write("</td>\r\n                ");
      out.write("<td>");
      out.write("<input type=\"text\" name=\"moveAmount\" class=\"Form_TextBox_imeInactive_Right\" value=\"");
      out.print(stockHistoryID.getMoveAmount());
      out.write("\" size=\"7\" maxlength=\"6\">");
      out.write("</td>\r\n              ");
      out.write("</tr>\r\n            ");
      out.write("</table>\r\n            ");
      out.write("<br>\r\n            ");
      out.write("<table width=\"130\">\r\n              ");
      out.write("<tr>\r\n                ");
      out.write("<td align=\"left\">");
      out.write("<span class=\"Text_Blue_Normal_Bold\">【在庫情報】");
      out.write("</span>");
      out.write("</td>\r\n              ");
      out.write("</tr>\r\n            ");
      out.write("</table>\r\n            ");
      out.write("<table width=\"130\" border=\"0\" cellpadding=\"1\" cellspacing=\"1\" class=\"Back_Edit_TableBorder\">\r\n              ");
      out.write("<tr class=\"Back_Edit_HeaderCell\">\r\n                ");
      out.write("<td width=\"60\">支店名");
      out.write("</td>\r\n                ");
      out.write("<td width=\"35\" align=\"center\">帳簿");
      out.write("</td>\r\n                ");
      out.write("<td width=\"35\" align=\"center\">EC");
      out.write("</td>\r\n              ");
      out.write("</tr>\r\n              ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_0 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_0.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_0.setParent(null);
      _jspx_th_webshop_siiterator_0.setId("stockID");
      _jspx_th_webshop_siiterator_0.setType("jp.co.sint.basic.SIStoreStock");
      _jspx_th_webshop_siiterator_0.setCollection(stockColl);
      int _jspx_eval_webshop_siiterator_0 = _jspx_th_webshop_siiterator_0.doStartTag();
      if (_jspx_eval_webshop_siiterator_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SIStoreStock stockID = null;
        stockID = (jp.co.sint.basic.SIStoreStock) pageContext.findAttribute("stockID");
        do {
          out.write("\r\n              ");
          out.write("<tr class=\"Back_Edit_DataCell\">\r\n                ");
          out.write("<td>");
          out.print(SIHTMLUtil.HTMLEncode(stockID.getBranchName()));
          out.write("</td>\r\n                ");
          out.write("<td align=\"right\">");
          out.print(SIHTMLUtil.HTMLEncode(stockID.getTotal()));
          out.write("</td>\r\n                ");
          out.write("<td align=\"right\">");
          out.print(SIHTMLUtil.HTMLEncode(stockID.getAmount()));
          out.write("</td>\r\n              ");
          out.write("</tr>\r\n              ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_0.doAfterBody();
          stockID = (jp.co.sint.basic.SIStoreStock) pageContext.findAttribute("stockID");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_0);
      out.write("\r\n            ");
      out.write("</table>\r\n          ");
      out.write("</td>\r\n          ");
      out.write("<td width=\"125\" valign=\"top\">\r\n            ");
      out.write("<table width=\"125\" border=\"0\" cellpadding=\"1\" cellspacing=\"1\" class=\"Back_Edit_TableBorder\">\r\n              ");
      out.write("<tr class=\"Back_Edit_HeaderCell\">\r\n                ");
      out.write("<td width=\"70\">入庫支店");
      out.write("</td>\r\n                ");
      out.write("<td width=\"55\">入庫数");
      out.write("</td>\r\n              ");
      out.write("</tr>\r\n              ");
int index=0; String value="";
      out.write("\r\n              ");
      /* ----  webshop:siiterator ---- */
      jp.co.sint.taglib.SIIteratorTag _jspx_th_webshop_siiterator_1 = (jp.co.sint.taglib.SIIteratorTag) _jspx_tagPool_webshop_siiterator_type_id_collection.get(jp.co.sint.taglib.SIIteratorTag.class);
      _jspx_th_webshop_siiterator_1.setPageContext(pageContext);
      _jspx_th_webshop_siiterator_1.setParent(null);
      _jspx_th_webshop_siiterator_1.setId("stockID2");
      _jspx_th_webshop_siiterator_1.setType("jp.co.sint.basic.SIStoreStock");
      _jspx_th_webshop_siiterator_1.setCollection(stockColl);
      int _jspx_eval_webshop_siiterator_1 = _jspx_th_webshop_siiterator_1.doStartTag();
      if (_jspx_eval_webshop_siiterator_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
        jp.co.sint.basic.SIStoreStock stockID2 = null;
        stockID2 = (jp.co.sint.basic.SIStoreStock) pageContext.findAttribute("stockID2");
        do {
          out.write("\r\n              ");
if(stockHistoryID.getMoveAmountList()!=null&&!stockHistoryID.getMoveAmountList()[index].equals("0")) value=stockHistoryID.getMoveAmountList()[index]; else value="";
          out.write("\r\n              ");
          out.write("<tr class=\"Back_Edit_DataCell\">\r\n                ");
          out.write("<td>");
          out.print(SIHTMLUtil.HTMLEncode(stockID2.getBranchName()));
          out.write("<input type=\"hidden\" name=\"moveBranchToList\" value=\"");
          out.print(stockID2.getBranchCode());
          out.write("\">");
          out.write("</td>\r\n                ");
          out.write("<td>");
          out.write("<input type=\"text\" name=\"moveAmountList\" class=\"Form_TextBox_imeInactive_Right\" value=\"");
          out.print(value);
          out.write("\" size=\"7\" maxlength=\"6\">");
          out.write("</td>\r\n              ");
          out.write("</tr>\r\n              ");
index++;
          out.write("\r\n              ");
          int evalDoAfterBody = _jspx_th_webshop_siiterator_1.doAfterBody();
          stockID2 = (jp.co.sint.basic.SIStoreStock) pageContext.findAttribute("stockID2");
          if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
            break;
        } while (true);
      }
      if (_jspx_th_webshop_siiterator_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
        return;
      _jspx_tagPool_webshop_siiterator_type_id_collection.reuse(_jspx_th_webshop_siiterator_1);
      out.write("\r\n            ");
      out.write("</table>\r\n            ");
      out.write("<br>\r\n          ");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n        ");
      out.write("<tr>\r\n          ");
      out.write("<td colspan=\"2\">\r\n            ");
      out.write("<table width=\"360\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\" summary=\"ボタン配置\">\r\n              ");
      out.write("<tr>\r\n                ");
      out.write("<td width=\"170\" align=\"right\">");
      out.write("<a href=\"javascript:sendAction('");
      out.print(SIConfig.SIACTION_MOVE2);
      out.write("')\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/btn_L_Decide.gif\" alt=\"確定\" width=\"125\" height=\"30\" class=\"imgBtn\">");
      out.write("</a>");
      out.write("</td>\r\n                ");
      out.write("<td width=\"20\">\r\n                ");
      out.write("<td width=\"170\" align=\"left\">");
      out.write("<a href=\"javascript:close()\">");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/btn_L_Close.gif\" alt=\"閉じる\" width=\"125\" height=\"30\" class=\"imgBtn\">");
      out.write("</a>");
      out.write("</td>\r\n              ");
      out.write("</tr>\r\n            ");
      out.write("</table>\r\n          ");
      out.write("</td>\r\n        ");
      out.write("</tr>\r\n      ");
      out.write("</table>\r\n    ");
      out.write("</td>\r\n  ");
      out.write("</tr>\r\n  ");
      out.write("<tr>");
      out.write("<td class=\"Back_Edit_FooterBG\">\r\n");
      out.write("<img src=\"");
      out.print(webshopSite);
      out.write("/image/mallmgr/WS_Footer800.gif\" alt=\"Footer\" width=\"410\" height=\"20\">");
      out.write("</td>");
      out.write("</tr>\r\n");
      out.write("</table>\r\n");
      out.write("<input type=\"hidden\" name=\"cmdtyCode\" value=\"");
      out.print(stockHistoryID.getCmdtyCode());
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"individualCode\" value=\"");
      out.print(stockHistoryID.getIndividualCode());
      out.write("\">\r\n");
      out.write("<input type=\"hidden\" name=\"actionNameTxt\" value=\"\">\r\n");
      out.write("</form>\r\n");
      out.write("</body>\r\n");
      out.write("</html>\r\n");

}catch(Exception e){
  e.printStackTrace();
  throw new ServletException();
}finally{
  databaseConnection.close();
}

    } catch (Throwable t) {
      out = _jspx_out;
      if (out != null && out.getBufferSize() != 0)
        out.clearBuffer();
      if (pageContext != null) pageContext.handlePageException(t);
    } finally {
      if (_jspxFactory != null) _jspxFactory.releasePageContext(pageContext);
    }
  }

  private boolean _jspx_meth_webshop_actionErrors_0(javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  webshop:actionErrors ---- */
    jp.co.sint.taglib.SIActionErrorsTag _jspx_th_webshop_actionErrors_0 = (jp.co.sint.taglib.SIActionErrorsTag) _jspx_tagPool_webshop_actionErrors.get(jp.co.sint.taglib.SIActionErrorsTag.class);
    _jspx_th_webshop_actionErrors_0.setPageContext(pageContext);
    _jspx_th_webshop_actionErrors_0.setParent(null);
    int _jspx_eval_webshop_actionErrors_0 = _jspx_th_webshop_actionErrors_0.doStartTag();
    if (_jspx_eval_webshop_actionErrors_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_eval_webshop_actionErrors_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
        out = _bc;
        _jspx_th_webshop_actionErrors_0.setBodyContent(_bc);
        _jspx_th_webshop_actionErrors_0.doInitBody();
      }
      do {
        out.write("\r\n      下記のメッセージの発生日時は、");
        if (_jspx_meth_datetime_format_0(_jspx_th_webshop_actionErrors_0, pageContext))
          return true;
        out.write("です。\r\n      ");
        int evalDoAfterBody = _jspx_th_webshop_actionErrors_0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
      if (_jspx_eval_webshop_actionErrors_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
        out = pageContext.popBody();
    }
    if (_jspx_th_webshop_actionErrors_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_webshop_actionErrors.reuse(_jspx_th_webshop_actionErrors_0);
    return false;
  }

  private boolean _jspx_meth_datetime_format_0(javax.servlet.jsp.tagext.Tag _jspx_th_webshop_actionErrors_0, javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  datetime:format ---- */
    org.apache.taglibs.datetime.FormatTag _jspx_th_datetime_format_0 = (org.apache.taglibs.datetime.FormatTag) _jspx_tagPool_datetime_format_pattern.get(org.apache.taglibs.datetime.FormatTag.class);
    _jspx_th_datetime_format_0.setPageContext(pageContext);
    _jspx_th_datetime_format_0.setParent(_jspx_th_webshop_actionErrors_0);
    _jspx_th_datetime_format_0.setPattern("yyyy/MM/dd HH:mm:ss");
    int _jspx_eval_datetime_format_0 = _jspx_th_datetime_format_0.doStartTag();
    if (_jspx_eval_datetime_format_0 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_eval_datetime_format_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
        out = _bc;
        _jspx_th_datetime_format_0.setBodyContent(_bc);
        _jspx_th_datetime_format_0.doInitBody();
      }
      do {
        if (_jspx_meth_datetime_currentTime_0(_jspx_th_datetime_format_0, pageContext))
          return true;
        int evalDoAfterBody = _jspx_th_datetime_format_0.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
      if (_jspx_eval_datetime_format_0 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
        out = pageContext.popBody();
    }
    if (_jspx_th_datetime_format_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_datetime_format_pattern.reuse(_jspx_th_datetime_format_0);
    return false;
  }

  private boolean _jspx_meth_datetime_currentTime_0(javax.servlet.jsp.tagext.Tag _jspx_th_datetime_format_0, javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  datetime:currentTime ---- */
    org.apache.taglibs.datetime.CurrentTimeTag _jspx_th_datetime_currentTime_0 = (org.apache.taglibs.datetime.CurrentTimeTag) _jspx_tagPool_datetime_currentTime_nobody.get(org.apache.taglibs.datetime.CurrentTimeTag.class);
    _jspx_th_datetime_currentTime_0.setPageContext(pageContext);
    _jspx_th_datetime_currentTime_0.setParent(_jspx_th_datetime_format_0);
    int _jspx_eval_datetime_currentTime_0 = _jspx_th_datetime_currentTime_0.doStartTag();
    if (_jspx_th_datetime_currentTime_0.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_datetime_currentTime_nobody.reuse(_jspx_th_datetime_currentTime_0);
    return false;
  }

  private boolean _jspx_meth_datetime_format_1(javax.servlet.jsp.tagext.Tag _jspx_th_webshop_notEmpty_0, javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  datetime:format ---- */
    org.apache.taglibs.datetime.FormatTag _jspx_th_datetime_format_1 = (org.apache.taglibs.datetime.FormatTag) _jspx_tagPool_datetime_format_pattern.get(org.apache.taglibs.datetime.FormatTag.class);
    _jspx_th_datetime_format_1.setPageContext(pageContext);
    _jspx_th_datetime_format_1.setParent(_jspx_th_webshop_notEmpty_0);
    _jspx_th_datetime_format_1.setPattern("yyyy/MM/dd HH:mm:ss");
    int _jspx_eval_datetime_format_1 = _jspx_th_datetime_format_1.doStartTag();
    if (_jspx_eval_datetime_format_1 != javax.servlet.jsp.tagext.Tag.SKIP_BODY) {
      if (_jspx_eval_datetime_format_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE) {
        javax.servlet.jsp.tagext.BodyContent _bc = pageContext.pushBody();
        out = _bc;
        _jspx_th_datetime_format_1.setBodyContent(_bc);
        _jspx_th_datetime_format_1.doInitBody();
      }
      do {
        if (_jspx_meth_datetime_currentTime_1(_jspx_th_datetime_format_1, pageContext))
          return true;
        int evalDoAfterBody = _jspx_th_datetime_format_1.doAfterBody();
        if (evalDoAfterBody != javax.servlet.jsp.tagext.BodyTag.EVAL_BODY_AGAIN)
          break;
      } while (true);
      if (_jspx_eval_datetime_format_1 != javax.servlet.jsp.tagext.Tag.EVAL_BODY_INCLUDE)
        out = pageContext.popBody();
    }
    if (_jspx_th_datetime_format_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_datetime_format_pattern.reuse(_jspx_th_datetime_format_1);
    return false;
  }

  private boolean _jspx_meth_datetime_currentTime_1(javax.servlet.jsp.tagext.Tag _jspx_th_datetime_format_1, javax.servlet.jsp.PageContext pageContext)
          throws Throwable {
    JspWriter out = pageContext.getOut();
    /* ----  datetime:currentTime ---- */
    org.apache.taglibs.datetime.CurrentTimeTag _jspx_th_datetime_currentTime_1 = (org.apache.taglibs.datetime.CurrentTimeTag) _jspx_tagPool_datetime_currentTime_nobody.get(org.apache.taglibs.datetime.CurrentTimeTag.class);
    _jspx_th_datetime_currentTime_1.setPageContext(pageContext);
    _jspx_th_datetime_currentTime_1.setParent(_jspx_th_datetime_format_1);
    int _jspx_eval_datetime_currentTime_1 = _jspx_th_datetime_currentTime_1.doStartTag();
    if (_jspx_th_datetime_currentTime_1.doEndTag() == javax.servlet.jsp.tagext.Tag.SKIP_PAGE)
      return true;
    _jspx_tagPool_datetime_currentTime_nobody.reuse(_jspx_th_datetime_currentTime_1);
    return false;
  }
}
