<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root
	xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:og="hybs-taglib.tld"
	version="2.0">
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" />

<og:head headType="result" />
<jsp:directive.include file="/jsp/custom/result_info.jsp" />
<og:comment
	system   = "GE:エンジンサンプル"
	pgid     = "GE7003"
	title    = "ﾌｧｲﾙﾚｲｱｳﾄﾃｰﾌﾞﾙ"
	date     = "2017/06/27"
	author   = "K.HASEGAWA"
	text     = "ZZZZ"
	version  = "001"
/>

<!-- ワーニングメッセージです。ここでは、登録完了のメッセージを表示します。 -->
<og:errorMessage command="{@command}" clear="{@clear}" displayMsg="{@displayMsg}" />

<og:columnCheck
	command   = "{@command}"
	columns   = "*"
/>

<!-- 取り消しボタンが押された時に必要です。 -->
<og:entry command = "{@command}" />

<og:query command="{@command}" debug="{@debug}" maxRowCount="{@maxRowCount}" >
		select	SYSTEM_ID , TORIID , NAME_LAY , SEQNO , CLM , NAME_JA , KBTYPE
				 , START_POS , USE_LENGTH , CNST_VAL
				 , CHKRES , CHKNULL , FGNBREAK , FGNSKIP , FGOMIT , FGUSE
				 , RELEASE_NOTES , RDC_CODE , DYUPD , USRUPD , FGJ , UNIQ
		from GE72
	<og:where>
		<og:and value = "SYSTEM_ID	=		'{@SYSTEM_ID}'"		/>
		<og:and value = "TORIID		like	'{@TORIID}'"		/>
		<og:and value = "NAME_LAY	like	'{@NAME_LAY}'"		/>
		<og:and value = "CLM		like	'{@CLM}'"			/>
		<og:and value = "NAME_JA	like	'{@NAME_JA}'"		/>
		<og:and value = "KBTYPE		=		'{@KBTYPE}'"		/>
		<jsp:directive.include file="/jsp/custom/releaseNotesWhere.jsp" />
	</og:where>
	<og:appear startKey = "order by" value = "{@ORDER_BY}"
				defaultVal = "SYSTEM_ID,SEQNO" />
</og:query>

<form onSubmit="return oneClick();" method="POST" action="forward.jsp" target="RESULT">
	<og:writeCheck>
		<og:input name="repeatCount" value="1" lbl="" td="false" size="2"/>
		<og:submit  action="COPY"    noWritable="null" />
		<og:submit  action="MODIFY"  noWritable="SYSTEM_ID,TORIID,CLM"  />
		<og:submit  action="DELETE"  columnWritable="null" />
		<br />
	</og:writeCheck>

	<og:columnEditor columns="CNST_VAL" clazz="W100" />
	<og:columnEditor columns="SYSTEM_ID,TORIID,SEQNO,CLM,KBTYPE,START_POS,CHKRES,CHKNULL,FGNBREAK,FGNSKIP,FGOMIT,FGUSE" must="true" />

	<og:view
		viewFormType = "HTMLTable"
		command 	= "{@command}"
		noDisplay	= "UNIQ"
		checked 	= "{@checked}"
		startNo 	= "{@startNo}"
		pageSize	= "{@pageSize}" />
</form>

<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
