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

62 lines
2.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<FDL version="2.0">
<Form id="frmConsolidation" titletext="집계 실행" width="1440" height="900" onload="this.form_onload();">
<Objects>
<Dataset id="dsRuns">
<ColumnInfo>
<Column id="id" type="INT" size="256"/>
<Column id="fiscalPeriod" type="STRING" size="256"/>
<Column id="statusCode" type="STRING" size="256"/>
<Column id="requestedBy" type="STRING" size="256"/>
<Column id="requestedAt" type="STRING" size="256"/>
<Column id="finishedAt" type="STRING" size="256"/>
<Column id="summaryMessage" type="STRING" size="256"/>
</ColumnInfo>
</Dataset>
</Objects>
<Layouts>
<Layout id="default" width="1440" height="900"/>
</Layouts>
<Script><![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()
{
this.gfnShowMessage("집계 실행 loaded");
};
this.txLoadRuns = function()
{
this.gfnShowMessage("txLoadRuns -> /api/tx/consolidations/overview");
};
this.actRunConsolidation = function()
{
this.gfnShowMessage("집계 실행");
};
]]></Script>
<Edit id="edtRunFiscalPeriod" left="36" top="108" width="180" height="38" displaynulltext="회계기간 (YYYY-MM)"/>
<Button id="btnRun" left="236" top="108" width="140" height="38" text="집계 실행"/>
<Button id="btnReloadRuns" left="392" top="108" width="160" height="38" text="상태 새로고침"/>
<Static id="sta_grdRuns" left="36" top="148" width="1368" height="24" text="집계 실행 이력"/>
<Grid id="grdRuns" left="36" top="176" width="1368" height="360" binddataset="dsRuns">
<Formats><Format id="default"><Columns><Column size="195"/><Column size="195"/><Column size="195"/><Column size="195"/><Column size="195"/><Column size="195"/><Column size="195"/></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="요약"/></Band><Band id="body"><Cell col="0" text="bind:id"/><Cell col="1" text="bind:fiscalPeriod"/><Cell col="2" text="bind:statusCode"/><Cell col="3" text="bind:requestedBy"/><Cell col="4" text="bind:requestedAt"/><Cell col="5" text="bind:finishedAt"/><Cell col="6" text="bind:summaryMessage"/></Band></Format></Formats>
</Grid>
</Form>
</FDL>