hanhwa_nexacro/client/nexacro-src/forms/frmUploadValidation.xfdl

75 lines
4.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<FDL version="2.1">
<Form id="frmUploadValidation" titletext="업로드/검증" width="1440" height="900" onload="Form_onload">
<Objects>
<Dataset id="dsUploadBatches">
<ColumnInfo>
<Column id="id" type="INT" size="256"/>
<Column id="templateCode" type="STRING" size="256"/>
<Column id="fiscalPeriod" type="STRING" size="256"/>
<Column id="statusCode" type="STRING" size="256"/>
<Column id="originalFilename" type="STRING" size="256"/>
<Column id="rowCount" type="INT" size="256"/>
<Column id="errorCount" type="INT" size="256"/>
<Column id="uploadedAt" type="STRING" size="256"/>
</ColumnInfo>
</Dataset>
<Dataset id="dsIssues">
<ColumnInfo>
<Column id="rowNumber" type="INT" size="256"/>
<Column id="issueCode" type="STRING" size="256"/>
<Column id="issueMessage" type="STRING" size="256"/>
<Column id="severityCode" type="STRING" size="256"/>
</ColumnInfo>
</Dataset>
</Objects>
<Script type="xscript5.1"><![CDATA[
this.gfnApiBase = function()
{
return application.g_apiBase || "/api";
};
this.gfnBuildTransactionUrl = function(path)
{
return this.gfnApiBase() + path;
};
this.gfnShowMessage = function(message)
{
trace(message);
};
this.Form_onload = function(obj, e)
{
this.gfnShowMessage("업로드/검증 loaded");
};
this.txLoadUploadOverview = function(obj, e)
{
this.gfnShowMessage("txLoadUploadOverview -> /api/tx/uploads/overview");
};
this.actUpload = function(obj, e)
{
this.gfnShowMessage("파일 업로드");
};
]]></Script>
<Combo id="cboTemplate" taborder="0" left="36" top="108" width="220" height="38" codecolumn="code" datacolumn="label"/>
<Edit id="edtFiscalPeriod" taborder="1" left="274" top="108" width="140" height="38" displaynulltext="회계기간 (YYYY-MM)"/>
<FileUpload id="fileUpload" taborder="2" left="432" top="108" width="480" height="38"/>
<Button id="btnUpload" taborder="3" left="930" top="108" width="140" height="38" text="파일 업로드"/>
<Button id="btnReloadUploads" taborder="4" left="1086" top="108" width="140" height="38" text="내역 새로고침"/>
<Static id="sta_grdUploadBatches" taborder="0" left="36" top="148" width="1368" height="24" text="업로드 이력"/>
<Grid id="grdUploadBatches" taborder="1" left="36" top="176" width="1368" height="270" binddataset="dsUploadBatches">
<Formats><Format id="default"><Columns><Column size="171"/><Column size="171"/><Column size="171"/><Column size="171"/><Column size="171"/><Column size="171"/><Column size="171"/><Column size="171"/></Columns><Rows><Row size="32" band="head"/><Row size="28"/></Rows><Band id="head"><Cell col="0" text="배치ID"/><Cell col="1" text="템플릿"/><Cell col="2" text="회계기간"/><Cell col="3" text="상태"/><Cell col="4" text="파일명"/><Cell col="5" text="건수"/><Cell col="6" text="오류건수"/><Cell col="7" text="업로드시각"/></Band><Band id="body"><Cell col="0" text="bind:id"/><Cell col="1" text="bind:templateCode"/><Cell col="2" text="bind:fiscalPeriod"/><Cell col="3" text="bind:statusCode"/><Cell col="4" text="bind:originalFilename"/><Cell col="5" text="bind:rowCount"/><Cell col="6" text="bind:errorCount"/><Cell col="7" text="bind:uploadedAt"/></Band></Format></Formats>
</Grid>
<Static id="sta_grdIssues" taborder="0" left="36" top="458" width="1368" height="24" text="오류내역"/>
<Grid id="grdIssues" taborder="1" left="36" top="486" width="1368" height="300" binddataset="dsIssues">
<Formats><Format id="default"><Columns><Column size="342"/><Column size="342"/><Column size="342"/><Column size="342"/></Columns><Rows><Row size="32" band="head"/><Row size="28"/></Rows><Band id="head"><Cell col="0" text="행번호"/><Cell col="1" text="오류코드"/><Cell col="2" text="오류메시지"/><Cell col="3" text="등급"/></Band><Band id="body"><Cell col="0" text="bind:rowNumber"/><Cell col="1" text="bind:issueCode"/><Cell col="2" text="bind:issueMessage"/><Cell col="3" text="bind:severityCode"/></Band></Format></Formats>
</Grid>
<Layouts>
<Layout width="1440" height="900" screenid="Desktop_screen"/>
</Layouts>
</Form>
</FDL>