123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPIF73100" position="absolute 0 0 1194 782" titletext="미수현황" oninit="SMPIF73100_oninit" onload="SMPIF73100_onload">
- <Layouts>
- <Layout>
- <Div position="absolute 0 13 1194 782" id="grp_biz" scrollbars="autoboth" anchor="all">
- <Layouts>
- <Layout>
- <Grid position="absolute 0 83 1194 769" id="grd_clbsmast" class="datagrid2" binddataset="ds_main_datagrid" anchor="all" cellsizingtype="both" cellmovingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="24"/>
- <Column size="48"/>
- <Column size="58"/>
- <Column size="91"/>
- <Column size="95"/>
- <Column size="99"/>
- <Column size="91"/>
- <Column size="89"/>
- <Column size="79"/>
- <Column size="82"/>
- <Column size="73"/>
- <Column size="82"/>
- <Column size="86"/>
- <Column size="93"/>
- <Column size="78"/>
- <Column size="70"/>
- <Column size="139"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24" band="head"/>
- <Row size="24"/>
- <Row size="24" band="summ"/>
- </Rows>
- <Band id="head">
- <Cell rowspan="3" taborder="undefined"/>
- <Cell col="1" rowspan="3" colspan="2" text="구분" taborder="undefined"/>
- <Cell col="3" rowspan="3" text="전월미수금 (A)" taborder="undefined"/>
- <Cell col="4" colspan="3" text="금월 발생액" taborder="undefined"/>
- <Cell col="7" rowspan="3" text="청구불능 자체조정 (D-C)" taborder="undefined"/>
- <Cell col="8" rowspan="3" text="심사후청구액 (D)" taborder="undefined"/>
- <Cell col="9" text="청구"/>
- <Cell col="10" colspan="2" text="뇌사자" taborder="undefined"/>
- <Cell col="12" rowspan="3" text="삭감액 (H)" taborder="undefined"/>
- <Cell col="13" rowspan="3" text="미수 이관 (I)" taborder="undefined"/>
- <Cell col="14" colspan="2" text="기타" taborder="undefined"/>
- <Cell col="16" rowspan="3" text="금월미수금 (A+D-E+F-G+H+I+J+K)" taborder="undefined"/>
- <Cell col="17" text="존재여부"/>
- <Cell col="18" text="청구년월"/>
- <Cell col="19" text="장애인"/>
- <Cell col="20" text="장애인뺀금액"/>
- <Cell col="21" text="누락금액"/>
- <Cell col="22" text="추가금액"/>
- <Cell col="23" text="보완차액금액"/>
- <Cell col="24" text="보완삭제금액"/>
- <Cell col="25" text="환수액"/>
- <Cell col="26" text="원삭감액"/>
- <Cell row="1" col="4" rowspan="2" text="원무청구액 (B)" taborder="undefined"/>
- <Cell row="1" col="5" rowspan="2" text="심사전청구액 (C)" taborder="undefined"/>
- <Cell row="1" col="6" rowspan="2" text="차액 (C-B)" taborder="undefined"/>
- <Cell row="1" col="9" rowspan="2" text="미수입금 (E)" taborder="undefined"/>
- <Cell row="1" col="10" rowspan="2" text="미수금 (F)" taborder="undefined"/>
- <Cell row="1" col="11" rowspan="2" text="미수입금 (G)" taborder="undefined"/>
- <Cell row="1" col="14" rowspan="2" text="추가당초. 보안청구 (J)" taborder="undefined"/>
- <Cell row="1" col="15" rowspan="2" text="기타 (K)" taborder="undefined"/>
- <Cell row="1" col="17" text="존재여부"/>
- <Cell row="1" col="18" text="청구년월"/>
- <Cell row="1" col="19" text="장애인"/>
- <Cell row="1" col="20" text="장애인뺀금액"/>
- <Cell row="1" col="21" text="누락금액"/>
- <Cell row="1" col="22" text="추가금액"/>
- <Cell row="1" col="23" text="보완차액금액"/>
- <Cell row="1" col="24" text="보완삭제금액"/>
- <Cell row="1" col="25" text="환수액"/>
- <Cell row="1" col="26" text="원삭감액"/>
- <Cell row="2" col="17" text="존재여부"/>
- <Cell row="2" col="18" text="청구년월"/>
- <Cell row="2" col="19" text="장애인"/>
- <Cell row="2" col="20" text="장애인뺀금액"/>
- <Cell row="2" col="21" text="누락금액"/>
- <Cell row="2" col="22" text="추가금액"/>
- <Cell row="2" col="23" text="보완차액금액"/>
- <Cell row="2" col="24" text="보완삭제금액"/>
- <Cell row="2" col="25" text="환수액"/>
- <Cell row="2" col="26" text="원삭감액"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="expr:getRowLevel(currow) == 0 ? 'combo' : 'text'" edittype="combo" style="align:center middle;background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:ioflag" suppress="1" suppressalign="middle,over" combodataset="ds_cmb_ioflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="2" displaytype="combo" edittype="combo" style="background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:insuflag" combodataset="ds_cmb_insuflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="3" displaytype="number" edittype="none" style="align:right middle;background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:bfuncoamt"/>
- <Cell col="4" displaytype="number" edittype="none" style="align:right middle;background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:insuclamamt"/>
- <Cell col="5" displaytype="number" edittype="none" style="align:right middle;background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:bfinsuclamamt"/>
- <Cell col="6" displaytype="number" edittype="none" style="align:right middle;background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:bfdiffamt"/>
- <Cell col="7" displaytype="number" edittype="none" style="align:right middle;background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:afdiffamt"/>
- <Cell col="8" displaytype="number" edittype="none" style="align:right middle;background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:afinsuclamamt"/>
- <Cell col="9" displaytype="number" edittype="none" style="align:right middle;background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:depoamt"/>
- <Cell col="10" displaytype="number" edittype="none" style="align:right middle;background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:buncoamt"/>
- <Cell col="11" displaytype="number" edittype="none" style="align:right middle;background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:bdepoamt"/>
- <Cell col="12" displaytype="number" edittype="none" style="align:right middle;background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:cutamt"/>
- <Cell col="13" displaytype="number" edittype="none" style="align:right middle;background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:mvuncoamt"/>
- <Cell col="14" displaytype="number" edittype="none" style="align:right middle;background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:compamt"/>
- <Cell col="15" displaytype="number" edittype="none" style="align:right middle;background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:otheramt"/>
- <Cell col="16" displaytype="number" edittype="none" style="align:right middle;background:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');background2:EXPR(getRowLevel(currow) == 1 ? '#99ff99' : '#ffffff');" text="bind:uncoamt"/>
- <Cell col="17" text="bind:isexist"/>
- <Cell col="18" text="bind:uncoym"/>
- <Cell col="19" text="bind:bfhandcaprfund"/>
- <Cell col="20" text="bind:bfnosuminsuclamamt"/>
- <Cell col="21" text="bind:misscompamt"/>
- <Cell col="22" text="bind:addcompamt"/>
- <Cell col="23" text="bind:minuscompamt"/>
- <Cell col="24" text="bind:delcompamt"/>
- <Cell col="25" text="bind:rtnamt"/>
- <Cell col="26" text="bind:orgreduamt"/>
- </Band>
- <Band id="summary">
- <Cell/>
- <Cell col="1" text="합계"/>
- <Cell col="2"/>
- <Cell col="3" displaytype="number" text="expr:getSum('bfuncoamt')"/>
- <Cell col="4" displaytype="number" text="expr:getSum('insuclamamt')"/>
- <Cell col="5" displaytype="number" text="expr:getSum('bfinsuclamamt')"/>
- <Cell col="6" displaytype="number" text="expr:getSum('bfdiffamt')"/>
- <Cell col="7" displaytype="number" text="expr:getSum('afdiffamt')"/>
- <Cell col="8" displaytype="number" text="expr:getSum('afinsuclamamt')"/>
- <Cell col="9" displaytype="number" text="expr:getSum('depoamt')"/>
- <Cell col="10" displaytype="number" text="expr:getSum('buncoamt')"/>
- <Cell col="11" displaytype="number" text="expr:getSum('bdepoamt')"/>
- <Cell col="12" displaytype="number" text="expr:getSum('cutamt')"/>
- <Cell col="13" displaytype="number" text="expr:getSum('mvuncoamt')"/>
- <Cell col="14" displaytype="number" text="expr:getSum('compamt')"/>
- <Cell col="15" displaytype="number" text="expr:getSum('otheramt')"/>
- <Cell col="16" displaytype="number" text="expr:getSum('uncoamt')"/>
- <Cell col="17"/>
- <Cell col="18"/>
- <Cell col="19"/>
- <Cell col="20"/>
- <Cell col="21"/>
- <Cell col="22"/>
- <Cell col="23"/>
- <Cell col="24"/>
- <Cell col="25"/>
- <Cell col="26"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Static text="미수현황" position="absolute 0 61 245 81" id="cap_judgtrgtman" class="tit_2" anchor="default"/>
- <Shape position="absolute 0 78 1194 84" linetype="horizontal" id="line1" class="line_10" anchor="left top right"/>
- <Div position="absolute 0 11 1194 52" align="align:center top;" id="group1" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout>
- <Static text="청구년월" position="absolute 10 11 95 28" id="caption30" class="search_name" anchor="default"/>
- <Calendar position="absolute 91 10 168 30" align="align:center middle;" id="ipt_clamym" class="input_search" taborder="1" mask="yyyy-mm" anchor="default" dateformat="yyyy-MM" value="null" editformat="yyyy-MM" onchanged="grp_biz_group1_ipt_clamym_onchanged"/>
- <Button position="absolute 1130 10 1186 30" id="btn_select" class="btn1" taborder="32" text="조회" anchor="top right" onclick="grp_biz_group1_btn_select_onclick"/>
- <Shape position="absolute 1117 10 1123 30" linetype="vertical" id="line3" class="line_4" anchor="top right"/>
- <Static text="진료분야" position="absolute 191 12 276 29" id="caption1" class="search_name" anchor="default"/>
- <Combo position="absolute 265 11 365 31" id="combo1" codecolumn="codecolumn" datacolumn="datacolumn" anchor="default">
- <Dataset id="innerdataset">
- <ColumnInfo>
- <Column id="codecolumn"/>
- <Column id="datacolumn"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="codecolumn">
- </Col>
- <Col id="datacolumn">전체</Col>
- </Row>
- <Row>
- <Col id="codecolumn">6</Col>
- <Col id="datacolumn">치과</Col>
- </Row>
- </Rows>
- </Dataset>
- </Combo>
- </Layout>
- </Layouts>
- </Div>
- <Button position="absolute 1138 58 1194 78" id="btn_cancel" class="btn4" text="마감" anchor="top right" onclick="grp_biz_btn_cancel_onclick"/>
- <Button position="absolute 429 58 545 78" id="btn_prnt" class="btn3" text="진료비미수현황" anchor="top right" onclick="grp_biz_btn_prnt_onclick"/>
- <Button position="absolute 1069 58 1137 78" id="button1" class="btn1" taborder="32" text="재생성" anchor="top right" onclick="grp_biz_button1_onclick"/>
- <Button position="absolute 690 58 830 78" id="button3" class="btn3" text="심사전 진료비현황" anchor="top right" onclick="grp_biz_button3_onclick"/>
- <Button position="absolute 548 58 688 78" id="button4" class="btn3" text="진료비 재조정내역" anchor="top right" onclick="grp_biz_button4_onclick"/>
- <Button position="absolute 833 58 973 78" id="button5" class="btn1" text="청구심사조정내역" anchor="top right" onclick="grp_biz_button5_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Static id="cap_title" text="미수현황" class="tit_1" position="absolute 0 0 224 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_main_datagrid" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ioflag" type="STRING" size="256" sumtext="소계" prop="TEXT"/>
- <Column id="insuflag" type="STRING" size="256" sumtext="보험구분"/>
- <Column id="bfuncoamt" type="BIGDECIMAL" size="256" sumtext="전월미수금" prop="SUM"/>
- <Column id="insuclamamt" type="BIGDECIMAL" size="256" sumtext="원무청구액" prop="SUM"/>
- <Column id="bfinsuclamamt" type="BIGDECIMAL" size="256" sumtext="심사전청구액" prop="SUM"/>
- <Column id="bfdiffamt" type="BIGDECIMAL" size="256" sumtext="인수차액" prop="SUM"/>
- <Column id="afdiffamt" type="BIGDECIMAL" size="256" sumtext="청구불능자체조정" prop="SUM"/>
- <Column id="afinsuclamamt" type="BIGDECIMAL" size="256" sumtext="심사후청구액" prop="SUM"/>
- <Column id="depoamt" type="BIGDECIMAL" size="256" sumtext="청구미수입금" prop="SUM"/>
- <Column id="buncoamt" type="BIGDECIMAL" size="256" sumtext="장기이식미수금" prop="SUM"/>
- <Column id="bdepoamt" type="BIGDECIMAL" size="256" sumtext="장기이식미수입금" prop="SUM"/>
- <Column id="cutamt" type="BIGDECIMAL" size="256" sumtext="삭감액" prop="SUM"/>
- <Column id="mvuncoamt" type="BIGDECIMAL" size="256" sumtext="미수이관" prop="SUM"/>
- <Column id="compamt" type="BIGDECIMAL" size="256" sumtext="추가당초보완청구" prop="SUM"/>
- <Column id="otheramt" type="BIGDECIMAL" size="256" sumtext="기타금액" prop="SUM"/>
- <Column id="uncoamt" type="BIGDECIMAL" size="256" sumtext="금월미수금" prop="SUM"/>
- <Column id="isexist" type="STRING" size="256" sumtext="존재구분" prop="NONE"/>
- <Column id="uncoym" type="BIGDECIMAL" size="256" sumtext="청구년월" prop="SUM"/>
- <Column id="bfhandcaprfund" type="BIGDECIMAL" size="256" sumtext="장애인기금" prop="SUM"/>
- <Column id="bfnosuminsuclamamt" type="BIGDECIMAL" size="256" sumtext="장애인뺀금액" prop="SUM"/>
- <Column id="misscompamt" type="BIGDECIMAL" size="256" sumtext="장애인기금" prop="SUM"/>
- <Column id="addcompamt" type="BIGDECIMAL" size="256" sumtext="장애인기금" prop="SUM"/>
- <Column id="minuscompamt" type="BIGDECIMAL" size="256" sumtext="장애인기금" prop="SUM"/>
- <Column id="delcompamt" type="BIGDECIMAL" size="256" sumtext="장애인기금" prop="SUM"/>
- <Column id="rtnamt" type="BIGDECIMAL" size="256" sumtext="장애인기금" prop="SUM"/>
- <Column id="orgreduamt" type="BIGDECIMAL" size="256" sumtext="장애인기금" prop="SUM"/>
- <Column id="ordfildcd" type="STRING" size="256"/>
- <Column id="research" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_cmb_ioflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">입원</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">외래</Col>
- <Col id="value">O</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_insuflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="label" type="STRING" size="256"/>
- <Column id="value" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="label">건강보험</Col>
- <Col id="value">1</Col>
- </Row>
- <Row>
- <Col id="label">의료급여</Col>
- <Col id="value">2</Col>
- </Row>
- <Row>
- <Col id="label">자보</Col>
- <Col id="value">3</Col>
- </Row>
- <Row>
- <Col id="label">산재</Col>
- <Col id="value">4</Col>
- </Row>
- <Row>
- <Col id="label">기타</Col>
- <Col id="value">5</Col>
- </Row>
- <Row>
- <Col id="label">장기이식</Col>
- <Col id="value">9</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_PK069list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ordfildcd" type="STRING" size="256"/>
- <Column id="clamym" type="STRING" size="256"/>
- <Column id="research" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="isexist" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_tmp_print" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="ioflag" type="STRING" size="256" sumtext="소계" prop="TEXT"/>
- <Column id="insuflag" type="STRING" size="256" sumtext="보험구분"/>
- <Column id="bfuncoamt" type="BIGDECIMAL" size="256" sumtext="전월미수금" prop="SUM"/>
- <Column id="insuclamamt" type="BIGDECIMAL" size="256" sumtext="원무청구액" prop="SUM"/>
- <Column id="bfinsuclamamt" type="BIGDECIMAL" size="256" sumtext="심사전청구액" prop="SUM"/>
- <Column id="bfdiffamt" type="BIGDECIMAL" size="256" sumtext="인수차액" prop="SUM"/>
- <Column id="afdiffamt" type="BIGDECIMAL" size="256" sumtext="청구불능자체조정" prop="SUM"/>
- <Column id="afinsuclamamt" type="BIGDECIMAL" size="256" sumtext="심사후청구액" prop="SUM"/>
- <Column id="depoamt" type="BIGDECIMAL" size="256" sumtext="청구미수입금" prop="SUM"/>
- <Column id="buncoamt" type="BIGDECIMAL" size="256" sumtext="장기이식미수금" prop="SUM"/>
- <Column id="bdepoamt" type="BIGDECIMAL" size="256" sumtext="장기이식미수입금" prop="SUM"/>
- <Column id="cutamt" type="BIGDECIMAL" size="256" sumtext="삭감액" prop="SUM"/>
- <Column id="mvuncoamt" type="BIGDECIMAL" size="256" sumtext="미수이관" prop="SUM"/>
- <Column id="compamt" type="BIGDECIMAL" size="256" sumtext="추가당초보완청구" prop="SUM"/>
- <Column id="otheramt" type="BIGDECIMAL" size="256" sumtext="기타금액" prop="SUM"/>
- <Column id="uncoamt" type="BIGDECIMAL" size="256" sumtext="금월미수금" prop="SUM"/>
- <Column id="isexist" type="STRING" size="256" sumtext="존재구분" prop="NONE"/>
- <Column id="uncoym" type="BIGDECIMAL" size="256" sumtext="청구년월" prop="SUM"/>
- <Column id="bfhandcaprfund" type="BIGDECIMAL" size="256" sumtext="장애인기금" prop="SUM"/>
- <Column id="bfnosuminsuclamamt" type="BIGDECIMAL" size="256" sumtext="장애인뺀금액" prop="SUM"/>
- <Column id="misscompamt" type="BIGDECIMAL" size="256" sumtext="장애인기금" prop="SUM"/>
- <Column id="addcompamt" type="BIGDECIMAL" size="256" sumtext="장애인기금" prop="SUM"/>
- <Column id="minuscompamt" type="BIGDECIMAL" size="256" sumtext="장애인기금" prop="SUM"/>
- <Column id="delcompamt" type="BIGDECIMAL" size="256" sumtext="장애인기금" prop="SUM"/>
- <Column id="rtnamt" type="BIGDECIMAL" size="256" sumtext="장애인기금" prop="SUM"/>
- <Column id="orgreduamt" type="BIGDECIMAL" size="256" sumtext="장애인기금" prop="SUM"/>
- <Column id="ordfildcd" type="STRING" size="256"/>
- <Column id="research" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp_biz.group1.ipt_clamym" propid="value" datasetid="ds_send" columnid="clamym"/>
- <BindItem id="item1" compid="grp_biz.group1.combo1" propid="value" datasetid="ds_send" columnid="ordfildcd"/>
- </Bind>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2016-05-24
- * Description :
- *---------------------------------------------------------------------------------------
- * Modify Date Modifier Modify Description
- *---------------------------------------------------------------------------------------
- * 2016-05-24 Live Converter TF->XP
- *
- *---------------------------------------------------------------------------------------
- ****************************************************************************************/
- include "com_commonxp::comm_main.xjs";
- include "pam_pamcomnxp::PAM001.xjs";
- include "pam_pamcomnxp::PAM.xjs";
- include "pam_insucomxp::PAM.xjs";
- function SMPIF73100_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj);
- }
- function SMPIF73100_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grp_biz.grd_clbsmast);
- grdf_setRowTypeIcon(grp_biz.grd_clbsmast, 0);
-
- fInitialize();
- }
- function fInitialize()
- {
- pamGetDeptCDDrIDList();
- var arrParam = [{dsNm: "ds_init_PK069list", cdGrpId: "PK069", showValue: true}];
- pamfGetCodeList(arrParam, false);
-
- if(!utlf_isNull(ds_init_PK069list.lookupExpr("cdid=='"+sysf_getUserId()+"'","cdid"))){
- grp_biz.btn_cancel.enable = true;
- } else {
- grp_biz.btn_cancel.enable = false;
- }
- grp_biz.group1.ipt_clamym.value = String(utlf_getCurrentDate()).substr(0,6);
-
- grp_biz.group1.combo1.index = 0;
-
- if(ds_main_datagrid.getColumn(0, "isexist") == "O")
- {
- grp_biz.btn_prnt.enable = true;
- grp_biz.button4.enable = true;
- grp_biz.button3.enable = true;
- }
- else
- {
- grp_biz.btn_prnt.enable = false;
- grp_biz.button4.enable = false;
- grp_biz.button3.enable = false;
- }
- }
- function grp_biz_group1_btn_select_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send.setColumn(0, "research", "");
-
- fGetDocuList();
-
- fGetListExistChk();
- }
- function fGetDocuList()
- {
- ds_send.setColumn(0,"clamym",String(ds_send.getColumn(0,"clamym")).substr(0,6));
- var oParam = {};
- oParam.id = "TRPIF73101";
- oParam.service = "clamuncoapp.ClamUnco";
- oParam.method = "reqGetClamRecvblStat";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_main_datagrid=datagrid";
- oParam.async = false;
- //oParam.callback = "cf_TRPIF73101";
- tranf_submit(oParam);
-
- dsf_setDefaultVal(ds_main_datagrid, "afinsuclamamt:0,compamt:0");
-
- ds_main_datagrid.keystring= "G:ioflag";
-
- var bfuncoamt,afinsuclamamt,depoamt,buncoamt,bdepoamt,cutamt,mvuncoamt,compamt,otheramt = 0;
-
- ds_main_datagrid.updatecontrol = false;
-
- for (var i = 0; i < ds_main_datagrid.rowcount; i++)
- {
- bfuncoamt,afinsuclamamt,depoamt,buncoamt,bdepoamt,cutamt,mvuncoamt,compamt,otheramt = 0;
-
- bfuncoamt = !utlf_isNull(ds_main_datagrid.getColumn(i, "bfuncoamt")) ? ds_main_datagrid.getColumn(i, "bfuncoamt") : 0;
- afinsuclamamt = !utlf_isNull(ds_main_datagrid.getColumn(i, "afinsuclamamt")) ? ds_main_datagrid.getColumn(i, "afinsuclamamt") : 0;
- depoamt = !utlf_isNull(ds_main_datagrid.getColumn(i, "depoamt")) ? ds_main_datagrid.getColumn(i, "depoamt") : 0;
- buncoamt = !utlf_isNull(ds_main_datagrid.getColumn(i, "buncoamt")) ? ds_main_datagrid.getColumn(i, "buncoamt") : 0;
- bdepoamt = !utlf_isNull(ds_main_datagrid.getColumn(i, "bdepoamt")) ? ds_main_datagrid.getColumn(i, "bdepoamt") : 0;
- cutamt = !utlf_isNull(ds_main_datagrid.getColumn(i, "cutamt")) ? ds_main_datagrid.getColumn(i, "cutamt") : 0;
- mvuncoamt = !utlf_isNull(ds_main_datagrid.getColumn(i, "mvuncoamt")) ? ds_main_datagrid.getColumn(i, "mvuncoamt") : 0;
- compamt = !utlf_isNull(ds_main_datagrid.getColumn(i, "compamt")) ? ds_main_datagrid.getColumn(i, "compamt") : 0;
- otheramt = !utlf_isNull(ds_main_datagrid.getColumn(i, "otheramt")) ? ds_main_datagrid.getColumn(i, "otheramt") : 0;
-
- ds_main_datagrid.setColumn(i, "uncoamt", bfuncoamt + afinsuclamamt - depoamt + buncoamt - bdepoamt+ cutamt + mvuncoamt + compamt + otheramt);
- ds_main_datagrid.setColumn(i, "uncoym", ds_send.getColumn(0, "clamym"));
-
- if(ds_main_datagrid.getColumn(i, "isexist") == "I")
- {
- ds_main_datagrid.updatecontrol = true;
-
- var arrRow = new Array();
- arrRow[0] = i;
-
- grdf_setStatus(grp_biz.grd_clbsmast, "I", arrRow);
- }
-
- }
- ds_main_datagrid.updatecontrol = true;
-
- if(ds_main_datagrid.getColumn(0, "isexist") == "O")
- {
- grp_biz.btn_prnt.enable = true;
- grp_biz.button4.enable = true;
- grp_biz.button3.enable = true;
- }
- else
- {
- grp_biz.btn_prnt.enable = false;
- grp_biz.button4.enable = false;
- grp_biz.button3.enable = false;
- }
- }
- function fGetListExistChk()
- {
- if(ds_main_datagrid.getColumn(0, "isexist") == "O")
- {
- ds_hidden.setColumn(0, "isexist", "Y");
- }
- else
- {
- ds_hidden.setColumn(0, "isexist", "N");
- }
- }
- function grp_biz_group1_ipt_clamym_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- var date = obj.value;
-
- ds_send.setColumn(0, "clamym", String(date).substr(0,6));
- }
- function grp_biz_button5_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_open("SMPIF73200", "SMPIF73200", "", "", "", "", "", "", "", "", "", "", "M");
- }
- function grp_biz_btn_prnt_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_tmp_print.clearData();
- for(var i = 0; i < ds_main_datagrid.rowcount; i++)
- {
- if(ds_main_datagrid.getColumn(i, "ioflag") == "I" || ds_main_datagrid.getColumn(i, "ioflag") == "O")
- {
- var row = ds_tmp_print.addRow();
-
- ds_tmp_print.copyRow(row, ds_main_datagrid, i);
- }
- }
-
- if(ds_send.getColumn(0, "ordfildcd") == "6")
- {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "root/main/datagrid", ds_tmp_print);
- rptf_setNodeListToDOM(objDOM, "root/send", ds_send);
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
-
- var option //= "open=1;save=0;directprint=0;printdialog=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPPIF73110"],[objParam], option);
-
- //exeReportPreview("RPPIF73110", "XMLSTR", "","", "false","","","","","false");
- }
- else
- {
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/main/datagrid", ds_tmp_print);
- rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
-
- var option =// //"open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPPIF73100"],[objParam], option);
-
- //exeReportPreview("RPPIF73100", "XMLSTR", "","", "false","","","","","false");
- }
- }
- function grp_biz_button4_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_tmp_print.clearData();
- for(var i = 0; i < ds_main_datagrid.rowcount; i++)
- {
- if(ds_main_datagrid.getColumn(i, "ioflag") == "I" || ds_main_datagrid.getColumn(i, "ioflag") == "O")
- {
- var row = ds_tmp_print.addRow();
-
- ds_tmp_print.copyRow(row, ds_main_datagrid, i);
- }
- }
-
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/main/datagrid", ds_tmp_print);
- rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
-
- var option =// //"open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPPIF73104"],[objParam], option);
-
- //exeReportPreview("RPPIF73104", "XMLSTR", "","", "false","","","","","false");
- }
- function grp_biz_button3_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_tmp_print.clearData();
- for(var i = 0; i < ds_main_datagrid.rowcount; i++)
- {
- if(ds_main_datagrid.getColumn(i, "ioflag") == "I" || ds_main_datagrid.getColumn(i, "ioflag") == "O")
- {
- var row = ds_tmp_print.addRow();
-
- ds_tmp_print.copyRow(row, ds_main_datagrid, i);
- }
- }
-
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/main/datagrid", ds_tmp_print);
- rptf_setNodeListToDOM(objDOM, "/root/send", ds_send);
-
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
-
- var option =// //"open=1;save=1;directprint=0;printdialog=0;print=1;zoom=0;";
-
- rptf_exeReportPreview30(["RPPIF73103"],[objParam], option);
-
- //exeReportPreview("RPPIF73103", "XMLSTR", "","", "false","","","","","false");
- }
- function grp_biz_button1_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_send.setColumn(0, "research", "Y");
- fGetDocuList();
-
- for(var i = 0; i < ds_main_datagrid.rowcount; i++)
- {
- ds_main_datagrid.setColumn(i, "research", "Y");
- ds_main_datagrid.setColumn(i, "ordfildcd", ds_send.getColumn(0, "ordfildcd"));
- }
- }
- function grp_biz_btn_cancel_onclick(obj:Button, e:ClickEventInfo)
- {
- var gridStatusCheck = grdf_getGridUpdateData(grp_biz.grd_clbsmast);
-
- if (gridStatusCheck.rowcount == 0)
- {
- sysf_messageBox("변경된 정보가 없습니다.", "");
- return;
- }
-
- if(ds_hidden.getColumn(0, "isexist") == "Y")
- {
- var retMes = sysf_messageBox("이미 저장된 데이터가 존재합니다. \n이전의 데이터 삭제 후 ", "Q002");
-
- if (retMes != 6)
- {
- return;
- }
-
- for(var i = 0; i < ds_main_datagrid.rowcount; i++)
- {
- if(ds_main_datagrid.getColumn(i, "isexist") == "O")
- {
- var arrRow = new Array();
- arrRow[0] = i;
- grdf_setStatus(grp_biz.grd_clbsmast, "I", arrRow);
- }
- }
- }
- else
- {
- var retMes = sysf_messageBox("", "Q002");
- }
-
- if (retMes != 6)
- {
- return;
- }
-
- var oParam = {};
- oParam.id = "TXPIF73101";
- oParam.service = "clamuncoapp.ClamUnco";
- oParam.method = "reqExeClamRecvblStat";
- oParam.inds = "req=ds_main_datagrid:U";
- oParam.outds = "";
- oParam.async = false;
- //oParam.callback = "cf_TXPIF73101";
- tranf_submit(oParam);
- ds_send.setColumn(0, "research", "");
-
- grp_biz_group1_btn_select_onclick();
- }
- function grp_biz_group1_ipt_clamym_onkeydown(obj:Calendar, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- var date = obj.value;
-
- ds_send.setColumn(0, "clamym", String(date).substr(0,6));
-
- grp_biz_group1_btn_select_onclick();
- }
- }]]></Script>
- </Form>
- </FDL>
|