<?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" useAjaxSubmit="true" />
<jsp:directive.include file="/jsp/custom/result_info.jsp" />
<og:comment
	system   = "GE:エンジンサンプル"
	pgid     = "GE0002"
	title    = "画面"
	date     = "2007/12/12"
	author   = "K.HASEGAWA"
	text     = "ZZZZ"
	version  = "001"
>
	5.5.1.5 Takahashi Masakazu BulkSet対応
</og:comment>

<!-- データが選ばれていなければエラー -->
<og:equals val1="{@sysins}" val2="true">
	<og:columnCheck
		checkType = "NEW"
		nullCheck = "SYSTEM_ID">
		<jsp:directive.include file="/jsp/common/history_back.jsp" />
	</og:columnCheck>
</og:equals>

<og:columnCheck command="{@command}">
	<jsp:directive.include file="/jsp/common/history_back.jsp" />
</og:columnCheck>

<og:entry command="{@command}" repeatCount="{@repeatCount}">
	<og:columnSet command="{@command}" columnId="RDC_CODE" action="SET" value="{@USER.RDC_CODE}" />
	<og:columnSet command="COPY"   columnId="KBSAKU"   action="SET" value="1" conditionKey="KBSAKU" conditionList="0" />
	<og:columnSet command="COPY"   columnId="CDKH" action="NULLSET" value="A" />
	<og:columnSet command="MODIFY" columnId="CDKH" action="NULLSET" value="C" />
	<og:columnSet command="DELETE" columnId="CDKH" action="NULLSET" value="D" />

<!--
	<og:columnSet command="COPY" columnId="GUIKEY"    action="ADD" />
	<og:columnSet command="COPY" columnId="ADDRESS"   action="ADD" />
	<og:columnSet command="COPY" columnId="SEQNO"     action="ADD" />
-->
	<og:columnSet command="COPY" columnId="GUIKEY"    action="NULLSET" value="{@MEM.GUIKEY}" />

	<og:columnSet command="COPY" columnId="SYSTEM_ID" action="NULLSET" value="{@MEM.SYSTEM_ID}" />
	<og:equals val1="{@sysins}" val2="true">
		<og:columnSet command="COPY" columnId="SYSTEM_ID" action="SET" value="{@SYSTEM_ID}" />
	</og:equals>
</og:entry>

<og:message command="{@command}" /><br />
<form method="POST" action="forward.jsp" target="RESULT">
<og:writeCheck>
	<og:submit  action="ENTRY" />
	<og:submit  action="RESET" />
	<og:input type="reset"  name="command"  lbl="MSG0011"  td="false" />
	<og:input type="checkbox" name="errRemove" value="true" td="no" />
</og:writeCheck>

<og:view
	viewFormType  = "HTMLTable"
	command       = "{@command}"
	noDisplay     = "UNIQ,CLM,EXIST_GEA08,UNIQ_GEA08,PARENT_NAME"
	columnWritable= "{@columnWritable}"
	noWritable    = "{@noWritable}"
	checked       = "{@checked}"
	startNo       = "{@startNo}"
	pageSize      = "{@pageSize}"
	columnBulkSet = "*" />

<og:hidden name="sqlType" defaultVal="{@command}" value="{@sqlType}" />
<og:hidden name="logicalDelete" value="{@logicalDelete}" />

</form>

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