123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMRAR00900" position="absolute 0 0 1196 800" titletext="구매거래처별 채무잔액출력" onload="SMRAR00900_onload">
- <Layouts>
- <Layout>
- <Div id="grp_sea" anchor="left top right" taborder="4" class="div_SA" position="absolute 0 25 1195 65"/>
- <Shape id="line1" class="line_10" position="absolute 0 89 1195 95" anchor="left top right"/>
- <Static id="caption6" text="구매거래처별 채무잔액출력" class="tit_1" position="absolute 0 0 200 25"/>
- <Button id="btn_search" taborder="1" text="조회" class="btn1" position="absolute 1130 35 1186 57" anchor="right" onclick="btn_search_onclick"/>
- <Shape id="line13" linetype="vertical" class="line_4" position="absolute 1117 33 1123 59" anchor="right"/>
- <Static id="caption22" text="보조과목:" class="search_name" position="absolute 20 37 105 54"/>
- <Static id="caption28" text="구매거래처별 채무잔액출력" class="tit_2" position="absolute 0 73 260 90"/>
- <Combo id="cmb_frombojocd" taborder="2" innerdataset="@ds_init_custcdlist" codecolumn="value" datacolumn="label" class="combo_essential" position="absolute 105 36 305 55"/>
- <Static id="caption1" text="~" position="absolute 310 38 325 53"/>
- <Combo id="cmb_tobojocd" taborder="3" innerdataset="@ds_init_custcdlist" codecolumn="value" datacolumn="label" class="combo_essential" position="absolute 328 36 528 55"/>
- <Div id="grp_main" anchor="all" taborder="5" scrollbars="none" position="absolute 2 94 1194 799"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_init_custcdlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="value" type="STRING" size="256"/>
- <Column id="label" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_maindatalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="kydate" type="STRING" size="256"/>
- <Column id="kyseq" type="STRING" size="256"/>
- <Column id="ibgoymd" type="STRING" size="256"/>
- <Column id="ibgoseq" type="STRING" size="256"/>
- <Column id="custcode" type="STRING" size="256"/>
- <Column id="cdacnt" type="STRING" size="256"/>
- <Column id="acntnm" type="STRING" size="256"/>
- <Column id="name" type="STRING" size="256"/>
- <Column id="keumak" type="STRING" size="256"/>
- <Column id="rmrk" type="STRING" size="256"/>
- <Column id="ymdgive" type="STRING" size="256"/>
- <Column id="amtgive" type="STRING" size="256"/>
- <Column id="amt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="kydate"/>
- <Col id="kyseq"/>
- <Col id="ibgoymd"/>
- <Col id="ibgoseq"/>
- <Col id="custcode"/>
- <Col id="cdacnt"/>
- <Col id="acntnm"/>
- <Col id="name"/>
- <Col id="keumak"/>
- <Col id="rmrk"/>
- <Col id="ymdgive"/>
- <Col id="amtgive"/>
- <Col id="amt"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="frombojocd" type="STRING" size="256"/>
- <Column id="tobojocd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="frombojocd"/>
- <Col id="tobojocd"/>
- </Row>
- </Rows>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="cmb_frombojocd" propid="value" datasetid="ds_send" columnid="frombojocd"/>
- <BindItem id="item1" compid="cmb_tobojocd" propid="value" datasetid="ds_send" columnid="tobojocd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2017-12-04
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2017-06-19 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs";
- include "mis_miscommonxp::MIS.xjs";
- include "mis_paybaseinfomngtxp::RWC001.xjs";
- include "mis_humtrafactmngtxp::RPB001.xjs";
- //=======================================================================================
- // Global Form Variable
- //---------------------------------------------------------------------------------------
- var arErrorCode = new HashArray();
- //=======================================================================================
- // Function
- //---------------------------------------------------------------------------------------
- /*-**************************************************************************************
- * Argument : N/A
- * Description :
- ****************************************************************************************/
-
- //=======================================================================================
- // Event
- //---------------------------------------------------------------------------------------
- /****************************************************************************************
- * Components : Form
- * Description : 화면 처음 초기화시 폼초기화
- ****************************************************************************************/
- function SMRAR00900_onload(obj:Form, e:LoadEventInfo) {
- frmf_initForm(obj);
- //grdf_initGrid(grd_XXX);
- //grdf_setGridSort(grd_XXX);
- //grdf_setRowTypeIcon(grd_XXX, 0_컬럼위치값);
- var today = utlf_getCurrentDate();
- ds_send.setColumn( 0, "instcd", sysf_getUserInfo("dutplceinstcd"));
- //거래처코드 리스팅
- ds_main_maindatalist.clearData();
- ds_init_custcdlist.clearData();
- var oParam = {};
- oParam.id = "TRRAR00901";
- oParam.service = "accountinginfoapp.AccountingInfo";
- oParam.method = "getCustcodeList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_init_custcdlist=custcdlist";
- oParam.async = false;
- //oParam.callback = "cf_TRRAR00901";
- tranf_submit(oParam);
- cmb_frombojocd.setFocus();
- }
- /****************************************************************************************
- * Components : Button
- * Description : 조회
- ****************************************************************************************/
- function btn_search_onclick(obj:Button, e:ClickEventInfo) {
- var oParam = {};
- oParam.id = "TRRAR00902";
- oParam.service = "accountinginfoapp.AccountingInfo";
- oParam.method = "getJanamtbyCustcode";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_maindatalist=maindatalist";
- oParam.async = false;
- oParam.callback = "cf_TRRAR00902";
- tranf_submit(oParam);
- if(arErrorCode.pop("TRRAR00902") > -1) {
- var objDOM = rptf_createDOM();
- var objParam = new Object();
- rptf_setNodeListToDOM(objDOM, "/root/main/maindatalist" , ds_main_maindatalist);
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=0;printdialog=1;print=1;zoom=0";
- rptf_exeReportPreview30(["SMRAR00901"],[objParam], option, "", "grp_main");
- }
- }
- function cf_TRRAR00902(sSvcId, nErrorCode, sErrorMsg) {
- arErrorCode.push(sSvcId, nErrorCode);
- }]]></Script>
- </Form>
- </FDL>
|