12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMPAS00700" position="absolute 0 0 1211 787" titletext="미수금 현황" onload="SMPAS00700_onload" oninit="SMPAS00700_oninit">
- <Layouts>
- <Layout>
- <Div position="absolute 0 25 1195 65" id="grp" class="div_SA" anchor="left top right">
- <Layouts>
- <Layout width="1200" height="37">
- <Button position="absolute 1125 9 1181 31" id="btn_search" class="btn1" text="조회" onclick="grp_btn_search_onclick" anchor="top right"/>
- <Shape position="absolute 1112 9 1118 31" linetype="vertical" id="line1" class="line_4" visible="true" anchor="top right"/>
- <Static text="등록번호" position="absolute 10 12 88 29" id="caption4" class="search_name"/>
- <Edit position="absolute 90 11 190 30" id="ipt_pid" onkeydown="grp_ipt_pid_onkeydown" autoselect="true"/>
- <Button position="absolute 375 12 391 28" id="btn_pid" class="icon_search" text="" onclick="grp_btn_pid_onclick"/>
- <Edit readonly="true" position="absolute 269 11 314 30" id="output2" style="background:URL('theme://images/bg_edit_R.png') stretch 5,5;" enable="false"/>
- <Edit readonly="true" position="absolute 316 11 371 30" id="output3" style="background:URL('theme://images/bg_edit_R.png') stretch 5,5;" enable="false"/>
- <Static text="미수구분" position="absolute 420 12 510 29" id="caption2" class="search_name"/>
- <Calendar position="absolute 735 11 820 30" id="input1" dateformat="yyyy-MM-dd" value="null" autoselect="true" autoskip="true" onchanged="grp_input1_onchanged"/>
- <Static text="납부기간입력" position="absolute 630 12 732 29" id="caption1" class="search_name"/>
- <Combo position="absolute 500 11 600 30" id="cmd_uncocd" innerdataset="@ds_init_uncocd" datacolumn="nm" codecolumn="cd" onitemchanged="grp_cmd_uncocd_onitemchanged"/>
- <Edit position="absolute 204 11 266 30" id="input2" onkeydown="grp_input2_onkeydown" autoselect="true"/>
- <Button id="btn_hngnm" taborder="1" text="11" class="btn2_letter2" visible="false" position="absolute 843 11 885 30" onclick="grp_btn_hngnm_onclick"/>
- </Layout>
- </Layouts>
- </Div>
- <Shape position="absolute 0 85 1195 91" linetype="horizontal" id="line3" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left top right"/>
- <Static text="미수내역" position="absolute 0 69 160 85" id="caption6" class="tit_2"/>
- <Grid position="absolute 0 90 1195 300" align="align:center middle;" id="grd_uncolist" binddataset="ds_list_unco_uncolist" oncellclick="grd_uncolist_oncellclick" anchor="all" autoenter="select" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="0"/>
- <Column size="85"/>
- <Column size="60"/>
- <Column size="0"/>
- <Column size="100"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="85"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="50"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="74"/>
- <Column size="245"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <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="유형"/>
- <Cell col="8" text="보조유형"/>
- <Cell col="9" text="입원일자"/>
- <Cell col="10" text="단기시효"/>
- <Cell col="11" text="장기시효"/>
- <Cell col="12" text="발생일자"/>
- <Cell col="13" text="미수번호"/>
- <Cell col="14" text="미수분류"/>
- <Cell col="15" text="미수금액"/>
- <Cell col="16" text="미수입금액"/>
- <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="참고사항"/>
- </Band>
- <Band id="body">
- <Cell displaytype="checkbox" edittype="checkbox" text="bind:check"/>
- <Cell col="1" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:pid"/>
- <Cell col="2" displaytype="combo" style="align:center middle;background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:ordtype" combodataset="ds_cmb_ordtype" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="3" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:uncocd"/>
- <Cell col="4" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:unconm"/>
- <Cell col="5" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:hngnm"/>
- <Cell col="6" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:orddeptnm"/>
- <Cell col="7" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:insukindnm"/>
- <Cell col="8" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:suppkindnm"/>
- <Cell col="9" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:orddd" mask="####-##-##" maskchar=" "/>
- <Cell col="10" displaytype="date" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:dangi" calendardisplaynulltype="none"/>
- <Cell col="11" displaytype="date" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:janggi" calendardisplaynulltype="none"/>
- <Cell col="12" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:rcptdd" mask="####-##-##" maskchar=" "/>
- <Cell col="13" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:uncono"/>
- <Cell col="14" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:uncocls"/>
- <Cell col="15" displaytype="number" style="align:right middle;background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:uncoamt"/>
- <Cell col="16" displaytype="number" style="align:right middle;background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:rcptamt"/>
- <Cell col="17" displaytype="number" style="align:right middle;background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:uncorem"/>
- <Cell col="18" displaytype="number" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:guarcount"/>
- <Cell col="19" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:acptcount"/>
- <Cell col="20" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:lawcount"/>
- <Cell col="21" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:ordpaycount"/>
- <Cell col="22" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:hometel"/>
- <Cell col="23" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:mpphontel"/>
- <Cell col="24" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:zipcd"/>
- <Cell col="25" style="align:left top;padding:5 2 3 2;background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:zipaddr" wordwrap="word"/>
- <Cell col="26" style="background:EXPR(suppkindnm == '소계' ? '#99ff99' : '');background2:EXPR(suppkindnm == '소계' ? '#99ff99' : '');" text="bind:remfact"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 0 553 595 559" linetype="horizontal" id="line4" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left bottom"/>
- <Static text="이자내역" position="absolute 0 537 160 553" id="caption8" class="tit_2" anchor="left bottom"/>
- <Grid position="absolute 605 558 1195 758" align="align:center middle;" id="grd_ordpaydemand" binddataset="ds_list_detail_ordpaydemand" oncelldblclick="grd_ordpaydemand_oncelldblclick" autoenter="select" anchor="left right bottom" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25"/>
- <Column size="158"/>
- <Column size="131"/>
- <Column size="0"/>
- <Column size="199"/>
- <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"/>
- <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"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="구분"/>
- <Cell col="2" text="시행일자"/>
- <Cell col="3" text="발행부수"/>
- <Cell col="4" text="비고"/>
- <Cell col="5" text="pid"/>
- <Cell col="6" text="rcptdd"/>
- <Cell col="7" text="rcptno"/>
- <Cell col="8" text="orddd"/>
- <Cell col="9" text="cretno"/>
- <Cell col="10" text="endyn"/>
- <Cell col="11" text="seqno"/>
- <Cell col="12" text="sendflag"/>
- <Cell col="13" text="instcd"/>
- <Cell col="14" text="bankno"/>
- <Cell col="15" text="koraddr"/>
- <Cell col="16" text="engaddr"/>
- <Cell col="17" text="hospnm"/>
- <Cell col="18" text="subremfact"/>
- <Cell col="19"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="combo" edittype="expr:getRowType(currow) == 2 ? 'combo' : 'none'" style="align:center middle;" text="bind:issflag" combodataset="ds_cmb_issflag" combocodecol="value" combodatacol="label" combodisplayrowcount="8" enable="false"/>
- <Cell col="2" displaytype="expr:utlf_isNull(issdt) ? "none" : "text"" edittype="none" text="bind:issdt" mask="####-##-## ##:##:##" maskchar=" "/>
- <Cell col="3" text="bind:isscnt"/>
- <Cell col="4" displaytype="text" edittype="text" editfilter="lower,number,char" text="bind:remfact" editimemode="hangul"/>
- <Cell col="5" text="bind:pid"/>
- <Cell col="6" text="bind:rcptdd"/>
- <Cell col="7" text="bind:rcptno"/>
- <Cell col="8" text="bind:orddd"/>
- <Cell col="9" text="bind:cretno"/>
- <Cell col="10" text="bind:endyn"/>
- <Cell col="11" text="bind:seqno"/>
- <Cell col="12" text="bind:sendflag"/>
- <Cell col="13" text="bind:instcd"/>
- <Cell col="14" text="bind:bankno"/>
- <Cell col="15" text="bind:koraddr"/>
- <Cell col="16" text="bind:engaddr"/>
- <Cell col="17" text="bind:hospnm"/>
- <Cell col="18" text="bind:subremfact"/>
- <Cell col="19" text="bind:phone"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Shape position="absolute 605 323 1195 329" linetype="horizontal" id="line5" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left right bottom"/>
- <Static text="보증인내역" position="absolute 0 308 160 324" id="caption9" class="tit_2" anchor="left bottom"/>
- <Static text="소송내역" position="absolute 605 307 765 323" id="caption10" class="tit_2" anchor="left bottom"/>
- <Shape position="absolute 0 324 595 330" linetype="horizontal" id="line6" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left bottom"/>
- <Static text="진료비독촉내역" position="absolute 605 537 765 553" id="caption11" class="tit_2" anchor="left bottom"/>
- <Shape position="absolute 605 553 1195 559" linetype="horizontal" id="line7" class="line_1" style="strokepen:3 solid #33bbbbff;" anchor="left right bottom"/>
- <Grid position="absolute 0 558 595 758" align="align:center middle;" id="grd_acptlist" binddataset="ds_list_detail_acptlist" ontextchanged="grd_acptlist_ontextchanged" autoenter="select" anchor="left bottom" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="80"/>
- <Column size="88"/>
- <Column size="88"/>
- <Column size="48"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="87"/>
- <Column size="100"/>
- <Column size="132"/>
- <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"/>
- <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"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <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="이자종료일자"/>
- <Cell col="8" text="이자율"/>
- <Cell col="9" text="이자금액"/>
- <Cell col="10" text="수납금액"/>
- <Cell col="11" text="대손금액"/>
- <Cell col="12" text="이자미수잔액"/>
- <Cell col="13" text="비고"/>
- <Cell col="14" text="pid"/>
- <Cell col="15" text="rcptdd"/>
- <Cell col="16" text="rcptno"/>
- <Cell col="17" text="seqno"/>
- <Cell col="18" text="orddd"/>
- <Cell col="19" text="cretno"/>
- <Cell col="20" text="insukind"/>
- <Cell col="21" text="suppkind"/>
- <Cell col="22" text="rcptstat"/>
- <Cell col="23" text="uncorem"/>
- <Cell col="24" text="ordtype"/>
- <Cell col="25" text="uncoamt"/>
- <Cell col="26" text="uncocd"/>
- <Cell col="27" text="cashamt"/>
- <Cell col="28" text="cardamt"/>
- <Cell col="29" text="onlineamt"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="combo" edittype="expr:getRowType(currow) == 2 ? 'combo' : 'none'" style="align:center middle;" text="bind:uncorcptflag" combodataset="ds_cmb_uncorcptflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="2" displaytype="combo" edittype="expr:getRowType(currow) == 2 ? 'combo' : 'none'" style="align:center middle;" text="bind:uncoflag" combodataset="ds_cmb_uncoflag2" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="3" displaytype="date" text="bind:rcptexecdd" mask="yyyy-MM-dd" calendardisplaynulltype="none"/>
- <Cell col="4" displaytype="expr:utlf_isNull(rcpttm) ? "none" : "text"" text="bind:rcpttm" mask="##:##:##" maskchar=" "/>
- <Cell col="5" displaytype="number" edittype="text" style="align:right middle;" text="bind:intramt"/>
- <Cell col="6" displaytype="date" edittype="date" text="bind:intrfromdd" calendardisplaynulltype="none" enable="false"/>
- <Cell col="7" displaytype="date" edittype="date" text="bind:intrtodd" calendardisplaynulltype="none"/>
- <Cell col="8" displaytype="combo" edittype="expr:getRowType(currow) == 2 ? 'combo' : 'none'" style="align:center middle;" text="bind:intrrate" combodataset="ds_paminit_P6584list_P6584" combocodecol="cdid" combodatacol="cdnm" enable="false"/>
- <Cell col="9" displaytype="number" style="align:right middle;padding:0 4 0 0;" text="bind:uncoamt"/>
- <Cell col="10" displaytype="number" style="align:right middle;padding:0 4 0 0;" text="bind:rcptamt"/>
- <Cell col="11" displaytype="number" style="align:right middle;padding:0 4 0 0;" text="bind:debtamt"/>
- <Cell col="12" displaytype="number" style="align:right middle;padding:0 4 0 0;" text="bind:acptuncorem"/>
- <Cell col="13"/>
- <Cell col="14" text="bind:pid"/>
- <Cell col="15" text="bind:rcptdd"/>
- <Cell col="16" text="bind:rcptno"/>
- <Cell col="17" text="bind:seqno"/>
- <Cell col="18" text="bind:orddd"/>
- <Cell col="19" text="bind:cretno"/>
- <Cell col="20" text="bind:insukind"/>
- <Cell col="21" text="bind:suppkind"/>
- <Cell col="22" text="bind:rcptstat"/>
- <Cell col="23" text="bind:uncorem"/>
- <Cell col="24" text="bind:ordtype"/>
- <Cell col="25" text="bind:uncoamt"/>
- <Cell col="26" text="bind:uncocd"/>
- <Cell col="27" text="bind:cashamt"/>
- <Cell col="28" text="bind:cardamt"/>
- <Cell col="29" text="bind:onlineamt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 0 329 595 529" align="align:center middle;" id="grd_quar" binddataset="ds_list_detail_guarlist" oncelldblclick="grd_quar_oncelldblclick" autoenter="select" anchor="left bottom" cellsizingtype="col">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="40"/>
- <Column size="100"/>
- <Column size="55"/>
- <Column size="55"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="85"/>
- <Column size="39"/>
- <Column size="39"/>
- <Column size="0"/>
- <Column size="150"/>
- <Column size="200"/>
- <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"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="출력"/>
- <Cell col="2" text="보증인명"/>
- <Cell col="3" colspan="2" text="주민번호" taborder="undefined"/>
- <Cell col="5" text="성별"/>
- <Cell col="6" text="관계"/>
- <Cell col="7" text="집전화"/>
- <Cell col="8" text="사무실전화"/>
- <Cell col="9" text="휴대폰번호"/>
- <Cell col="10" colspan="2" text="우편번호" taborder="undefined"/>
- <Cell col="12" text="우편일련번호"/>
- <Cell col="13" text="우편주소"/>
- <Cell col="14" text="상세주소"/>
- <Cell col="15" text="미수설명여부"/>
- <Cell col="16" text="pid"/>
- <Cell col="17" text="rcptdd"/>
- <Cell col="18" text="rcptno"/>
- <Cell col="19" text="orddd"/>
- <Cell col="20" text="crentno"/>
- <Cell col="21" text="seqno"/>
- <Cell col="22" text="rcptstat"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="combo" edittype="combo" style="align:center middle;" text="bind:printyn" combodataset="ds_cmb_printyn" combocodecol="label" combodatacol="value"/>
- <Cell col="2" displaytype="text" edittype="text" text="bind:grntornm"/>
- <Cell col="3" displaytype="text" edittype="text" text="bind:grntorrrgstno1" mask="999999" maskchar=" " editlimit="6"/>
- <Cell col="4" displaytype="text" edittype="text" text="bind:grntorrrgstno2" mask="9999999" maskchar=" " editlimit="7"/>
- <Cell col="5" displaytype="combo" edittype="combo" text="bind:grntorsex" enable="false"/>
- <Cell col="6" displaytype="text" edittype="text" text="bind:grntorrel" enable="false"/>
- <Cell col="7" displaytype="expr:utlf_isNull(grntorhometel) ? "none" : "text"" edittype="text" style="align:center middle;" text="bind:grntorhometel" mask="###-###-####" maskchar=" "/>
- <Cell col="8" displaytype="expr:utlf_isNull(grntorofficetel) ? "none" : "text"" edittype="text" style="align:center middle;" text="bind:grntorofficetel" mask="###-###-####" maskchar=" "/>
- <Cell col="9" displaytype="expr:utlf_isNull(grntormpphontel) ? "none" : "text"" edittype="text" style="align:center middle;" text="bind:grntormpphontel" mask="###-####-####" maskchar=" "/>
- <Cell col="10" text="bind:grntorzipcd1"/>
- <Cell col="11" text="bind:grntorzipcd2"/>
- <Cell col="12" text="bind:grntorzipcdseq"/>
- <Cell col="13" displaytype="text" edittype="text" text="bind:grntorzipcdaddr"/>
- <Cell col="14" displaytype="text" edittype="text" text="bind:grntordetladdr"/>
- <Cell col="15" text="bind:uncodescyn"/>
- <Cell col="16" text="bind:pid"/>
- <Cell col="17" text="bind:rcptdd"/>
- <Cell col="18" text="bind:rcptno"/>
- <Cell col="19" text="bind:orddd"/>
- <Cell col="20" text="bind:cretno"/>
- <Cell col="21" text="bind:seqno"/>
- <Cell col="22" text="bind:rcptstat"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 452 305 505 324" id="button3" class="btn2" text="행추가" onclick="button3_onclick" anchor="left bottom"/>
- <Button position="absolute 508 305 550 324" id="button4" class="btn5" text="삭제" onclick="button4_onclick" anchor="left bottom"/>
- <Button position="absolute 553 305 595 324" id="button5" class="btn5" text="저장" onclick="button5_onclick" anchor="left bottom"/>
- <Button position="absolute 1051 534 1104 553" id="button15" class="btn2" text="행추가" onclick="button15_onclick" anchor="right bottom"/>
- <Button position="absolute 1107 534 1149 553" id="button16" class="btn5" text="삭제" onclick="button16_onclick" anchor="right bottom"/>
- <Button position="absolute 1152 534 1194 553" id="button17" class="btn5" text="저장" onclick="button17_onclick" anchor="right bottom"/>
- <Button position="absolute 451 534 504 553" id="button2" class="btn2" text="행추가" onclick="button2_onclick" anchor="left bottom"/>
- <Button position="absolute 507 534 549 553" id="button6" class="btn5" text="삭제" onclick="button6_onclick" anchor="left bottom"/>
- <Button position="absolute 552 534 594 553" id="button7" class="btn5" text="저장" onclick="button7_onclick" anchor="left bottom"/>
- <Grid position="absolute 605 328 1195 528" align="align:center middle;" id="grd_lawsulist" binddataset="ds_list_detail_lawsulist" ontextchanged="grd_lawsulist_ontextchanged" autoenter="select" anchor="left right bottom">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="25" band="left"/>
- <Column size="55"/>
- <Column size="80"/>
- <Column size="0"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="80"/>
- <Column size="218"/>
- <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"/>
- <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"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <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="비고"/>
- <Cell col="8" text="intrrate"/>
- <Cell col="9" text="pid"/>
- <Cell col="10" text="rcptdd"/>
- <Cell col="11" text="rcptno"/>
- <Cell col="12" text="seqno"/>
- <Cell col="13" text="orddd"/>
- <Cell col="14" text="cretno"/>
- <Cell col="15" text="insukind"/>
- <Cell col="16" text="suppkind"/>
- <Cell col="17" text="rcptstat"/>
- <Cell col="18" text="uncorem"/>
- <Cell col="19" text="ordtype"/>
- <Cell col="20" text="uncoamt"/>
- <Cell col="21" text="uncocd"/>
- <Cell col="22" text="cashamt"/>
- <Cell col="23" text="cardamt"/>
- <Cell col="24" text="onlineamt"/>
- </Band>
- <Band id="body">
- <Cell celltype="head"/>
- <Cell col="1" displaytype="combo" edittype="expr:getRowType(currow) == 2 ? 'combo' : 'none'" style="align:center middle;" text="bind:uncorcptflag" combodataset="ds_cmb_uncorcptflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="2" displaytype="combo" edittype="expr:getRowType(currow) == 2 ? 'combo' : 'none'" style="align:center middle;" text="bind:uncoflag" combodataset="ds_cmb_uncoflag" combocodecol="value" combodatacol="label" enable="false"/>
- <Cell col="3" text="bind:rcpttm"/>
- <Cell col="4" displaytype="expr:utlf_isnull(uncoamt) ? "none" : "text"" edittype="text" style="align:right middle;padding:0 4 0 0;" text="bind:uncoamt" enable="false"/>
- <Cell col="5" displaytype="expr:utlf_isnull(rcptamt) ? "none" : "text"" edittype="text" style="align:right middle;padding:0 4 0 0;" text="bind:rcptamt" enable="false"/>
- <Cell col="6" displaytype="expr:utlf_isnull(debtamt) ? "none" : "text"" edittype="text" style="align:right middle;padding:0 4 0 0;" text="bind:debtamt" enable="false"/>
- <Cell col="7" displaytype="text" edittype="text" editfilter="lower,number,char" text="bind:remfact" editimemode="hangul"/>
- <Cell col="8" text="bind:intrrate"/>
- <Cell col="9" text="bind:pid"/>
- <Cell col="10" text="bind:rcptdd"/>
- <Cell col="11" text="bind:rcptno"/>
- <Cell col="12" text="bind:seqno"/>
- <Cell col="13" text="bind:orddd"/>
- <Cell col="14" text="bind:cretno"/>
- <Cell col="15" text="bind:insukind"/>
- <Cell col="16" text="bind:suppkind"/>
- <Cell col="17" text="bind:rcptstat"/>
- <Cell col="18" text="bind:uncorem"/>
- <Cell col="19" text="bind:ordtype"/>
- <Cell col="20" text="bind:uncoamt"/>
- <Cell col="21" text="bind:uncocd"/>
- <Cell col="22" text="bind:cashamt"/>
- <Cell col="23" text="bind:cardamt"/>
- <Cell col="24" text="bind:onlineamt"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 1052 304 1105 323" id="button8" class="btn2" text="행추가" onclick="button8_onclick" anchor="right bottom"/>
- <Button position="absolute 1108 304 1150 323" id="button9" class="btn5" text="삭제" onclick="button9_onclick" anchor="right bottom"/>
- <Button position="absolute 1153 304 1195 323" id="button10" class="btn5" text="저장" onclick="button10_onclick" anchor="right bottom"/>
- <Button position="absolute 0 760 99 782" id="button11" class="btn3" text="미수입금내역" onclick="button11_onclick" anchor="left bottom"/>
- <Button position="absolute 102 760 216 782" id="button12" class="btn3" text="기간별미수조회" onclick="button12_onclick" anchor="left bottom"/>
- <Button position="absolute 655 760 771 782" id="button13" class="btn3" visible="false" text="년도별미수조회" onclick="button13_onclick" anchor="left bottom"/>
- <Button position="absolute 545 760 649 782" id="button14" class="btn3" visible="false" text="승인미수내역" onclick="button14_onclick" anchor="left bottom"/>
- <Button position="absolute 1030 760 1110 782" id="button18" class="btn4" text="미수수납" onclick="button18_onclick" anchor="right bottom"/>
- <Grid position="absolute 815 247 1195 297" id="datagrid1" visible="false" binddataset="ds_datagrid1">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="53"/>
- <Column size="30"/>
- <Column size="25"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="pid"/>
- <Cell col="1" text="hngnm"/>
- <Cell col="2" text="addr"/>
- <Cell col="3" text="detladdr"/>
- <Cell col="4" text="uncoamt"/>
- <Cell col="5" text="intramt"/>
- <Cell col="6" text="grntornm"/>
- <Cell col="7" text="grntorzipcdaddr"/>
- <Cell col="8" text="grntordetladdr"/>
- <Cell col="9" text="uncorem"/>
- <Cell col="10" text="totamt"/>
- <Cell col="11" text="totamtkor"/>
- <Cell col="12" text="yyyy"/>
- <Cell col="13" text="mm"/>
- <Cell col="14" text="dd"/>
- </Band>
- <Band id="body">
- <Cell text="bind:pid"/>
- <Cell col="1" text="bind:hngnm"/>
- <Cell col="2" text="bind:addr"/>
- <Cell col="3" text="bind:detladdr"/>
- <Cell col="4" text="bind:uncoamt"/>
- <Cell col="5" text="bind:intramt"/>
- <Cell col="6" text="bind:grntornm"/>
- <Cell col="7" text="bind:grntorzipcdaddr"/>
- <Cell col="8" text="bind:grntordetladdr"/>
- <Cell col="9" text="bind:uncorem"/>
- <Cell col="10" text="bind:totamt"/>
- <Cell col="11" text="bind:totamtkor"/>
- <Cell col="12" text="bind:yyyy"/>
- <Cell col="13" text="bind:mm"/>
- <Cell col="14" text="bind:dd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid position="absolute 1015 197 1195 247" id="datagrid2" visible="false" binddataset="ds_datagrid2">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="100"/>
- <Column size="100"/>
- <Column size="100"/>
- </Columns>
- <Rows>
- <Row size="24" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell text="intr"/>
- <Cell col="1" text="law"/>
- <Cell col="2" text="intrtodd"/>
- </Band>
- <Band id="body">
- <Cell text="bind:law"/>
- <Cell col="1" text="bind:intr"/>
- <Cell col="2" text="bind:intrtodd"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Button position="absolute 219 760 323 782" id="button1" class="btn3" text="일일미수현황" onclick="button1_onclick" anchor="left bottom"/>
- <Button position="absolute 1125 760 1193 782" id="btn_clear" class="btn4" text="초기화" onclick="btn_clear_onclick" anchor="right bottom"/>
- <Button position="absolute 326 760 418 782" id="button19" class="btn3" text="보증인조회" onclick="button19_onclick" anchor="left bottom"/>
- <Button position="absolute 825 760 917 782" id="button20" class="btn3" visible="false" text="미수총괄표" onclick="button20_onclick" anchor="left bottom"/>
- <Button position="absolute 945 760 1025 782" id="button21" class="btn4" text="미수안내" onclick="button21_onclick" anchor="right bottom"/>
- <CheckBox position="absolute 717 537 737 552" id="bool1" falsevalue="N" truevalue="Y" onclick="bool1_onclick" anchor="right bottom"/>
- <Static text="※체크시 환자독촉장을 출력하지 않습니다(보증인만출력)" position="absolute 735 535 1048 555" id="caption3" style="color:red;" anchor="right bottom"/>
- <Button position="absolute 421 760 518 782" id="button22" class="btn3" text="미수총괄표" onclick="button22_onclick" anchor="left bottom"/>
- <Static id="caption60" text="미수금관리" class="tit_1" position="absolute 0 0 140 25"/>
- </Layout>
- </Layouts>
- <Objects>
- <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- <Column id="autoflag" type="STRING" size="256"/>
- <Column id="checkfnexam" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="srchcond"/>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="rrgstno1"/>
- <Col id="rrgstno2"/>
- <Col id="autoflag"/>
- <Col id="checkfnexam"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_list_unco_uncolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256" sumtext="체크하기"/>
- <Column id="pid" type="STRING" size="256" sumtext="등록번호"/>
- <Column id="hngnm" type="STRING" size="256" sumtext="환자이름"/>
- <Column id="hometel" type="STRING" size="256" sumtext="집전화"/>
- <Column id="mpphontel" type="STRING" size="256" sumtext="휴대전화"/>
- <Column id="zipcd" type="STRING" size="256" sumtext="우편번호"/>
- <Column id="zipaddr" type="STRING" size="256" sumtext="주소"/>
- <Column id="orddeptnm" type="STRING" size="256" sumtext="진료과명"/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="insukindnm" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="suppkindnm" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="rcptdd" type="STRING" size="256" sumtext="발생일자"/>
- <Column id="rcptno" type="STRING" size="256" sumtext="발생번호"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="orddd" type="STRING" size="256" sumtext="접수일"/>
- <Column id="cretno" type="STRING" size="256" sumtext=""/>
- <Column id="uncocls" type="STRING" size="256" sumtext="미수분류"/>
- <Column id="uncocd" type="STRING" size="256" sumtext="미수코드"/>
- <Column id="unconm" type="STRING" size="256" sumtext="미수코드"/>
- <Column id="rrgstno" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="uncoamt" type="STRING" size="256" sumtext="미수금액"/>
- <Column id="rcptamt" type="STRING" size="256" sumtext=""/>
- <Column id="debtamt" type="STRING" size="256" sumtext="입급액"/>
- <Column id="uncorem" type="STRING" size="256" sumtext="미수잔액"/>
- <Column id="guarcount" type="STRING" size="256" sumtext="보증인수"/>
- <Column id="acptcount" type="STRING" size="256" sumtext="이자발생수"/>
- <Column id="lawcount" type="STRING" size="256" sumtext="소송건수"/>
- <Column id="ordpaycount" type="STRING" size="256" sumtext="독촉발생수"/>
- <Column id="remfact" type="STRING" size="256" sumtext="수납에대한참고사항"/>
- <Column id="uncono" type="STRING" size="256" sumtext="미수번호"/>
- <Column id="shortdd" type="STRING" size="256" sumtext="단기시효일자"/>
- <Column id="longdd" type="STRING" size="256" sumtext="장기시효일자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_list_detail_guarlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_list_detail_guarlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256" sumtext="체크"/>
- <Column id="printyn" type="STRING" size="256" sumtext="출력여부"/>
- <Column id="grntornm" type="STRING" size="256" sumtext="보증인명"/>
- <Column id="grntorrrgstno1" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="grntorrrgstno2" type="STRING" size="256" sumtext="주민번호"/>
- <Column id="grntorsex" type="STRING" size="256" sumtext="성별"/>
- <Column id="grntorrel" type="STRING" size="256" sumtext="관계"/>
- <Column id="grntorhometel" type="STRING" size="256" sumtext="집전화"/>
- <Column id="grntorofficetel" type="STRING" size="256" sumtext="사무실전화"/>
- <Column id="grntormpphontel" type="STRING" size="256" sumtext="휴대폰번호"/>
- <Column id="grntorzipcd1" type="STRING" size="256" sumtext="우편번호"/>
- <Column id="grntorzipcd2" type="STRING" size="256" sumtext="우편번호"/>
- <Column id="grntorzipcdseq" type="STRING" size="256" sumtext="우편일련번호"/>
- <Column id="grntordetladdr" type="STRING" size="256" sumtext="상세주소"/>
- <Column id="grntorzipcdaddr" type="STRING" size="256" sumtext="우편주소"/>
- <Column id="uncodescyn" type="STRING" size="256" sumtext="미수설명여부"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="rcptdd" type="STRING" size="256" sumtext="발생일자"/>
- <Column id="rcptno" type="STRING" size="256" sumtext="발생순서"/>
- <Column id="orddd" type="STRING" size="256" sumtext="등록일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="순서"/>
- <Column id="seqno" type="STRING" size="256" sumtext="순서"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_list_detail_lawsulist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_list_detail_lawsulist_oncolumnchanged">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256" sumtext="처리구분"/>
- <Column id="uncorcptflag" type="STRING" size="256" sumtext="정산구분"/>
- <Column id="uncoflag" type="STRING" size="256" sumtext="미수구분"/>
- <Column id="rcpttm" type="STRING" size="256" sumtext="수납시간"/>
- <Column id="uncoamt" type="STRING" size="256" sumtext="금액"/>
- <Column id="intrfromdd" type="STRING" size="256" sumtext="이자시작일자"/>
- <Column id="intrtodd" type="STRING" size="256" sumtext="이자종료일자"/>
- <Column id="intrrate" type="STRING" size="256" sumtext="이자율"/>
- <Column id="remfact" type="STRING" size="256" sumtext="비고"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="rcptdd" type="STRING" size="256" sumtext="발생일자"/>
- <Column id="rcptno" type="STRING" size="256" sumtext="발생순서"/>
- <Column id="orddd" type="STRING" size="256" sumtext="등록일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="순서"/>
- <Column id="seqno" type="STRING" size="256" sumtext="순서"/>
- <Column id="rcptstat" type="STRING" size="256" sumtext=""/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="rcptamt" type="STRING" size="256" sumtext="대금"/>
- <Column id="cashamt" type="STRING" size="256" sumtext="대금"/>
- <Column id="cardamt" type="STRING" size="256" sumtext="대금"/>
- <Column id="onlineamt" type="STRING" size="256" sumtext="대금"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="uncorem" type="STRING" size="256" sumtext="미수잔액"/>
- <Column id="debtamt" type="STRING" size="256" sumtext="대손처리액"/>
- <Column id="uncocd" type="STRING" size="256" sumtext="미수구분"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_list_detail_acptlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_list_detail_acptlist_oncolumnchanged">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256" sumtext="처리구분"/>
- <Column id="uncorcptflag" type="STRING" size="256" sumtext="정산구분"/>
- <Column id="uncoflag" type="STRING" size="256" sumtext="미수구분"/>
- <Column id="rcpttm" type="STRING" size="256" sumtext="수납시간"/>
- <Column id="uncoamt" type="STRING" size="256" sumtext="금액"/>
- <Column id="acptuncorem" type="STRING" size="256" sumtext="이자미수잔액"/>
- <Column id="intrfromdd" type="STRING" size="256" sumtext="이자시작일자"/>
- <Column id="intrtodd" type="STRING" size="256" sumtext="이자종료일자"/>
- <Column id="intrrate" type="STRING" size="256" sumtext="이자율"/>
- <Column id="remfact" type="STRING" size="256" sumtext="비고"/>
- <Column id="pid" type="STRING" size="256" sumtext="환자번호"/>
- <Column id="rcptdd" type="STRING" size="256" sumtext="발생일자"/>
- <Column id="rcptno" type="STRING" size="256" sumtext="발생순서"/>
- <Column id="orddd" type="STRING" size="256" sumtext="등록일자"/>
- <Column id="cretno" type="STRING" size="256" sumtext="순서"/>
- <Column id="seqno" type="STRING" size="256" sumtext="순서"/>
- <Column id="rcptstat" type="STRING" size="256" sumtext=""/>
- <Column id="insukind" type="STRING" size="256" sumtext="보험유형"/>
- <Column id="suppkind" type="STRING" size="256" sumtext="보조유형"/>
- <Column id="rcptamt" type="STRING" size="256" sumtext="대금"/>
- <Column id="cashamt" type="STRING" size="256" sumtext="대금"/>
- <Column id="cardamt" type="STRING" size="256" sumtext="대금"/>
- <Column id="onlineamt" type="STRING" size="256" sumtext="대금"/>
- <Column id="ordtype" type="STRING" size="256" sumtext="진료형태"/>
- <Column id="uncorem" type="STRING" size="256" sumtext="미수잔액"/>
- <Column id="debtamt" type="STRING" size="256" sumtext="대손처리액"/>
- <Column id="uncocd" type="STRING" size="256" sumtext="미수구분"/>
- <Column id="rcptexecdd" type="STRING" size="256" sumtext="수납일자"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_list_detail_ordpaydemand" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_list_detail_ordpaydemand_oncolumnchanged">
- <ColumnInfo>
- <Column id="check" type="STRING" size="256" sumtext="체크"/>
- <Column id="issflag" type="STRING" size="256" sumtext="출력구분"/>
- <Column id="issdt" type="STRING" size="256" sumtext="시행일자"/>
- <Column id="isscnt" type="STRING" size="256" sumtext="시행일자"/>
- <Column id="remfact" type="STRING" size="256" sumtext="비고"/>
- <Column id="pid" type="STRING" size="256" sumtext="비고"/>
- <Column id="rcptdd" type="STRING" size="256" sumtext="비고"/>
- <Column id="rcptno" type="STRING" size="256" sumtext="비고"/>
- <Column id="orddd" type="STRING" size="256" sumtext="비고"/>
- <Column id="cretno" type="STRING" size="256" sumtext="비고"/>
- <Column id="endyn" type="STRING" size="256" sumtext="비고"/>
- <Column id="seqno" type="STRING" size="256" sumtext="비고"/>
- <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
- <Column id="bankno" type="STRING" size="256" sumtext="계좌번호"/>
- <Column id="koraddr" type="STRING" size="256" sumtext="한글주소"/>
- <Column id="engaddr" type="STRING" size="256" sumtext="영문주소"/>
- <Column id="hospnm" type="STRING" size="256" sumtext="병원명"/>
- <Column id="subremfact" type="STRING" size="256" sumtext="비고2"/>
- <Column id="phone" type="STRING" size="256" sumtext="전화번호"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="post" type="STRING" size="256"/>
- <Column id="acptdd" type="STRING" size="256"/>
- <Column id="checkall" type="STRING" size="256"/>
- <Column id="printpat" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="post"/>
- <Col id="acptdd"/>
- <Col id="checkall"/>
- <Col id="printpat">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_uncocd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_cmb_printyn" 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">Y</Col>
- <Col id="value">Y</Col>
- </Row>
- <Row>
- <Col id="label">N</Col>
- <Col id="value">N</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_grntorsex" 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">M</Col>
- </Row>
- <Row>
- <Col id="label">여</Col>
- <Col id="value">F</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_uncorcptflag" 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>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_uncoflag" 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">20</Col>
- </Row>
- <Row>
- <Col id="label">가압류</Col>
- <Col id="value">30</Col>
- </Row>
- <Row>
- <Col id="label">강제집행</Col>
- <Col id="value">40</Col>
- </Row>
- <Row>
- <Col id="label">재산관계명시</Col>
- <Col id="value">50</Col>
- </Row>
- <Row>
- <Col id="label">기타</Col>
- <Col id="value">60</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_uncoflag2" 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">10</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_paminit_P6584list_P6584" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_issflag" 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">A</Col>
- </Row>
- <Row>
- <Col id="label">최고장</Col>
- <Col id="value">B</Col>
- </Row>
- <Row>
- <Col id="label">진료비 납부 통지서(1)</Col>
- <Col id="value">C</Col>
- </Row>
- <Row>
- <Col id="label">진료비 납부 통지서(2)</Col>
- <Col id="value">D</Col>
- </Row>
- <Row>
- <Col id="label">진료비 납부 안내서(1)</Col>
- <Col id="value">E</Col>
- </Row>
- <Row>
- <Col id="label">진료비 납부 안내서(2)</Col>
- <Col id="value">H</Col>
- </Row>
- <Row>
- <Col id="label">안내서 저장용</Col>
- <Col id="value">F</Col>
- </Row>
- <Row>
- <Col id="label">기타</Col>
- <Col id="value">G</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_init_com_comncdlist_P0072list_P0072" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_com_comncdlist_P0001list_P0001" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_init_com_comncdlist_P0311list_P0311" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_data1" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="checkfnexam" type="STRING" size="256"/>
- <Column id="srchcond" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="autoflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="checkfnexam"/>
- <Col id="srchcond"/>
- <Col id="pid"/>
- <Col id="autoflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="rcptno" type="STRING" size="256"/>
- <Column id="rcptdd" type="STRING" size="256"/>
- <Column id="quarflag" type="STRING" size="256"/>
- <Column id="seqno" type="STRING" size="256"/>
- <Column id="sendflag" type="STRING" size="256"/>
- <Column id="uncocd" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="phoneflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="ioflag"/>
- <Col id="orddd"/>
- <Col id="rcptno"/>
- <Col id="rcptdd"/>
- <Col id="quarflag"/>
- <Col id="seqno"/>
- <Col id="sendflag"/>
- <Col id="uncocd"/>
- <Col id="hngnm"/>
- <Col id="phoneflag"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_patinfolist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="rrgstno1" type="STRING" size="256"/>
- <Column id="rrgstno2" type="STRING" size="256"/>
- <Column id="addr" type="STRING" size="256"/>
- <Column id="detladdr" type="STRING" size="256"/>
- <Column id="hometel" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="pid"/>
- <Col id="hngnm"/>
- <Col id="rrgstno1"/>
- <Col id="rrgstno2"/>
- <Col id="addr"/>
- <Col id="detladdr"/>
- <Col id="hometel"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_ordtype" 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">O</Col>
- </Row>
- <Row>
- <Col id="label">입원</Col>
- <Col id="value">I</Col>
- </Row>
- <Row>
- <Col id="label">응급</Col>
- <Col id="value">E</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_hidden_urgereport" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="law" type="STRING" size="256" sumtext="소송비"/>
- <Column id="intr" type="STRING" size="256" sumtext="이자"/>
- <Column id="intrtodd" type="STRING" size="256" sumtext="이자종료일"/>
- <Column id="intrtodd" type="STRING" size="256" sumtext="병원계좌"/>
- <Column id="intrtodd" type="STRING" size="256" sumtext="한글주소"/>
- <Column id="intrtodd" type="STRING" size="256" sumtext="영문주소"/>
- <Column id="intrtodd" type="STRING" size="256" sumtext="병원명"/>
- <Column id="intrtodd" type="STRING" size="256" sumtext="전화번호"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_printinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="addr" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="detladdr" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="yyyy" type="STRING" size="256"/>
- <Column id="mm" type="STRING" size="256"/>
- <Column id="dd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_cmb_issflag" 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">A</Col>
- </Row>
- <Row>
- <Col id="label">최고장</Col>
- <Col id="value">B</Col>
- </Row>
- <Row>
- <Col id="label">진료비 납부 통지서(1)</Col>
- <Col id="value">C</Col>
- </Row>
- <Row>
- <Col id="label">진료비 납부 통지서(2)</Col>
- <Col id="value">D</Col>
- </Row>
- <Row>
- <Col id="label">진료비 납부 안내서(1)</Col>
- <Col id="value">E</Col>
- </Row>
- <Row>
- <Col id="label">진료비 납부 안내서(2)</Col>
- <Col id="value">H</Col>
- </Row>
- <Row>
- <Col id="label">안내서 저장용</Col>
- <Col id="value">F</Col>
- </Row>
- <Row>
- <Col id="label">기타</Col>
- <Col id="value">G</Col>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_phone_phdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pnum" type="STRING" size="256" sumtext="전화번호"/>
- <Column id="bankno" type="STRING" size="256" sumtext="전화번호"/>
- <Column id="koraddr" type="STRING" size="256" sumtext="전화번호"/>
- <Column id="engaddr" type="STRING" size="256" sumtext="전화번호"/>
- <Column id="hospnm" type="STRING" size="256" sumtext="전화번호"/>
- <Column id="pnum" type="STRING" size="256" sumtext="전화번호"/>
- <Column id="subremfact" type="STRING" size="256" sumtext="전화번호"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_temp_detail_ordpaydemand" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="256"/>
- <Column id="phone" type="STRING" size="256"/>
- <Column id="bankno" type="STRING" size="256"/>
- <Column id="koraddr" type="STRING" size="256"/>
- <Column id="engaddr" type="STRING" size="256"/>
- <Column id="hospnm" type="STRING" size="256"/>
- <Column id="remfact" type="STRING" size="256"/>
- <Column id="subremfact" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row>
- <Col id="instcd"/>
- <Col id="phone"/>
- <Col id="bankno"/>
- <Col id="koraddr"/>
- <Col id="engaddr"/>
- <Col id="hospnm"/>
- <Col id="remfact"/>
- <Col id="subremfact"/>
- </Row>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_updatedata_datalist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- </Objects>
- <Bind>
- <BindItem id="item0" compid="grp.ipt_pid" propid="value" datasetid="ds_source" columnid="pid"/>
- <BindItem id="item1" compid="grp.input2" propid="value" datasetid="ds_send" columnid="hngnm"/>
- <BindItem id="item2" compid="grp.cmd_uncocd" propid="value" datasetid="ds_send" columnid="uncocd"/>
- <BindItem id="item3" compid="grp.output2" propid="value" datasetid="ds_patinfolist" columnid="rrgstno1"/>
- <BindItem id="item4" compid="grp.output3" propid="value" datasetid="ds_patinfolist" columnid="rrgstno2"/>
- <BindItem id="item5" compid="bool1" propid="value" datasetid="ds_temp" columnid="printpat"/>
- <BindItem id="item6" compid="grp.input1" propid="value" datasetid="ds_temp" columnid="acptdd"/>
- </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::PAM.xjs';
- include 'pam_pamcomnxp::PAM001.xjs';
- var arErrorCode = new HashArray();
- var checkall = 'N';
- var printpat = '';
- //=======================================================================================
- // callback
- //---------------------------------------------------------------------------------------
- function cf_callback(sSvcId, nErrorCode, sErrorMsg)
- {
- arErrorCode.push(sSvcId, nErrorCode);
- }
- function SMPAS00700_oninit(obj:Form, e:InitEventInfo)
- {
- // 폼 초기화
- frmf_initForm(obj);
- }
- function SMPAS00700_onload(obj:Form, e:LoadEventInfo)
- {
- grdf_initGrid(grd_uncolist);
- grdf_initGrid(grd_quar);
- grdf_initGrid(grd_lawsulist);
- grdf_initGrid(grd_acptlist);
- grdf_initGrid(grd_ordpaydemand);
-
- grdf_setRowTypeIcon(grd_quar, 0);
- grdf_setRowTypeIcon(grd_lawsulist, 0);
- grdf_setRowTypeIcon(grd_acptlist, 0);
- grdf_setRowTypeIcon(grd_ordpaydemand, 0);
-
- // 기초코드 조회(보험,감면,진료과,공통코드)
- fSetCodeList();
-
- frmf_addComboItem('grp.cmd_uncocd', '- 전 체 -', '', 'above');
- }
- function fSetCodeList()
- {
- // 공통코드
-
- var arrParam = [{dsNm: "ds_init_com_comncdlist_P0072list_P0072", cdGrpId: "P0072"}
- ,{dsNm: "ds_init_com_comncdlist_P0001list_P0001", cdGrpId: "P0001"}
- ,{dsNm: "ds_init_com_comncdlist_P0311list_P0311", cdGrpId: "P0311"}]
- appf_getCodeList(arrParam);
-
- if (ds_init_com_comncdlist_P0072list_P0072.rowcount == 0)
- {
- ds_init_com_comncdlist_P0072list_P0072.addRow();
- ds_init_com_comncdlist_P0072list_P0072.setColumn(0, "cdnm","-");
- ds_init_com_comncdlist_P0072list_P0072.setColumn(0, "cdid","-");
- }
-
- if (ds_init_com_comncdlist_P0001list_P0001.rowcount == 0)
- {
- ds_init_com_comncdlist_P0001list_P0001.addRow();
- ds_init_com_comncdlist_P0001list_P0001.setColumn(0, "cdnm","전체");
- ds_init_com_comncdlist_P0001list_P0001.setColumn(0, "cdid","-");
- }
-
- //원무사용 기초코드 조회(진료과,의사,할인,미수코드)
- dsf_createDs("ds_req");
- ds_req.addColumn("sess_posinstcd", "string");
-
- var oParam = {};
- oParam.id = "TRPAMCOM01";
- oParam.service = "pamcomnapp.PamComn";
- oParam.method = "reqGetComCD";
- oParam.inds = "req=ds_req";
- oParam.outds = "ds_=disccd ds_=insukind ds_=suppkind ds_=orddeptcd ds_=orddrid ds_=reducd ds_init_uncocd=uncocd ds_=proccd ds_=subjno ds_=rcptflag";
- oParam.async = false;
- //oParam.callback = "cf_TRPAMCOM01";
- tranf_submit(oParam);
- // 원무 공통코드 조회
- var arrParam = new Array();
- arrParam = [{dsNm: "ds_paminit_P6584list_P6584", cdGrpId: "P6584", showValue: false}];
- pamfGetCodeList(arrParam, true, "");
- }
- /****************************************************************************************
- * Argument :
- * Description : 등록번호 키보드 입력 이벤트
- ****************************************************************************************/
- function grp_ipt_pid_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- grp.btn_pid.click();
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 한글이름 입력 이벤트
- ****************************************************************************************/
- function grp_input2_onkeydown(obj:Edit, e:KeyEventInfo)
- {
- if(e.keycode == 13)
- {
- obj.updateToDataset();
- grp.btn_hngnm.click();
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 환자 검색 아이콘 클릭 이벤트
- ****************************************************************************************/
- function grp_btn_pid_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_patinfolist.setColumn(0, "pid", ds_source.getColumn(0, "pid"));
- var ptbs_pid = ds_patinfolist.getColumn(0, 'pid');
- var hometel = ds_patinfolist.getColumn(0, 'hometel');
- var row = ds_list_unco_uncolist.rowposition;
-
- ds_send.setColumn(0, "orddd", "");
- ds_send.setColumn(0, "uncocd", "");
- ds_list_detail_acptlist.clearData();
- ds_list_detail_guarlist.clearData();
- ds_list_detail_lawsulist.clearData();
- ds_list_detail_ordpaydemand.clearData();
- var srchcond = '';
- if(utlf_isNull(ptbs_pid) || ptbs_pid == '' || ptbs_pid == ' ')
- {
- ds_send_data1.clearData();
- }
- else
- {
- ds_send_data1.setColumn(0, "pid", ptbs_pid);
- ds_send_data1.setColumn(0, "srchcond", "1");
- }
-
- ds_send_data1.setColumn(0, "checkfnexam", "1");
-
- var objArg = new Object();
- objArg.arg_ds_send = ds_send_data1;
- frmf_modal("SPPMC02500", "SPPMC02500", objArg, "", "", "", "", "", "", "", "", "", "M");
- grp.btn_search.click();
- }
- /****************************************************************************************
- * Argument :
- * Description : 미수구분 콤보 아이템 변경 후 이벤트
- ****************************************************************************************/
- function grp_cmd_uncocd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
- {
- if(utlf_transNullToEmpty(ds_source.getColumn(0, 'pid')) == '' || utlf_transNullToEmpty(ds_send.getColumn(0, 'hngnm')) == '')
- {
- return;
- }
-
- if(utlf_transNullToEmpty(ds_source.getColumn(0, 'pid')) == '')
- {
- grp.btn_hngnm.click();
- }
- else
- {
- grp.btn_search.click();
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 한글이름 검색 버튼 클릭 이벤트(hidden 이라 UX상 클릭할 수 없으나소스 상 클릭)
- ****************************************************************************************/
- function grp_btn_hngnm_onclick(obj:Button, e:ClickEventInfo)
- {
- var oParam = {};
- oParam.id = "TRPAS00700";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetUncoManage";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_list_unco_uncolist=uncolist";
- oParam.async = false;
- //oParam.callback = "cf_callback";
- tranf_submit(oParam);
-
- ds_list_unco_uncolist.addColumn("check", "string");
- ds_list_unco_uncolist.rowposition = -1;
- }
- /****************************************************************************************
- * Argument :
- * Description : 조회 버튼 클릭 이벤트
- ****************************************************************************************/
- function grp_btn_search_onclick(obj:Button, e:ClickEventInfo)
- {
- if(utlf_transNullToEmpty(ds_source.getColumn(0, 'pid')) == '')
- {
- sysf_messageBox('환자번호를 입력하세요!!', 'E999');
- return false;
- }
-
- ds_send.setColumn(0, 'pid', ds_source.getColumn(0, 'pid'));
- ds_send.setColumn(0, 'hngnm', ds_patinfolist.getColumn(0, 'hngnm'));
- ds_temp.setColumn(0, "checkall", "N");
-
- var oParam = {};
- oParam.id = "TRPAS00700";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetUncoManage";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_list_unco_uncolist=uncolist";
- oParam.async = false;
- //oParam.callback = "callback";
- tranf_submit(oParam);
-
- ds_list_unco_uncolist.addColumn("check", "string");
- ds_list_unco_uncolist.rowposition = -1;
- }
- /****************************************************************************************
- * Argument :
- * Description : 미수내역 그리드 클릭 이벤트
- ****************************************************************************************/
- function grd_uncolist_oncellclick(obj:Grid, e:GridClickEventInfo)
- {
- if(e.cell == obj.getBindCellIndex("Body", "rcptdd") && e.row >= 0 && ds_list_unco_uncolist.getColumn(ds_list_unco_uncolist.rowposition, "suppkindnm") != "소계")
- {
- frmf_setParameter("pid", ds_list_unco_uncolist.getColumn(ds_list_unco_uncolist.rowposition, "pid"));
- frmf_setParameter("rcptdd", ds_list_unco_uncolist.getColumn(ds_list_unco_uncolist.rowposition, "rcptdd"));
-
- frmf_open("SPPAS00701", "SPPAS00701", "", "", "", "", "", "", "", "", "", "", "M");
- }
- else if(e.row >= 0)
- {
- /** 추가 요청 사항
- 발생일자가 동일할시에는 체크상태의
- 미수잔액금을 모두 더해 출력물에 표시한다
- **/
- var uncomoney = 0;
- var row = ds_list_unco_uncolist.rowposition;
- var rcptdd = ds_list_unco_uncolist.lookup("check", "Y", "rcptdd");
- var uncorem = ds_list_unco_uncolist.getColumn(row, "uncorem");
-
- ds_source.setColumn(0, "pid" , ds_list_unco_uncolist.getColumn(row, "pid"));
- ds_send.setColumn(0, "pid" , ds_list_unco_uncolist.getColumn(row, "pid"));
- //소계만 찍을수 있도록 요청함
- if(ds_list_unco_uncolist.getColumn(row, "suppkindnm") == "소계")
- {
- //클릭시 체크 "Y" or "N"
- if(utlf_isNull(ds_list_unco_uncolist.getColumn(row, "check")))
- {
- ds_list_unco_uncolist.setColumn(row, "check" , "Y");
- }
- else if(ds_list_unco_uncolist.getColumn(row, "check") == "Y")
- {
- ds_list_unco_uncolist.setColumn(row, "check", "N");
- ds_list_detail_guarlist.clearData();
- ds_list_detail_acptlist.clearData();
- ds_list_detail_lawsulist.clearData();
- ds_list_detail_ordpaydemand.clearData();
- ds_list_unco_uncolist.setColumn(row, "check" , "");
- }
- //선택된 미수금 더하고 빼기
- if(ds_temp.getColumn(0, "checkall") == "N")
- {
- for(var i = 0; i < ds_list_unco_uncolist.rowcount; i++)
- {
- if(ds_list_unco_uncolist.getColumn(i, "check") == "Y")
- {
- uncomoney += parseInt(ds_list_unco_uncolist.getColumn(i, "uncorem"));
- }
- if(ds_list_unco_uncolist.getColumn(i, "check") == "N")
- {
- uncomoney -= parseInt(ds_list_unco_uncolist.getColumn(i, "uncorem"));
- }
- }
- }
- }
- else
- {
- sysf_messageBox("소계만 선택이" , "I006");
- return;
- }
- //필수 컬럼
- ds_send.setColumn(0, "quarflag" , "quar");
- ds_send.setColumn(0, "pid" , ds_list_unco_uncolist.getColumn(row, "pid"));
- ds_send.setColumn(0, "orddd" , ds_list_unco_uncolist.getColumn(row, "orddd"));
- ds_send.setColumn(0, "rcptno" , ds_list_unco_uncolist.getColumn(row, "rcptno"));
- ds_send.setColumn(0, "uncocd" , ds_list_unco_uncolist.getColumn(row, "uncocd"));
-
- var oParam = {};
- oParam.id = "TRPAS00710";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetGuarList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_list_detail_guarlist=guarlist ds_list_detail_acptlist=acptlist "
- +"ds_list_detail_lawsulist=lawsulist ds_list_detail_ordpaydemand=ordpaydemand";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00710";
- tranf_submit(oParam);
- ds_list_detail_acptlist.addColumn("intramt", "string");
-
- var oParam = {};
- oParam.id = "TRPAS00720";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetUrgeReport";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_hidden_urgereport=urgereport";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00720";
- tranf_submit(oParam);
- ds_temp_printinfo.addColumn("pid", "string");
- ds_temp_printinfo.addColumn("hngnm", "string");
- ds_temp_printinfo.addColumn("addr", "string");
- ds_temp_printinfo.addColumn("detladdr", "string");
- ds_temp_printinfo.addColumn("uncoamt", "string");
- ds_temp_printinfo.addColumn("intramt", "string");
- ds_temp_printinfo.addColumn("grntornm", "string");
- ds_temp_printinfo.addColumn("grntorzipcdaddr", "string");
- ds_temp_printinfo.addColumn("grntordetladdr", "string");
- ds_temp_printinfo.addColumn("uncorem", "string");
- ds_temp_printinfo.addColumn("totamt", "string");
- ds_temp_printinfo.addColumn("totamtkor", "string");
-
- dsf_makeValue(ds_temp_printinfo, "uncoamt", "string", uncomoney);
- dsf_makeValue(ds_temp_printinfo, "uncorem", "string", ds_temp_printinfo.getColumn(0, "uncoamt").setAmountToKorean()+"원");
-
- frmf_setParameter("SMPAM00100_PID_PARM" , ds_list_unco_uncolist.getColumn(row, "pid"));
- }
- }
- function ds_list_detail_lawsulist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- var row = ds_list_unco_uncolist.rowposition;
- var cur_row = e.row;
- var uncorcptflag = obj.getColumn(cur_row, "uncorcptflag");
- var rcptamt = obj.getColumn(cur_row, "rcptamt");
-
- if(uncorcptflag == "1")
- {
- obj.setColumn(cur_row, "cashamt" , "0");
- obj.setColumn(cur_row, "debtamt" , "0");
- }
- else if(uncorcptflag == "2")
- {
- obj.setColumn(cur_row, "uncoamt" , "0");
- obj.setColumn(cur_row, "debtamt" , "0");
-
- if ( rcptamt != 0 || !utlf_isNull(rcptamt))
- {
- obj.setColumn(cur_row, "cashamt" , rcptamt);
- }
- }
- else if(uncorcptflag == "3")
- {
- obj.setColumn(cur_row, "uncoamt" , "0");
- obj.setColumn(cur_row, "cashamt" , "0");
- }
- }
- function ds_list_detail_acptlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
- {
- //이자 구하기
- var cur_row = e.row;
- var uncorcptflag = obj.getColumn(cur_row, "uncorcptflag");
- var intramt = parseInt(obj.getColumn(cur_row, "intramt"));
- var fromdd = obj.getColumn(cur_row, "intrfromdd");
- var todd = obj.getColumn(cur_row, "intrtodd");
- var gigan = parseInt(utlf_getDateInterval(fromdd, todd));
- var intryul = parseInt(obj.getColumn(cur_row, "intrrate"))/100;
- //이자구하기 (이자대상금액 X 기간 X 이자율) / 365 - 1원단위 절삭
- var intramt = (intramt * gigan * intryul) /365 - ((intramt * gigan * intryul) /365)%10;
- if(uncorcptflag == "1")
- {
- //이자종료일이 99991231 일시에는 이자율 구하지 않음
- if(todd == "99991231")
- {
- obj.setColumn(cur_row, "debtamt" , "0");
- obj.setColumn(cur_row, "cashamt" , "0");
- obj.setColumn(cur_row, "uncoamt" , "0");
- }
- else
- {
- obj.setColumn(cur_row, "debtamt" , "0");
- obj.setColumn(cur_row, "cashamt" , "0");
- obj.setColumn(cur_row, "uncoamt" , intramt);
- }
- }
- else if(uncorcptflag == "2")
- {
- obj.setColumn(cur_row, "uncoamt" , "0");
- obj.setColumn(cur_row, "debtamt" , "0");
- obj.setColumn(cur_row, "cashamt" , intramt);
- }
- else if(uncorcptflag == "3")
- {
- obj.setColumn(cur_row, "uncoamt" , "0");
- obj.setColumn(cur_row, "cashamt" , "0");
- obj.setColumn(cur_row, "debtamt" , intramt);
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 보증인내역 그리드 더블 클릭 이벤트
- ****************************************************************************************/
- function grd_quar_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var retValue = appf_getZipCodeList("combination");
- var row = ds_list_detail_guarlist.rowposition
- ds_list_detail_guarlist.setColumn(row, "grntorzipcd1", retValue.zipcdhead);
- ds_list_detail_guarlist.setColumn(row, "grntorzipcd2", retValue.zipcdfoot);
- ds_list_detail_guarlist.setColumn(row, "grntorzipcdseq", retValue.seqno);
- ds_list_detail_guarlist.setColumn(row, "grntorzipcdaddr", retValue.address);
- ds_list_detail_guarlist.setColumn(row, "grntordetladdr", retValue.address_detail);
- ds_list_detail_guarlist.setColumn(row, "uncodescyn", "Y");
- }
- /****************************************************************************************
- * Argument :
- * Description : 진료비독촉내역 그리드 셀 더블 클릭 이벤트
- ****************************************************************************************/
- function grd_ordpaydemand_oncelldblclick(obj:Grid, e:GridClickEventInfo)
- {
- var colName = obj.getCellProperty('Body', obj.currentcell, 'text');
- colName = colName.substr(5, colName.length);
-
- if(colName == 'issflag')
- {
- fPrintordpaydemand();
- }
- }
- /****************************************************************************************
- * Argument :
- * Description :
- ****************************************************************************************/
- function fPrintordpaydemand()
- {
- var row = ds_list_unco_uncolist.rowposition;
- var cur_row = ds_list_detail_ordpaydemand.rowposition;
- var quarrow = ds_list_detail_guarlist.rowcount;
-
- // 이자금액, 소송금액, 이자종료일 받아오기
- var oParam = {};
- oParam.id = "TRPAS00720";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetUrgeReport";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_hidden_urgereport=urgereport";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00720";
- tranf_submit(oParam);
-
- ds_temp_printinfo.setColumn(0, 'pid', ds_list_unco_uncolist.getColumn(row, 'pid'));
- ds_temp_printinfo.setColumn(0, 'hngnm', ds_list_unco_uncolist.getColumn(row, 'hngnm'));
- ds_temp_printinfo.setColumn(0, 'addr', ds_list_unco_uncolist.getColumn(row, 'zipaddr'));
- ds_temp_printinfo.setColumn(0, 'detladdr', ds_list_unco_uncolist.getColumn(row, 'zipcd'));
- ds_temp_printinfo.setColumn(0, 'orddd', ds_list_unco_uncolist.getColumn(row, 'orddd'));
- ds_temp_printinfo.setColumn(0, 'orddeptnm', ds_list_unco_uncolist.getColumn(row, 'orddeptnm'));
-
- // 총진료비 구하기
- var totamt = parseInt(ds_hidden_urgereport.getColumn(0, 'law'))
- + parseInt(ds_hidden_urgereport.getColumn(0, 'intr'))
- + parseInt(ds_temp_printinfo.getColumn(0, 'uncoamt'));
-
- ds_temp_printinfo.setColumn(0, 'totamt', totamt);
- ds_temp_printinfo.setColumn(0, 'totamtkor', String(totamt).setAmountToKorean() + '원');
- trace("issflag==="+ds_list_detail_ordpaydemand.getColumn(cur_row, 'issflag'))
- trace("quarrow==="+quarrow)
- // 진료비 독촉 보고서
- if( ds_list_detail_ordpaydemand.rowposition >= 0)
- {
- // 독촉장
- if(ds_list_detail_ordpaydemand.getColumn(cur_row, 'issflag') == 'A')
- {
- ds_send.setColumn(0, 'phoneflag', 'A');
-
- var oParam = {};
- oParam.id = "TRPAS00721";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetUncoPhoneInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_phone_phdata=phdata";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00721";
- tranf_submit(oParam);
-
- ds_temp_detail_ordpaydemand.clearData();
- ds_temp_detail_ordpaydemand.addRow();
-
- ds_temp_detail_ordpaydemand.setColumn(0, 'instcd', sysf_getUserInfo('dutplceinstcd'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'phone', ds_phone_phdata.getColumn(0, 'pnum'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'bankno', ds_phone_phdata.getColumn(0, 'bankno'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'koraddr', ds_phone_phdata.getColumn(0, 'koraddr'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'engaddr', ds_phone_phdata.getColumn(0, 'engaddr'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'hospnm', ds_phone_phdata.getColumn(0, 'hospnm'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'remfact', ds_list_detail_ordpaydemand.getColumn(cur_row, 'remfact'));
-
- if(ds_temp.getColumn(0, "printpat") == "N")
- { //환자용 독촉장 출력
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00710"],[objParam], option);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00710"],[objParam], option);
- }
-
- for(var i = 0; i < quarrow; i++)
- {
- if(ds_list_detail_guarlist.getColumn(i, 'printyn') == 'Y')
- {
- // 보증인 이름, 주소, 상세주소 가져오기
- ds_temp_printinfo.setColumn(0, 'grntornm', ds_list_detail_guarlist.getColumn(i, 'grntornm'));
-
- ds_temp_printinfo.setColumn(0, 'grntorzipcdaddr', ds_list_detail_guarlist.getColumn(i, 'grntorzipcdaddr') + ' ' +
- ds_list_detail_guarlist.getColumn(i, 'grntordetladdr'));
-
- // 신우편번호 적용
- if (String(ds_list_detail_guarlist.getColumn(i, "grntorzipcd2")).length == 2)
- {
- ds_temp_printinfo.setColumn(0, "grntordetladdr" , ds_list_detail_guarlist.getColumn(i, "grntorzipcd1") + ds_list_detail_guarlist.getColumn(i, "grntorzipcd2"));
- }
- else
- {
- ds_temp_printinfo.setColumn(0, "grntordetladdr" , ds_list_detail_guarlist.getColumn(i, "grntorzipcd1")+"-"+ds_list_detail_guarlist.getColumn(i, "grntorzipcd2"));
- }
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00711"],[objParam], option);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00711"],[objParam], option);
- }
- }
- }
- // 최고장
- else if(ds_list_detail_ordpaydemand.getColumn(cur_row, 'issflag') == 'B')
- {
- ds_send.setColumn(0, 'phoneflag', 'B');
-
- var oParam = {};
- oParam.id = "TRPAS00721";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetUncoPhoneInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_phone_phdata=phdata";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00721";
- tranf_submit(oParam);
-
- ds_temp_detail_ordpaydemand.clearData();
- ds_temp_detail_ordpaydemand.addRow();
-
- ds_temp_detail_ordpaydemand.setColumn(0, 'instcd', sysf_getUserInfo('dutplceinstcd'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'phone', ds_phone_phdata.getColumn(0, 'pnum'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'bankno', ds_phone_phdata.getColumn(0, 'bankno'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'koraddr', ds_phone_phdata.getColumn(0, 'koraddr'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'engaddr', ds_phone_phdata.getColumn(0, 'engaddr'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'hospnm', ds_phone_phdata.getColumn(0, 'hospnm'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'remfact', ds_list_detail_ordpaydemand.getColumn(cur_row, 'remfact'));
-
- if(ds_temp.getColumn(0, "printpat") == "N")
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00740"],[objParam], option);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00740"],[objParam], option);
- }
-
- for(var i = 0; i < quarrow; i++)
- {
- if(ds_list_detail_guarlist.getColumn(i, 'printyn') == 'Y')
- {
- ds_temp_printinfo.setColumn(0, 'grntornm', ds_list_detail_guarlist.getColumn(i, 'grntornm'));
- ds_temp_printinfo.setColumn(0, 'grntorzipcdaddr', ds_list_detail_guarlist.getColumn(i, 'grntorzipcdaddr') + ' ' + ds_list_detail_guarlist.getColumn(i, 'grntordetladdr'));
- ds_temp_printinfo.setColumn(0, 'grntordetladdr', ds_list_detail_guarlist.getColumn(i, 'grntorzipcd1') + '-' +ds_list_detail_guarlist.getColumn(i, 'grntorzipcd2'));
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00741"],[objParam], option);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00741"],[objParam], option);
- }
- }
- }
- // 진료비 납부 통지서(1)
- else if(ds_list_detail_ordpaydemand.getColumn(cur_row, 'issflag') == 'C')
- {
- ds_send.setColumn(0, 'phoneflag', 'C');
-
- var oParam = {};
- oParam.id = "TRPAS00721";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetUncoPhoneInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_phone_phdata=phdata";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00721";
- tranf_submit(oParam);
-
- ds_temp_detail_ordpaydemand.clearData();
- ds_temp_detail_ordpaydemand.addRow();
-
- ds_temp_detail_ordpaydemand.setColumn(0, 'instcd', sysf_getUserInfo('dutplceinstcd'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'phone', ds_phone_phdata.getColumn(0, 'pnum'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'bankno', ds_phone_phdata.getColumn(0, 'bankno'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'koraddr', ds_phone_phdata.getColumn(0, 'koraddr'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'engaddr', ds_phone_phdata.getColumn(0, 'engaddr'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'hospnm', ds_phone_phdata.getColumn(0, 'hospnm'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'remfact', ds_list_detail_ordpaydemand.getColumn(cur_row, 'remfact'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'subremfact', ds_phone_phdata.getColumn(0, 'subremface'));
-
- if(ds_temp.getColumn(0, "printpat") == "N")
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00730"],[objParam], option);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00730"],[objParam], option);
- }
-
- for(var i = 0; i < quarrow; i++)
- {
- if(ds_list_detail_guarlist.getColumn(i, 'printyn') == 'Y')
- {
- ds_temp_printinfo.setColumn(0, 'grntornm', ds_list_detail_guarlist.getColumn(i, 'grntornm'));
- ds_temp_printinfo.setColumn(0, 'grntorzipcdaddr', ds_list_detail_guarlist.getColumn(i, 'grntorzipcdaddr') + ' ' +ds_list_detail_guarlist.getColumn(i, 'grntordetladdr'));
- ds_temp_printinfo.setColumn(0, 'grntordetladdr', ds_list_detail_guarlist.getColumn(i, 'grntorzipcd1') + '-' +ds_list_detail_guarlist.getColumn(i, 'grntorzipcd2'));
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00731"],[objParam], option);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00731"],[objParam], option);
- }
- }
- }
- // 진료비 납부 통지서(2)
- else if(ds_list_detail_ordpaydemand.getColumn(cur_row, 'issflag') == 'D')
- {
- ds_send.setColumn(0, 'phoneflag', 'D');
-
- var oParam = {};
- oParam.id = "TRPAS00721";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetUncoPhoneInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_phone_phdata=phdata";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00721";
- tranf_submit(oParam);
-
- ds_temp_detail_ordpaydemand.clearData();
- ds_temp_detail_ordpaydemand.addRow();
- ds_temp_detail_ordpaydemand.setColumn(0, 'instcd', sysf_getUserInfo('dutplceinstcd'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'phone', ds_phone_phdata.getColumn(0, 'pnum'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'bankno', ds_phone_phdata.getColumn(0, 'bankno'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'koraddr', ds_phone_phdata.getColumn(0, 'koraddr'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'engaddr', ds_phone_phdata.getColumn(0, 'engaddr'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'hospnm', ds_phone_phdata.getColumn(0, 'hospnm'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'remfact', ds_list_detail_ordpaydemand.getColumn(cur_row, 'remfact'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'subremfact', ds_list_detail_ordpaydemand.getColumn(cur_row, 'subremface'));
-
- if(ds_temp.getColumn(0, "printpat") == "N")
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/hidden/urgereport", ds_hidden_urgereport);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00700"],[objParam], option);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/hidden/urgereport", ds_hidden_urgereport);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00700"],[objParam], option);
- }
-
- for(var i = 0; i < quarrow; i++)
- {
- if(ds_list_detail_guarlist.getColumn(i, 'printyn') == 'Y')
- {
- ds_temp_printinfo.setColumn(0, 'grntornm', ds_list_detail_guarlist.getColumn(i, 'grntornm'));
- ds_temp_printinfo.setColumn(0, 'grntorzipcdaddr', ds_list_detail_guarlist.getColumn(i, 'grntorzipcdaddr') + ' ' +ds_list_detail_guarlist.getColumn(i, 'grntordetladdr'));
- ds_temp_printinfo.setColumn(0, 'grntordetladdr', ds_list_detail_guarlist.getColumn(i, 'grntorzipcd1') + '-' +ds_list_detail_guarlist.getColumn(i, 'grntorzipcd2'));
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/hidden/urgereport", ds_hidden_urgereport);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00701"],[objParam], option);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/hidden/urgereport", ds_hidden_urgereport);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00701"],[objParam], option);
- }
- }
- }
- // 진료비 납부 안내서(1)
- else if(ds_list_detail_ordpaydemand.getColumn(cur_row, 'issflag') == 'E')
- {
- if(ds_list_unco_uncolist.getColumn(row, 'unconm') != '치과미수')
- {
- ds_send.setColumn(0, 'phoneflag', 'E');
-
- var oParam = {};
- oParam.id = "TRPAS00721";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetUncoPhoneInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_phone_phdata=phdata";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00721";
- tranf_submit(oParam);
-
- ds_temp_detail_ordpaydemand.clearData();
- ds_temp_detail_ordpaydemand.addRow();
-
- ds_temp_detail_ordpaydemand.setColumn(0, 'instcd', sysf_getUserInfo('dutplceinstcd'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'phone', ds_phone_phdata.getColumn(0, 'pnum'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'bankno', ds_phone_phdata.getColumn(0, 'bankno'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'koraddr', ds_phone_phdata.getColumn(0, 'koraddr'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'engaddr', ds_phone_phdata.getColumn(0, 'engaddr'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'hospnm', ds_phone_phdata.getColumn(0, 'hospnm'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'remfact', ds_list_detail_ordpaydemand.getColumn(cur_row, 'remfact'));
-
- if(ds_temp.getColumn(0, "printpat") == "N")
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00720"],[objParam], option);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00720"],[objParam], option);
- }
- }
- else if(ds_list_unco_uncolist.getColumn(row, 'unconm') == '치과미수')
- {
- ds_send.setColumn(0, 'phoneflag', 'Z');
-
- var oParam = {};
- oParam.id = "TRPAS00721";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetUncoPhoneInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_phone_phdata=phdata";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00721";
- tranf_submit(oParam);
- ds_temp_detail_ordpaydemand.clearData();
- ds_temp_detail_ordpaydemand.addRow();
-
- ds_temp_detail_ordpaydemand.setColumn(0, 'instcd', sysf_getUserInfo('dutplceinstcd'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'phone', ds_phone_phdata.getColumn(0, 'pnum'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'bankno', ds_phone_phdata.getColumn(0, 'bankno'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'koraddr', ds_phone_phdata.getColumn(0, 'koraddr'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'engaddr', ds_phone_phdata.getColumn(0, 'engaddr'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'hospnm', ds_phone_phdata.getColumn(0, 'hospnm'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'remfact', ds_list_detail_ordpaydemand.getColumn(cur_row, 'remfact'));
-
- if(ds_temp.getColumn(0, "printpat") == "N")
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00725"],[objParam], option);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00725"],[objParam], option);
- }
- }
-
- for(var i = 0; i < quarrow; i++)
- {
- if(ds_list_detail_guarlist.getColumn(i, 'printyn') == 'Y')
- {
- ds_temp_printinfo.setColumn(0, 'grntornm', ds_list_detail_guarlist.getColumn(i, 'grntornm'));
- ds_temp_printinfo.setColumn(0, 'grntorzipcdaddr', ds_list_detail_guarlist.getColumn(i, 'grntorzipcdaddr') + ' ' +ds_list_detail_guarlist.getColumn(i, 'grntordetladdr'));
- ds_temp_printinfo.setColumn(0, 'grntordetladdr', ds_list_detail_guarlist.getColumn(i, 'grntorzipcd1') + '-' +ds_list_detail_guarlist.getColumn(i, 'grntorzipcd2'));
-
- if(ds_list_unco_uncolist.getColumn(row, 'unconm') != '치과미수')
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00721"],[objParam], option);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00721"],[objParam], option);
- }
- else if(ds_list_unco_uncolist.getColumn(row, 'unconm') == '치과미수')
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00726"],[objParam], option);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00726"],[objParam], option);
- }
- }
- }
- }
- //진료비 납부 안내서(2)
- else if(ds_list_detail_ordpaydemand.getColumn(cur_row, 'issflag') == 'H')
- {
- if(ds_list_unco_uncolist.getColumn(row, 'unconm') != '치과미수')
- {
- ds_send.setColumn(0, 'phoneflag', 'H');
-
- var oParam = {};
- oParam.id = "TRPAS00721";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetUncoPhoneInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_phone_phdata=phdata";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00721";
- tranf_submit(oParam);
- ds_temp_detail_ordpaydemand.clearData();
- ds_temp_detail_ordpaydemand.addRow();
-
- ds_temp_detail_ordpaydemand.setColumn(0, 'instcd', sysf_getUserInfo('dutplceinstcd'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'phone', ds_phone_phdata.getColumn(0, 'pnum'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'bankno', ds_phone_phdata.getColumn(0, 'bankno'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'koraddr', ds_phone_phdata.getColumn(0, 'koraddr'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'engaddr', ds_phone_phdata.getColumn(0, 'engaddr'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'hospnm', ds_phone_phdata.getColumn(0, 'hospnm'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'remfact', ds_list_detail_ordpaydemand.getColumn(cur_row, 'remfact'));
-
- if(ds_temp.getColumn(0, "printpat") == "N")
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp", ds_temp);
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00722"],[objParam], option);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp", ds_temp);
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00722"],[objParam], option);
- }
- }
- else if(ds_list_unco_uncolist.getColumn(row, 'unconm') == '치과미수')
- {
- ds_send.setColumn(0, 'phoneflag', 'Z');
-
- var oParam = {};
- oParam.id = "TRPAS00721";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetUncoPhoneInfo";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_phone=phdata";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00721";
- tranf_submit(oParam);
- ds_temp_detail_ordpaydemand.clearData();
- ds_temp_detail_ordpaydemand.addRow();
-
- ds_temp_detail_ordpaydemand.setColumn(0, 'instcd', sysf_getUserInfo('dutplceinstcd'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'phone', ds_phone_phdata.getColumn(0, 'pnum'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'bankno', ds_phone_phdata.getColumn(0, 'bankno'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'koraddr', ds_phone_phdata.getColumn(0, 'koraddr'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'engaddr', ds_phone_phdata.getColumn(0, 'engaddr'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'hospnm', ds_phone_phdata.getColumn(0, 'hospnm'));
- ds_temp_detail_ordpaydemand.setColumn(0, 'remfact', ds_list_detail_ordpaydemand.getColumn(cur_row, 'remfact'));
-
- if(ds_temp.getColumn(0, "printpat") == "N")
- {
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp", ds_temp);
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00722"],[objParam], option);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp", ds_temp);
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00722"],[objParam], option);
- }
- }
-
- for(var i = 0; i < quarrow; i++)
- {
- if(ds_list_detail_guarlist.getColumn(i, 'printyn') == 'Y')
- {
- ds_temp_printinfo.setColumn(0, 'grntornm', ds_list_detail_guarlist.getColumn(i, 'grntornm'));
- ds_temp_printinfo.setColumn(0, 'grntorzipcdaddr', ds_list_detail_guarlist.getColumn(i, 'grntorzipcdaddr') + ' ' +ds_list_detail_guarlist.getColumn(i, 'grntordetladdr'));
- ds_temp_printinfo.setColumn(0, 'grntordetladdr', ds_list_detail_guarlist.getColumn(i, 'grntorzipcd1') + '-' +ds_list_detail_guarlist.getColumn(i, 'grntorzipcd2'));
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00723"],[objParam], option);
-
- var objDOM = rptf_createDOM();
- rptf_setNodeListToDOM(objDOM, "/root/temp/printinfo", ds_temp_printinfo);
- rptf_setNodeListToDOM(objDOM, "/root/temp/detail/ordpaydemand", ds_temp_detail_ordpaydemand);
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source;
- var option = "open=1;save=1;directprint=1;printdialog=0;print=1;zoom=0";
- rptf_exeReportPreview30(["RPPAS00723"],[objParam], option);
- }
- }
- }
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 보증인내역 행추가 클릭 이벤트
- ****************************************************************************************/
- function button3_onclick(obj:Button, e:ClickEventInfo)
- {
- if(utlf_transNullToEmpty(ds_send.getColumn(0, 'pid')) == '' || utlf_transNullToEmpty(ds_send.getColumn(0, 'orddd')) == '')
- {
- sysf_messageBox('미수내역을', 'C002');
- return;
- }
-
- var cur_row = ds_list_detail_guarlist.addRow();
- var row = ds_list_unco_uncolist.rowposition;
- ds_list_detail_guarlist.setColumn(cur_row, "pid" , ds_list_unco_uncolist.getColumn(row, "pid"));
- ds_list_detail_guarlist.setColumn(cur_row, "rcptdd", ds_list_unco_uncolist.getColumn(row, "rcptdd"));
- ds_list_detail_guarlist.setColumn(cur_row, "rcptno" , ds_list_unco_uncolist.getColumn(row, "rcptno"));
- ds_list_detail_guarlist.setColumn(cur_row, "orddd" , ds_list_unco_uncolist.getColumn(row, "orddd"));
- ds_list_detail_guarlist.setColumn(cur_row, "cretno" , ds_list_unco_uncolist.getColumn(row, "cretno"));
- ds_list_detail_guarlist.setColumn(cur_row, "printyn" , "Y");
- }
- /****************************************************************************************
- * Argument :
- * Description : 보증인내역 행삭제 클릭 이벤트
- ****************************************************************************************/
- function button4_onclick(obj:Button, e:ClickEventInfo)
- {
- var i = ds_list_detail_guarlist.rowposition;
-
- // 디비에 입력되지 않은 데이터는 그리드에서만 삭제한다.
- if(ds_list_detail_guarlist.getRowType(i) == 2)
- {
- ds_list_detail_guarlist.deleteRow(i);
- }
- else
- {
- ds_list_detail_guarlist.updatecontrol = false
- ds_list_detail_guarlist.setRowType(i, "d");
- ds_list_detail_guarlist.updatecontrol = true;
-
- if(sysf_messageBox('선택된 행의 보증인내역을', 'Q001') != 6)
- {
- return;
- }
- }
-
- var updated = grdf_getGridUpdateData(grd_quar, 'd');
- grdf_setStatusColumn(updated, 'status');
- ds_send_updatedata_datalist.copyData(updated, true);
-
- // 삭제할 행의 정보를 send 에 넣는다
- var oParam = {};
- oParam.id = "TXPAS00710";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqDelQuarList";
- oParam.inds = "req=ds_send_updatedata_datalist";
- oParam.async = false;
- oParam.callback = "cf_callback";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TXPAS00710") > -1)
- {
- var row = ds_list_unco_uncolist.rowposition;
-
- ds_send.setColumn(0, 'quarflag', 'quar');
- ds_send.setColumn(0, 'pid', ds_list_unco_uncolist.getColumn(row, 'pid'));
- ds_send.setColumn(0, 'orddd', ds_list_unco_uncolist.getColumn(row, 'orddd'));
- ds_send.setColumn(0, 'rcptno', ds_list_unco_uncolist.getColumn(row, 'rcptno'));
- ds_send.setColumn(0, 'rcptdd', ds_list_unco_uncolist.getColumn(row, 'rcptdd'));
-
- var oParam = {};
- oParam.id = "TRPAS00710";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetGuarList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_list_detail_guarlist=guarlist ds_list_detail_acptlist=acptlist "
- +"ds_list_detail_lawsulist=lawsulist ds_list_detail_ordpaydemand=ordpaydemand";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00710";
- tranf_submit(oParam);
-
- ds_list_detail_acptlist.addColumn("intramt", "string");
- }
-
- ds_send_updatedata_datalist.clearData();
- }
- /****************************************************************************************
- * Argument :
- * Description : 보증인내역 행저장 클릭 이벤트
- ****************************************************************************************/
- function button5_onclick(obj:Button, e:ClickEventInfo)
- {
- var cur_row = ds_list_detail_guarlist.rowposition;
-
- if( cur_row >= 0 )
- {
- if(sysf_messageBox("보증인내역을 저장 하시겠습니까?", "Q999") != 6) return;
-
- var updated = grdf_getGridUpdateData(grd_quar);
- grdf_setStatusColumn(updated, 'status');
- ds_send_updatedata_datalist.copyData(updated, true);
-
- var oParam = {};
- oParam.id = "TXPAS00710";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqDelQuarList";
- oParam.inds = "req=ds_send_updatedata_datalist";
- oParam.async = false;
- oParam.callback = "cf_callback";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TXPAS00710") > -1)
- {
- ds_list_detail_guarlist.applyChange();
-
- var row = ds_list_unco_uncolist.rowposition;
-
- ds_send.setColumn(0, 'pid', ds_list_unco_uncolist.getColumn(row, 'pid'));
- ds_send.setColumn(0, 'orddd', ds_list_unco_uncolist.getColumn(row, 'orddd'));
- ds_send.setColumn(0, 'rcptno', ds_list_unco_uncolist.getColumn(row, 'rcptno'));
- ds_send.setColumn(0, 'rcptdd', ds_list_unco_uncolist.getColumn(row, 'rcptdd'));
-
- var oParam = {};
- oParam.id = "TRPAS00710";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetGuarList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_list_detail_guarlist=guarlist ds_list_detail_acptlist=acptlist "
- +"ds_list_detail_lawsulist=lawsulist ds_list_detail_ordpaydemand=ordpaydemand";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00710";
- tranf_submit(oParam);
-
- ds_list_detail_acptlist.addColumn("intramt", "string");
- }
- ds_send_updatedata_datalist.clearData();
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 소송내역 행추가 클릭 이벤트
- ****************************************************************************************/
- function button8_onclick(obj:Button, e:ClickEventInfo)
- {
- if(utlf_transNullToEmpty(ds_send.getColumn(0, 'pid')) == '' || utlf_transNullToEmpty(ds_send.getColumn(0, 'orddd')) == '')
- {
- sysf_messageBox('미수내역을', 'C002');
- return;
- }
-
- var cur_row = ds_list_detail_lawsulist.addRow();
- var row = ds_list_unco_uncolist.rowposition;
-
- ds_list_detail_lawsulist.setColumn(cur_row, "pid" , ds_list_unco_uncolist.getColumn(row, "pid"));
- ds_list_detail_lawsulist.setColumn(cur_row, "rcptdd" , ds_list_unco_uncolist.getColumn(row, "rcptdd"));
- ds_list_detail_lawsulist.setColumn(cur_row, "rcptno" , ds_list_unco_uncolist.getColumn(row, "rcptno"));
- ds_list_detail_lawsulist.setColumn(cur_row, "orddd" , ds_list_unco_uncolist.getColumn(row, "orddd"));
- ds_list_detail_lawsulist.setColumn(cur_row, "cretno" , ds_list_unco_uncolist.getColumn(row, "cretno"));
- ds_list_detail_lawsulist.setColumn(cur_row, "insukind" , ds_list_unco_uncolist.getColumn(row, "insukind"));
- ds_list_detail_lawsulist.setColumn(cur_row, "suppkind" , ds_list_unco_uncolist.getColumn(row, "suppkind"));
- ds_list_detail_lawsulist.setColumn(cur_row, "cashamt" , "0");
- ds_list_detail_lawsulist.setColumn(cur_row, "cardamt" , "0");
- ds_list_detail_lawsulist.setColumn(cur_row, "onlineamt" , "0");
- ds_list_detail_lawsulist.setColumn(cur_row, "uncorem" , ds_list_unco_uncolist.getColumn(row, "uncorem"));
- ds_list_detail_lawsulist.setColumn(cur_row, "ordtype" , ds_list_unco_uncolist.getColumn(row, "ordtype"));
- ds_list_detail_lawsulist.setColumn(cur_row, "uncoamt" , ds_temp_printinfo.getColumn(0, "uncoamt"));
- ds_list_detail_lawsulist.setColumn(cur_row, "debtamt" , ds_list_unco_uncolist.getColumn(row, "debtamt"));
- ds_list_detail_lawsulist.setColumn(cur_row, "uncocd" , ds_list_unco_uncolist.getColumn(row, "uncocd"));
- ds_list_detail_lawsulist.setColumn(cur_row, "uncorcptflag" , "1");
- ds_list_detail_lawsulist.setColumn(cur_row, "intrrate" , "0");
- ds_list_detail_lawsulist.setColumn(cur_row, "rcptstat" , "Y");
- }
- /****************************************************************************************
- * Argument :
- * Description : 소송내역 삭제 클릭 이벤트
- ****************************************************************************************/
- function button9_onclick(obj:Button, e:ClickEventInfo)
- {
- var i = ds_list_detail_lawsulist.rowposition;
-
- // 디비에 입력되지 않은 데이터는 그리드에서만 삭제한다.
- if(ds_list_detail_lawsulist.getRowType(i) == 2)
- {
- ds_list_detail_lawsulist.deleteRow(i);
- }
- else
- {
- ds_list_detail_lawsulist.updatecontrol = false;
- ds_list_detail_lawsulist.setRowType(i, "d");
- ds_list_detail_lawsulist.updatecontrol = true;
- if(sysf_messageBox('선택된 행의 소송내역을', 'Q001') != 6)
- {
- return;
- }
- }
-
- // 삭제할 행의 정보를 send에 넣는다
- var updated = grdf_getGridUpdateData(grd_lawsulist, 'd');
- grdf_setStatusColumn(updated, 'status');
- ds_send_updatedata_datalist.copyData(updated, true);
-
- var oParam = {};
- oParam.id = "TXPAS00720";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetAcptList";
- oParam.inds = "req=ds_send_updatedata_datalist";
- oParam.async = false;
- oParam.callback = "cf_callback";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TXPAS00720") > -1)
- {
- var currow = ds_list_unco_uncolist.rowposition;
-
- ds_send.setColumn(0, 'pid', ds_list_unco_uncolist.getColumn(currow, 'pid'));
- ds_send.setColumn(0, 'orddd', ds_list_unco_uncolist.getColumn(currow, 'orddd'));
- ds_send.setColumn(0, 'rcptno', ds_list_unco_uncolist.getColumn(currow, 'rcptno'));
- ds_send.setColumn(0, 'rcptdd', ds_list_unco_uncolist.getColumn(currow, 'rcptdd'));
-
- var oParam = {};
- oParam.id = "TRPAS00710";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetGuarList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_list_detail_guarlist=guarlist ds_list_detail_acptlist=acptlist "
- +"ds_list_detail_lawsulist=lawsulist ds_list_detail_ordpaydemand=ordpaydemand";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00710";
- tranf_submit(oParam);
-
- ds_list_detail_acptlist.addColumn("intramt", "string");
- }
- ds_send_updatedata_datalist.clearData();
- }
- /****************************************************************************************
- * Argument :
- * Description : 소송내역 저장 클릭 이벤트
- ****************************************************************************************/
- function button10_onclick(obj:Button, e:ClickEventInfo)
- {
- // 수납자 마감여부 체크하여 처리
- if(isMagmAprv())
- {
- // 마감결제 완료되어있으므로 더이상 진행하지 않음
- return false;
- }
-
- var cur_row = ds_list_detail_lawsulist.rowcount;
-
- if( cur_row > 0 )
- {
- var updated = grdf_getGridUpdateData(grd_lawsulist);
- grdf_setStatusColumn(updated, 'status');
- ds_send_updatedata_datalist.copyData(updated, true);
- var oParam = {};
- oParam.id = "TXPAS00720";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetAcptList";
- oParam.inds = "req=ds_send_updatedata_datalist";
- oParam.async = false;
- oParam.callback = "cf_callback";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TXPAS00720") > -1)
- {
- ds_list_detail_lawsulist.applyChange();
- var row = ds_list_unco_uncolist.rowposition;
-
- ds_send.setColumn(0, 'pid', ds_list_unco_uncolist.getColumn(row, 'pid'));
- ds_send.setColumn(0, 'orddd', ds_list_unco_uncolist.getColumn(row, 'orddd'));
- ds_send.setColumn(0, 'rcptno', ds_list_unco_uncolist.getColumn(row, 'rcptno'));
- ds_send.setColumn(0, 'rcptdd', ds_list_unco_uncolist.getColumn(row, 'rcptdd'));
-
- var oParam = {};
- oParam.id = "TRPAS00710";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetGuarList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_list_detail_guarlist=guarlist ds_list_detail_acptlist=acptlist "
- +"ds_list_detail_lawsulist=lawsulist ds_list_detail_ordpaydemand=ordpaydemand";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00710";
- tranf_submit(oParam);
-
- ds_list_detail_acptlist.addColumn("intramt", "string");
- }
- }
- ds_send_updatedata_datalist.clearData();
- }
- /****************************************************************************************
- * Argument :
- * Description : 이자내역 행추가 버튼 클릭 이벤트
- ****************************************************************************************/
- function button2_onclick(obj:Button, e:ClickEventInfo)
- {
- if(utlf_transNullToEmpty(ds_send.getColumn(0, 'pid')) == '' || utlf_transNullToEmpty(ds_send.getColumn(0, 'orddd')) == '')
- {
- sysf_messageBox('미수내역을', 'C002');
- return;
- }
-
- var cur_row = ds_list_detail_acptlist.addRow();
- var row = ds_list_unco_uncolist.rowposition;
-
- ds_list_detail_acptlist.setColumn(cur_row, "pid", ds_list_unco_uncolist.getColumn(row, "pid"));
- ds_list_detail_acptlist.setColumn(cur_row, "rcptdd", ds_list_unco_uncolist.getColumn(row, "rcptdd"));
- ds_list_detail_acptlist.setColumn(cur_row, "rcptno", ds_list_unco_uncolist.getColumn(row, "rcptno"));
- ds_list_detail_acptlist.setColumn(cur_row, "orddd", ds_list_unco_uncolist.getColumn(row, "orddd"));
- ds_list_detail_acptlist.setColumn(cur_row, "cretno", ds_list_unco_uncolist.getColumn(row, "cretno"));
- ds_list_detail_acptlist.setColumn(cur_row, "insukind", ds_list_unco_uncolist.getColumn(row, "insukind"));
- ds_list_detail_acptlist.setColumn(cur_row, "suppkind", ds_list_unco_uncolist.getColumn(row, "suppkind"));
- ds_list_detail_acptlist.setColumn(cur_row, "uncocd", ds_list_unco_uncolist.getColumn(row, "uncocd"));
- ds_list_detail_acptlist.setColumn(cur_row, "uncoamt", "0");
- ds_list_detail_acptlist.setColumn(cur_row, "uncorcptflag", "1");
- ds_list_detail_acptlist.setColumn(cur_row, "cashamt", "0");
- ds_list_detail_acptlist.setColumn(cur_row, "cardamt", "0");
- ds_list_detail_acptlist.setColumn(cur_row, "onlineamt", "0");
- ds_list_detail_acptlist.setColumn(cur_row, "intramt", ds_temp_printinfo.getColumn(0, "uncoamt"));
- ds_list_detail_acptlist.setColumn(cur_row, "ordtype", ds_list_unco_uncolist.getColumn(row, "ordtype"));
- ds_list_detail_acptlist.setColumn(cur_row, "debtamt", "0");
- ds_list_detail_acptlist.setColumn(cur_row, "rcptstat", "Y");
- ds_list_detail_acptlist.setColumn(cur_row, "uncoflag", "10");
- }
- /****************************************************************************************
- * Argument :
- * Description : 이자내역 삭제 버튼 클릭 이벤트
- ****************************************************************************************/
- function button6_onclick(obj:Button, e:ClickEventInfo)
- {
- var i = ds_list_detail_acptlist.rowposition;
-
- //디비에 입력되지 않은 데이터는 그리드에서만 삭제한다.
- if (ds_list_detail_acptlist.getRowType(i) == 2)
- {
- ds_list_detail_acptlist.deleteRow(i);
- }
- else
- {
- ds_list_detail_acptlist.updatecontrol = false;
- ds_list_detail_acptlist.setRowType(i, "d");
- ds_list_detail_acptlist.updatecontrol = true;
-
- if(sysf_messageBox("선택된 행의 보증인내역을", "Q001") != 6) return;
- }
-
- // 삭제할 행의 정보를 send에 넣는다
- var updated = grdf_getGridUpdateData(grd_acptlist, 'd');
- grdf_setStatusColumn(updated, 'status');
- ds_send_updatedata_datalist.copyData(updated, true);
-
- var oParam = {};
- oParam.id = "TXPAS00720";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetAcptList";
- oParam.inds = "req=ds_send_updatedata_datalist";
- oParam.async = false;
- oParam.callback = "cf_callback";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TXPAS00720") > -1)
- {
- var currow = ds_list_unco_uncolist.rowposition;
-
- ds_send.setColumn(0, 'pid', ds_list_unco_uncolist.getColumn(currow, 'pid'));
- ds_send.setColumn(0, 'orddd', ds_list_unco_uncolist.getColumn(currow, 'orddd'));
- ds_send.setColumn(0, 'rcptno', ds_list_unco_uncolist.getColumn(currow, 'rcptno'));
- ds_send.setColumn(0, 'rcptdd', ds_list_unco_uncolist.getColumn(currow, 'rcptdd'));
-
- var oParam = {};
- oParam.id = "TRPAS00710";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetGuarList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_list_detail_guarlist=guarlist ds_list_detail_acptlist=acptlist "
- +"ds_list_detail_lawsulist=lawsulist ds_list_detail_ordpaydemand=ordpaydemand";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00710";
- tranf_submit(oParam);
-
- ds_list_detail_acptlist.addColumn("intramt", "string");
- }
- ds_send_updatedata_datalist.clearData();
- }
- /****************************************************************************************
- * Argument :
- * Description : 이자내역 저장 버튼 클릭 이벤트
- ****************************************************************************************/
- function button7_onclick(obj:Button, e:ClickEventInfo)
- {
- // 수납자 마감여부 체크하여 처리
- if(isMagmAprv())
- {
- // 마감결제 완료되어있으므로 더이상 진행하지 않음
- return false;
- }
-
- var cur_row = ds_list_detail_acptlist.rowcount;
-
- if( cur_row > 0 )
- {
- if(sysf_messageBox("보증인내역을 저장 하시겠습니까?", "Q999") != 6) return;
-
- var updated = grdf_getGridUpdateData(grd_acptlist);
- grdf_setStatusColumn(updated, 'status');
- ds_send_updatedata_datalist.copyData(updated, true);
-
- var oParam = {};
- oParam.id = "TXPAS00720";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetAcptList";
- oParam.inds = "req=ds_send_updatedata_datalist";
- oParam.async = false;
- oParam.callback = "cf_callback";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TXPAS00720") > -1)
- {
- ds_list_detail_acptlist.applyChange();
-
- var currow = ds_list_unco_uncolist.rowposition;
-
- ds_send.setColumn(0, 'pid', ds_list_unco_uncolist.getColumn(currow, 'pid'));
- ds_send.setColumn(0, 'orddd', ds_list_unco_uncolist.getColumn(currow, 'orddd'));
- ds_send.setColumn(0, 'rcptno', ds_list_unco_uncolist.getColumn(currow, 'rcptno'));
- ds_send.setColumn(0, 'rcptdd', ds_list_unco_uncolist.getColumn(currow, 'rcptdd'));
-
- var oParam = {};
- oParam.id = "TRPAS00710";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetGuarList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_list_detail_guarlist=guarlist ds_list_detail_acptlist=acptlist "
- +"ds_list_detail_lawsulist=lawsulist ds_list_detail_ordpaydemand=ordpaydemand";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00710";
- tranf_submit(oParam);
- }
- ds_send_updatedata_datalist.clearData();
- }
- }
- /****************************************************************************************
- * Argument :
- * Description : 진료비독촉내역 행추가 버튼 클릭 이벤트
- ****************************************************************************************/
- function button15_onclick(obj:Button, e:ClickEventInfo)
- {
- if(utlf_transNullToEmpty(ds_send.getColumn(0, 'pid')) == '' || utlf_transNullToEmpty(ds_send.getColumn(0, 'orddd')) == '')
- {
- sysf_messageBox('미수내역을', 'C002');
- return;
- }
-
- var cur_row = ds_list_detail_ordpaydemand.insertRow(0);
-
- var row = ds_list_unco_uncolist.rowposition;
- ds_list_detail_ordpaydemand.setColumn(cur_row, "pid" , ds_list_unco_uncolist.getColumn(row, "pid"));
- ds_list_detail_ordpaydemand.setColumn(cur_row, "rcptdd" , ds_list_unco_uncolist.getColumn(row, "rcptdd"));
- ds_list_detail_ordpaydemand.setColumn(cur_row, "rcptno" , ds_list_unco_uncolist.getColumn(row, "rcptno"));
- ds_list_detail_ordpaydemand.setColumn(cur_row, "orddd" , ds_list_unco_uncolist.getColumn(row, "orddd"));
- ds_list_detail_ordpaydemand.setColumn(cur_row, "cretno" , ds_list_unco_uncolist.getColumn(row, "cretno"));
- dsf_makeValue(ds_list_detail_ordpaydemand, "seqno", "string", ds_list_unco_uncolist.getColumn(row, "seqno"), cur_row);
- ds_list_detail_ordpaydemand.setColumn(cur_row, "issdt" , utlf_getCurrentDate() + utlf_getCurrentTime());
- ds_list_detail_ordpaydemand.setColumn(cur_row, "endyn" , "N");
- }
- /****************************************************************************************
- * Argument :
- * Description : 진료비독촉내역 행삭제 버튼 클릭 이벤트
- ****************************************************************************************/
- function button16_onclick(obj:Button, e:ClickEventInfo)
- {
- var i = ds_list_detail_ordpaydemand.rowposition;
-
- // 디비에 입력되지 않은 데이터는 그리드에서만 삭제한다
- if (ds_list_detail_ordpaydemand.getRowType(i) == 2)
- {
- ds_list_detail_ordpaydemand.deleteRow(i);
- }
- else
- {
- ds_list_detail_ordpaydemand.updatecontrol = false
- ds_list_detail_ordpaydemand.setRowType(i, "d");
- ds_list_detail_ordpaydemand.updatecontrol = true;
-
- if(sysf_messageBox("선택된 행의 독촉내역을", "Q001") != 6) return;
- }
-
- // 삭제할 행의 정보를 send에 넣는다
- var updated = grdf_getGridUpdateData(grd_ordpaydemand, 'd');
- grdf_setStatusColumn(updated, 'status');
- ds_send_updatedata_datalist.copyData(updated, true);
-
- var oParam = {};
- oParam.id = "TXPAS00730";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqSetOrdPayDemand";
- oParam.inds = "req=ds_send_updatedata_datalist";
- oParam.async = false;
- oParam.callback = "cf_callback";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TXPAS00730") > -1)
- {
- var currow = ds_list_unco_uncolist.rowposition;
-
- ds_send.setColumn(0, 'pid', ds_list_unco_uncolist.getColumn(currow, 'pid'));
- ds_send.setColumn(0, 'orddd', ds_list_unco_uncolist.getColumn(currow, 'orddd'));
- ds_send.setColumn(0, 'rcptno', ds_list_unco_uncolist.getColumn(currow, 'rcptno'));
- ds_send.setColumn(0, 'rcptdd', ds_list_unco_uncolist.getColumn(currow, 'rcptdd'));
-
- var oParam = {};
- oParam.id = "TRPAS00710";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetGuarList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_list_detail_guarlist=guarlist ds_list_detail_acptlist=acptlist "
- +"ds_list_detail_lawsulist=lawsulist ds_list_detail_ordpaydemand=ordpaydemand";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00710";
- tranf_submit(oParam);
- }
- ds_send_updatedata_datalist.clearData();
- }
- /****************************************************************************************
- * Argument :
- * Description : 진료비독촉내역 행저장 버튼 클릭 이벤트
- ****************************************************************************************/
- function button17_onclick(obj:Button, e:ClickEventInfo)
- {
- var cur_row = ds_list_detail_ordpaydemand.rowcount;
-
- if(cur_row > 0)
- {
- if(sysf_messageBox('해당 독촉내역을 출력 하시겠습니까?', 'Q999') == 6)
- {
- var updated = grdf_getGridUpdateData(grd_ordpaydemand);
- grdf_setStatusColumn(updated, 'status');
- ds_send_updatedata_datalist.copyData(updated, true);
-
- ds_list_detail_ordpaydemand.setColumn(cur_row, "isscnt" , 1);
-
- var oParam = {};
- oParam.id = "TXPAS00730";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqSetOrdPayDemand";
- oParam.inds = "req=ds_send_updatedata_datalist";
- oParam.async = false;
- oParam.callback = "cf_callback";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TXPAS00730") > -1)
- {
- fPrintordpaydemand();
-
- ds_list_detail_ordpaydemand.applyChange();
- var row = ds_list_unco_uncolist.rowposition;
- ds_send.setColumn(0, 'pid', ds_list_unco_uncolist.getColumn(row, 'pid'));
- ds_send.setColumn(0, 'orddd', ds_list_unco_uncolist.getColumn(row, 'orddd'));
- ds_send.setColumn(0, 'rcptno', ds_list_unco_uncolist.getColumn(row, 'rcptno'));
- ds_send.setColumn(0, 'rcptdd', ds_list_unco_uncolist.getColumn(row, 'rcptdd'));
-
- var oParam = {};
- oParam.id = "TRPAS00710";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetGuarList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_list_detail_guarlist=guarlist ds_list_detail_acptlist=acptlist "
- +"ds_list_detail_lawsulist=lawsulist ds_list_detail_ordpaydemand=ordpaydemand";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00710";
- tranf_submit(oParam);
- }
- }
- else
- {
- var updated = grdf_getGridUpdateData(grd_ordpaydemand);
- grdf_setStatusColumn(updated, 'status');
- ds_send_updatedata_datalist.copyData(updated, true);
-
- ds_list_detail_ordpaydemand.setColumn(cur_row, "isscnt" , 0);
-
- var oParam = {};
- oParam.id = "TXPAS00730";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqSetOrdPayDemand";
- oParam.inds = "req=ds_send_updatedata_datalist";
- oParam.async = false;
- oParam.callback = "cf_callback";
- tranf_submit(oParam);
-
- if(arErrorCode.pop("TXPAS00730") > -1)
- {
- ds_list_detail_ordpaydemand.applyChange();
- var row = ds_list_unco_uncolist.rowposition;
- ds_send.setColumn(0, 'pid', ds_list_unco_uncolist.getColumn(row, 'pid'));
- ds_send.setColumn(0, 'orddd', ds_list_unco_uncolist.getColumn(row, 'orddd'));
- ds_send.setColumn(0, 'rcptno', ds_list_unco_uncolist.getColumn(row, 'rcptno'));
- ds_send.setColumn(0, 'rcptdd', ds_list_unco_uncolist.getColumn(row, 'rcptdd'));
-
- var oParam = {};
- oParam.id = "TRPAS00710";
- oParam.service = "rcptteamstatsapp.rcptTeamOrdStats";
- oParam.method = "reqGetGuarList";
- oParam.inds = "req=ds_send";
- oParam.outds = "ds_list_detail_guarlist=guarlist ds_list_detail_acptlist=acptlist "
- +"ds_list_detail_lawsulist=lawsulist ds_list_detail_ordpaydemand=ordpaydemand";
- oParam.async = false;
- //oParam.callback = "cf_TRPAS00710";
- tranf_submit(oParam);
- }
- }
- ds_send_updatedata_datalist.clearData();
- }
- return true;
- }
- /****************************************************************************************
- * Argument :
- * Description : 미수입금내역 버튼 클릭 이벤트
- ****************************************************************************************/
- function button11_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPPAS00710", "SPPAS00710", null, null, null, null, null, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Argument :
- * Description : 기간별미수조회 버튼 클릭 이벤트
- ****************************************************************************************/
- function button12_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPPAS00722", "SPPAS00722", null, null, null, null, null, null, null, null, null, null, "M");
-
- var pid = utlf_transNullToEmpty(frmf_getParameter('SMPAS00700_PID'));
- ds_source.setColumn(0, 'pid', pid);
- }
- /****************************************************************************************
- * Argument :
- * Description : 일일미수현황 버튼 클릭 이벤트
- ****************************************************************************************/
- function button1_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPPAS00750", "SPPAS00750", null, null, null, null, null, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Argument :
- * Description : 보증인조회 버튼 클릭 이벤트
- ****************************************************************************************/
- function button19_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPPAS00760", "SPPAS00760", null, null, null, null, null, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Argument :
- * Description : 미수총괄표 버튼 클릭 이벤트
- ****************************************************************************************/
- function button22_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPPAS00772", "SPPAS00772", null, null, null, null, null, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Argument :
- * Description : 승인미수내역 버튼 클릭 이벤트
- ****************************************************************************************/
- function button14_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPPAS00740", "SPPAS00740", null, null, null, null, null, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Argument :
- * Description : 년도별미수조회 버튼 클릭 이벤트
- ****************************************************************************************/
- function button13_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPPAS00730", "SPPAS00730", null, null, null, null, null, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Argument :
- * Description : 미수총괄표 버튼 클릭 이벤트
- ****************************************************************************************/
- function button20_onclick(obj:Button, e:ClickEventInfo)
- {
- frmf_modal("SPPAS00770", "SPPAS00770", null, null, null, null, null, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Argument :
- * Description : 미수안내 버튼 클릭 이벤트
- ****************************************************************************************/
- function button21_onclick(obj:Button, e:ClickEventInfo)
- {
- var row = ds_list_unco_uncolist.rowposition;
-
- frmf_setParameter('SMPAM00100_PID_PARM', ds_list_unco_uncolist.getColumn(row, 'pid'));
- frmf_modal("SPPAS00780", "SPPAS00780", null, null, null, null, null, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Argument :
- * Description : 미수수납 버튼 클릭 이벤트
- ****************************************************************************************/
- function button18_onclick(obj:Button, e:ClickEventInfo)
- {
- var row = ds_list_unco_uncolist.rowposition;
-
- frmf_setParameter('SMPAM00100_PID_PARM', ds_list_unco_uncolist.getColumn(row, 'pid'));
- frmf_modal("SMPAS00800", "SMPAS00800", null, null, null, null, null, null, null, null, null, null, "M");
- }
- /****************************************************************************************
- * Argument :
- * Description : 초기화 버튼 클릭 이벤트
- ****************************************************************************************/
- function btn_clear_onclick(obj:Button, e:ClickEventInfo)
- {
- fClear();
- }
- function fClear()
- {
- ds_source.setColumn(0, "pid", "");
-
- ds_send.setColumn(0, "pid", "");
- ds_send.setColumn(0, "hngnm", "");
- ds_send.setColumn(0, "uncocd", "");
-
- ds_patinfolist.clearData();
- ds_patinfolist.addRow();
-
- ds_list_unco_uncolist.clearData();
- ds_list_detail_acptlist.clearData();
- ds_list_detail_guarlist.clearData();
- ds_list_detail_lawsulist.clearData();
- ds_list_detail_ordpaydemand.clearData();
- }
- /****************************************************************************************
- * Argument :
- * Description : 납부기간입력
- ****************************************************************************************/
- function grp_input1_onchanged(obj:Calendar, e:ChangeEventInfo)
- {
- ds_temp_printinfo.setColumn(0, "yyyy" , String(ds_temp.getColumn(0, "acptdd")).substr(0,4));
- ds_temp_printinfo.setColumn(0, "mm" , String(ds_temp.getColumn(0, "acptdd")).substr(4,2));
- ds_temp_printinfo.setColumn(0, "dd" , String(ds_temp.getColumn(0, "acptdd")).substr(6,2));
- }
- ]]></Script>
- </Form>
- </FDL>
|