SMRAD01400_전표자동분개.xfdl 63 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278
  1. <?xml version="1.0" encoding="utf-8" standalone="no"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRAD01400" position="absolute 0 0 1280 777" titletext="전표자동분개" onload="SMRAD01400_onload">
  5. <Layouts>
  6. <Layout>
  7. <Div id="group1" position="absolute 0 0 1195 21" style="" scrollbars="none">
  8. <Layouts>
  9. <Layout>
  10. <Static id="caption6" class="tit_1" position="absolute 0 0 145 22" style="" text="전표자동분개" anchor="default"/>
  11. <Static id="caption4" class="patient_text_black" position="absolute 922 0 1194 200" style="" anchor="default"/>
  12. </Layout>
  13. </Layouts>
  14. </Div>
  15. <Div id="group3" scrollbars="autoboth" position="absolute 0 15 1195 750" style="">
  16. <Layouts>
  17. <Layout>
  18. <Div id="grp_sea" position="absolute 0 33 1195 97" style="align: top;">
  19. <Layouts>
  20. <Layout>
  21. <Shape id="roundrect1" anchor="default" type="roundrectangle" position="absolute 0 0 1195 64" style="border:1 solid #ffd799 #ffd799;background:#fffbf2 ;"/>
  22. <Static id="caption7" class="search_name" position="absolute 16 11 141 28" style="" text="전표구분 :"/>
  23. <Button id="btn_search" class="btn1" taborder="4" position="absolute 1130 8 1186 30" style="align:left ;" text="조회" onclick="group3_grp_sea_btn_search_onclick"/>
  24. <Static id="caption1" class="search_name" position="absolute 375 11 464 28" style="" text="발의일자 :"/>
  25. <Calendar id="input2" class="input_s_essential" position="absolute 465 10 570 29" style="" anchor="default" autoselect="true"/>
  26. <Combo innerdataset="ds_init_R0008list_R0008" datacolumn="cdnm" codecolumn="cdid" columncount="-1" rowcount="-1" id="cmb_slipflag" class="combo_default" position="absolute 105 10 320 29" style=""/>
  27. <Shape id="line1" class="line_4" linetype="vertical" position="absolute 1105 8 1108 30" style="border:1 solid #ffe4bb #ffe4bb;" anchor="default"/>
  28. <Edit id="ipt_deptnm" class="input_s_essential" taborder="10" position="absolute 850 10 995 29" style="" anchor="default"/>
  29. <Button id="btn_deptcd" class="icon_search" taborder="9" position="absolute 830 10 846 26" style="" text="" onclick="group3_grp_sea_btn_deptcd_onclick"/>
  30. <Edit id="ipt_deptcd" class="input_s_essential" taborder="8" position="absolute 730 10 825 29" style="" anchor="default"/>
  31. <Static id="caption5" class="search_name" position="absolute 630 11 720 28" style="" text="발의부서 :"/>
  32. <Combo datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="cmb_slipendyn" class="combo_default" position="absolute 465 36 570 55" style="">
  33. <Dataset id="innerdataset">
  34. <ColumnInfo>
  35. <Column id="codecolumn"/>
  36. <Column id="datacolumn"/>
  37. </ColumnInfo>
  38. <Rows>
  39. <Row>
  40. <Col id="codecolumn"/>
  41. <Col id="datacolumn">전체</Col>
  42. </Row>
  43. <Row>
  44. <Col id="codecolumn">1</Col>
  45. <Col id="datacolumn">분개전</Col>
  46. </Row>
  47. <Row>
  48. <Col id="codecolumn">2</Col>
  49. <Col id="datacolumn">분개후</Col>
  50. </Row>
  51. </Rows>
  52. </Dataset>
  53. </Combo>
  54. <Static id="caption2" class="search_name" position="absolute 375 37 500 54" style="" text="분개구분 :"/>
  55. <Combo innerdataset="" datacolumn="" codecolumn="" columncount="-1" rowcount="-1" id="cmb_slipkind" class="combo_default" position="absolute 105 35 320 54" style=""/>
  56. <Static id="caption3" class="search_name" position="absolute 16 36 141 53" style="" text="전표유형 :"/>
  57. </Layout>
  58. </Layouts>
  59. </Div>
  60. <Shape id="line3" class="line_1" linetype="horizontal" position="absolute 0 125 1195 128" style="" anchor="default"/>
  61. <Static id="caption21" class="tit_2" position="absolute 3 107 134 128" style="" text="전표 자동분개"/>
  62. <Grid id="grd_autosliplist" binddataset="ds_main_list_detailist" position="absolute 0 130 1195 734" style="" onlbuttonup="group3_grd_autosliplist_onlbuttonup" oncelldblclick="group3_grd_autosliplist_oncelldblclick" cellsizingtype="col">
  63. <Formats>
  64. <Format id="default">
  65. <Columns>
  66. <Column size="0"/>
  67. <Column size="23"/>
  68. <Column size="62"/>
  69. <Column size="50"/>
  70. <Column size="50"/>
  71. <Column size="72"/>
  72. <Column size="77"/>
  73. <Column size="68"/>
  74. <Column size="58"/>
  75. <Column size="108"/>
  76. <Column size="60"/>
  77. <Column size="58"/>
  78. <Column size="74"/>
  79. <Column size="77"/>
  80. <Column size="90"/>
  81. <Column size="79"/>
  82. <Column size="66"/>
  83. <Column size="88"/>
  84. <Column size="100"/>
  85. <Column size="100"/>
  86. <Column size="83"/>
  87. <Column size="100"/>
  88. <Column size="100"/>
  89. <Column size="100"/>
  90. <Column size="100"/>
  91. <Column size="100"/>
  92. <Column size="100"/>
  93. <Column size="100"/>
  94. <Column size="100"/>
  95. <Column size="100"/>
  96. <Column size="100"/>
  97. <Column size="100"/>
  98. <Column size="100"/>
  99. <Column size="100"/>
  100. <Column size="100"/>
  101. <Column size="100"/>
  102. <Column size="100"/>
  103. <Column size="100"/>
  104. <Column size="100"/>
  105. <Column size="100"/>
  106. <Column size="100"/>
  107. <Column size="100"/>
  108. <Column size="100"/>
  109. <Column size="120"/>
  110. <Column size="100"/>
  111. <Column size="100"/>
  112. <Column size="100"/>
  113. <Column size="100"/>
  114. <Column size="100"/>
  115. <Column size="100"/>
  116. <Column size="100"/>
  117. <Column size="100"/>
  118. <Column size="100"/>
  119. <Column size="100"/>
  120. <Column size="100"/>
  121. </Columns>
  122. <Rows>
  123. <Row size="24" band="head"/>
  124. <Row size="24" band="head"/>
  125. <Row size="24"/>
  126. </Rows>
  127. <Band id="head">
  128. <Cell text="기관코드"/>
  129. <Cell col="1" rowspan="2" taborder="undefined"/>
  130. <Cell col="2" rowspan="2" text="순번" taborder="undefined"/>
  131. <Cell col="3" rowspan="2" text="전표구분번호" wordwrap="char" taborder="undefined"/>
  132. <Cell col="4" rowspan="2" text="작업구분" taborder="undefined"/>
  133. <Cell col="5" rowspan="2" text="발의일자" taborder="undefined"/>
  134. <Cell col="6" colspan="3" text="미결" taborder="undefined"/>
  135. <Cell col="9" rowspan="2" text="전표구분" taborder="undefined"/>
  136. <Cell col="10" rowspan="2" text="전표유형" taborder="undefined"/>
  137. <Cell col="11" rowspan="2" text="차대구분" taborder="undefined"/>
  138. <Cell col="12" rowspan="2" text="계정코드" taborder="undefined"/>
  139. <Cell col="13" rowspan="2" text="계정명" taborder="undefined"/>
  140. <Cell col="14" rowspan="2" text="상대계정코드" taborder="undefined"/>
  141. <Cell col="15" rowspan="2" text="상대계정명" taborder="undefined"/>
  142. <Cell col="16" rowspan="2" text="귀속부서" taborder="undefined"/>
  143. <Cell col="17" rowspan="2" text="귀속부서명" taborder="undefined"/>
  144. <Cell col="18" rowspan="2" text="기표부서" taborder="undefined"/>
  145. <Cell col="19" rowspan="2" text="기표부서명" taborder="undefined"/>
  146. <Cell col="20" rowspan="2" text="입출금예정일" taborder="undefined"/>
  147. <Cell col="21" rowspan="2" text="전표적요" taborder="undefined"/>
  148. <Cell col="22" rowspan="2" text="상대처구분" taborder="undefined"/>
  149. <Cell col="23" rowspan="2" text="상대처코드" taborder="undefined"/>
  150. <Cell col="24" rowspan="2" text="상대처명" taborder="undefined"/>
  151. <Cell col="25" rowspan="2" text="기재사항제목1" taborder="undefined"/>
  152. <Cell col="26" rowspan="2" text="기재사항코드1" taborder="undefined"/>
  153. <Cell col="27" rowspan="2" text="기재사항내역1" taborder="undefined"/>
  154. <Cell col="28" rowspan="2" text="기재사항제목2" taborder="undefined"/>
  155. <Cell col="29" rowspan="2" text="기재사항코드2" taborder="undefined"/>
  156. <Cell col="30" rowspan="2" text="기재사항내역2" taborder="undefined"/>
  157. <Cell col="31" rowspan="2" text="기타기재사항" taborder="undefined"/>
  158. <Cell col="32" rowspan="2" text="프로젝트ID" taborder="undefined"/>
  159. <Cell col="33" rowspan="2" text="합계금액" taborder="undefined"/>
  160. <Cell col="34" rowspan="2" text="공급가액" taborder="undefined"/>
  161. <Cell col="35" rowspan="2" text="부가가치세" taborder="undefined"/>
  162. <Cell col="36" rowspan="2" text="증빙구분" taborder="undefined"/>
  163. <Cell col="37" rowspan="2" text="사용일자" taborder="undefined"/>
  164. <Cell col="38" rowspan="2" text="거래처" taborder="undefined"/>
  165. <Cell col="39" rowspan="2" text="거래처명" taborder="undefined"/>
  166. <Cell col="40" rowspan="2" text="거래처주소" taborder="undefined"/>
  167. <Cell col="41" rowspan="2" text="거래처대표자" taborder="undefined"/>
  168. <Cell col="42" rowspan="2" text="거래처 업태" taborder="undefined"/>
  169. <Cell col="43" rowspan="2" text="거래처 종목" taborder="undefined"/>
  170. <Cell col="44" rowspan="2" text="전화번호" taborder="undefined"/>
  171. <Cell col="45" rowspan="2" text="증빙적요" taborder="undefined"/>
  172. <Cell col="46" rowspan="2" text="법인카드번호" taborder="undefined"/>
  173. <Cell col="47" rowspan="2" text="카드사코드" taborder="undefined"/>
  174. <Cell col="48" rowspan="2" text="사용자" taborder="undefined"/>
  175. <Cell col="49" rowspan="2" text="소유부서" taborder="undefined"/>
  176. <Cell col="50" rowspan="2" text="소유부서명" taborder="undefined"/>
  177. <Cell col="51" rowspan="2" text="고정자산매입구분" taborder="undefined"/>
  178. <Cell col="52" rowspan="2" text="매입매출구분" taborder="undefined"/>
  179. <Cell col="53" rowspan="2" text="과세구분" taborder="undefined"/>
  180. <Cell col="54" rowspan="2" text="처리일자" taborder="undefined"/>
  181. <Cell col="55" text="기관코드"/>
  182. <Cell col="56" text="순번"/>
  183. <Cell col="57" text="전표구분번호"/>
  184. <Cell col="58" text="작업 구분"/>
  185. <Cell col="59" text="발의일자"/>
  186. <Cell col="60" text="전표일자"/>
  187. <Cell col="61" text="전표번호"/>
  188. <Cell col="62" text="일련번호"/>
  189. <Cell col="63" text="전표구분"/>
  190. <Cell col="64" text="전표유형"/>
  191. <Cell col="65" text="차대구분"/>
  192. <Cell col="66" text="계정코드"/>
  193. <Cell col="67" text="계정명"/>
  194. <Cell col="68" text="상대계정코드"/>
  195. <Cell col="69" text="상대계정명"/>
  196. <Cell col="70" text="귀속부서"/>
  197. <Cell col="71" text="귀속부서명"/>
  198. <Cell col="72" text="기표부서"/>
  199. <Cell col="73" text="기표부서명"/>
  200. <Cell col="74" text="입출금예정일"/>
  201. <Cell col="75" text="전표적요"/>
  202. <Cell col="76" text="상대처구분"/>
  203. <Cell col="77" text="상대처코드"/>
  204. <Cell col="78" text="상대처명"/>
  205. <Cell col="79" text="기재사항제목1"/>
  206. <Cell col="80" text="기재사항코드1"/>
  207. <Cell col="81" text="기재사항내역1"/>
  208. <Cell col="82" text="기재사항제목2"/>
  209. <Cell col="83" text="기재사항코드2"/>
  210. <Cell col="84" text="기재사항내역2"/>
  211. <Cell col="85" text="기타기재사항"/>
  212. <Cell col="86" text="프로젝트ID"/>
  213. <Cell col="87" text="합계금액"/>
  214. <Cell col="88" text="공급가액"/>
  215. <Cell col="89" text="부가가치세"/>
  216. <Cell col="90" text="증빙구분"/>
  217. <Cell col="91" text="사용일자"/>
  218. <Cell col="92" text="거래처"/>
  219. <Cell col="93" text="거래처명"/>
  220. <Cell col="94" text="거래처주소"/>
  221. <Cell col="95" text="거래처대표자"/>
  222. <Cell col="96" text="거래처 업태"/>
  223. <Cell col="97" text="거래처 종목"/>
  224. <Cell col="98" text="전화번호"/>
  225. <Cell col="99" text="증빙적요"/>
  226. <Cell col="100" text="법인카드번호"/>
  227. <Cell col="101" text="카드사코드"/>
  228. <Cell col="102" text="사용자"/>
  229. <Cell col="103" text="소유부서"/>
  230. <Cell col="104" text="소유부서명"/>
  231. <Cell col="105" text="고정자산매입구분"/>
  232. <Cell col="106" text="매입매출구분"/>
  233. <Cell col="107" text="과세구분"/>
  234. <Cell col="108" text="처리일자"/>
  235. <Cell row="1" text="기관코드"/>
  236. <Cell row="1" col="6" text="전표일자"/>
  237. <Cell row="1" col="7" text="전표번호"/>
  238. <Cell row="1" col="8" text="일련번호"/>
  239. </Band>
  240. <Band id="body">
  241. <Cell text="bind:instcd"/>
  242. <Cell col="1" celltype="head"/>
  243. <Cell col="2" displaytype="text" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="expr:getRowLevel(currow) == 1 ? '' : seqno"/>
  244. <Cell col="3" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:slipseqno"/>
  245. <Cell col="4" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:workflag"/>
  246. <Cell col="5" displaytype="date" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:genrdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  247. <Cell col="6" displaytype="date" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:unsldd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  248. <Cell col="7" displaytype="combo" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:unslno" combodataset="ds_display_slipkind"/>
  249. <Cell col="8" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:unslseqno"/>
  250. <Cell col="9" displaytype="combo" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:slipflag" combodataset="ds_display_slipflag" combocodecol="cdid" combodatacol="cdnm"/>
  251. <Cell col="10" displaytype="combo" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:slipkind" combodataset="ds_display_slipkind" combocodecol="cd" combodatacol="nm"/>
  252. <Cell col="11" displaytype="combo" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:drcrflag" combodataset="ds_display_dcrflag" combocodecol="cd" combodatacol="nm"/>
  253. <Cell col="12" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:acntcd"/>
  254. <Cell col="13" style="align:left top;background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:acntnm" wordwrap="char"/>
  255. <Cell col="14" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:rlaacntcd"/>
  256. <Cell col="15" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:rlaacntnm"/>
  257. <Cell col="16" style="align:left middle;background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:costcntrdeptcd"/>
  258. <Cell col="17" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:costcntrdeptnm"/>
  259. <Cell col="18" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:slipdeptcd"/>
  260. <Cell col="19" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:slipdeptnm"/>
  261. <Cell col="20" displaytype="date" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:defrayreqdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  262. <Cell col="21" style="align:left top;background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:slipcmt" wordwrap="char"/>
  263. <Cell col="22" displaytype="combo" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:rlaflag" combodataset="ds_display_custflag" combocodecol="cd" combodatacol="nm"/>
  264. <Cell col="23" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:rlacd"/>
  265. <Cell col="24" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:rlanm"/>
  266. <Cell col="25" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:notefactnm1"/>
  267. <Cell col="26" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:notefactcd1"/>
  268. <Cell col="27" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:notefactspec1"/>
  269. <Cell col="28" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:notefactnm2"/>
  270. <Cell col="29" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:notefactcd2"/>
  271. <Cell col="30" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="expr:getRowLevel(currow) == 1 ? '차대소계' : notefactspec2"/>
  272. <Cell col="31" style="align:left top;background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:etcnotefact" wordwrap="char"/>
  273. <Cell col="32" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:projectid"/>
  274. <Cell col="33" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');font:EXPR(getRowLevel(currow) == 1 ? 'arial,9,bold' : '');" text="bind:amt"/>
  275. <Cell col="34" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:suplamt"/>
  276. <Cell col="35" displaytype="number" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:valaddtax"/>
  277. <Cell col="36" displaytype="combo" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:profflag" combodataset="ds_display_profflag" combocodecol="cd" combodatacol="nm"/>
  278. <Cell col="37" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:usedd"/>
  279. <Cell col="38" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:entrregno"/>
  280. <Cell col="39" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:custnm"/>
  281. <Cell col="40" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:custaddr"/>
  282. <Cell col="41" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:custprsd"/>
  283. <Cell col="42" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:custbizcond"/>
  284. <Cell col="43" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:custitem"/>
  285. <Cell col="44" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:cntctel"/>
  286. <Cell col="45" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:mainrec"/>
  287. <Cell col="46" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:instcardseqno"/>
  288. <Cell col="47" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:cardcmpycd"/>
  289. <Cell col="48" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:posspsn"/>
  290. <Cell col="49" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:possdeptcd"/>
  291. <Cell col="50" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:possdeptnm"/>
  292. <Cell col="51" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:fixasetflag"/>
  293. <Cell col="52" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:taxbillflag"/>
  294. <Cell col="53" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:taxkind"/>
  295. <Cell col="54" displaytype="date" style="background:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');background2:EXPR(getRowLevel(currow) == 1 ? '#ccffff' : '');" text="bind:prcdd" mask="yyyy-MM-dd" calendardisplaynulltype="nulltext"/>
  296. </Band>
  297. </Format>
  298. </Formats>
  299. </Grid>
  300. <Button id="btn_delrow" class="btn2" taborder="9" position="absolute 1139 102 1192 121" style="align:left ;" text="행삭제" onclick="group3_btn_delrow_onclick"/>
  301. <Button id="btn_addrow" class="btn2" taborder="8" visible="false" position="absolute 940 102 993 121" style="align:left ;" text="행추가" onclick="group3_btn_addrow_onclick"/>
  302. <Button id="btn_autotr" class="btn4" taborder="23" position="absolute 1130 3 1186 25" style="" text="분개" onclick="group3_btn_autotr_onclick"/>
  303. <CheckBox text="모든 일자 자동분개" truevalue="A" falsevalue="" datacolumn="datacolumn" codecolumn="codecolumn" columncount="-1" rowcount="-1" id="checkbox1" enable="false" visible="false" position="absolute 920 5 1055 25" style="">
  304. <Dataset id="innerdataset">
  305. <ColumnInfo>
  306. <Column id="codecolumn"/>
  307. <Column id="datacolumn"/>
  308. </ColumnInfo>
  309. <Rows>
  310. <Row>
  311. <Col id="codecolumn">A</Col>
  312. <Col id="datacolumn">모든 일자 자동분개</Col>
  313. </Row>
  314. </Rows>
  315. </Dataset>
  316. </CheckBox>
  317. <Button id="btn_save" class="btn4" taborder="23" visible="true" position="absolute 1070 3 1126 25" style="" text="저장" onclick="group3_btn_save_onclick"/>
  318. <Button id="btn_5" class="btn2" position="absolute 1070 102 1134 121" style="align:left ;" text="엑셀출력" onclick="group3_btn_5_onclick"/>
  319. </Layout>
  320. </Layouts>
  321. </Div>
  322. </Layout>
  323. </Layouts>
  324. <Objects>
  325. <Dataset id="ds_source" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  326. <ColumnInfo>
  327. <Column id="slipinfo" type="STRING" size="256"/>
  328. </ColumnInfo>
  329. </Dataset>
  330. <Dataset id="ds_save" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  331. <ColumnInfo>
  332. <Column id="detailist" type="STRING" size="256"/>
  333. </ColumnInfo>
  334. <Rows>
  335. <Row>
  336. <Col id="detailist"/>
  337. </Row>
  338. </Rows>
  339. </Dataset>
  340. <Dataset id="ds_main_condition" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  341. <ColumnInfo>
  342. <Column id="instcd" type="STRING" size="256"/>
  343. <Column id="slipflag" type="STRING" size="256"/>
  344. <Column id="genrdd" type="STRING" size="256"/>
  345. <Column id="alldate" type="STRING" size="256"/>
  346. <Column id="deptcd" type="STRING" size="256"/>
  347. <Column id="deptnm" type="STRING" size="256"/>
  348. <Column id="slipkind" type="STRING" size="256"/>
  349. <Column id="slipendyn" type="STRING" size="256"/>
  350. </ColumnInfo>
  351. <Rows>
  352. <Row>
  353. <Col id="instcd"/>
  354. <Col id="slipflag">1</Col>
  355. <Col id="genrdd"/>
  356. <Col id="alldate"/>
  357. <Col id="deptcd"/>
  358. <Col id="deptnm"/>
  359. <Col id="slipkind"/>
  360. <Col id="slipendyn">1</Col>
  361. </Row>
  362. </Rows>
  363. </Dataset>
  364. <Dataset id="ds_display" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  365. <ColumnInfo/>
  366. </Dataset>
  367. <Dataset id="ds_main_list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  368. <ColumnInfo>
  369. <Column id="detailist" type="STRING" size="256"/>
  370. </ColumnInfo>
  371. <Rows>
  372. <Row>
  373. <Col id="detailist"/>
  374. </Row>
  375. </Rows>
  376. </Dataset>
  377. <Dataset id="ds_init" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  378. <ColumnInfo/>
  379. </Dataset>
  380. <Dataset id="ds_display_slipkind" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  381. <ColumnInfo>
  382. <Column id="cd" type="STRING" size="256"/>
  383. <Column id="nm" type="STRING" size="256"/>
  384. <Column id="cd" type="STRING" size="256"/>
  385. <Column id="nm" type="STRING" size="256"/>
  386. <Column id="cd" type="STRING" size="256"/>
  387. <Column id="nm" type="STRING" size="256"/>
  388. </ColumnInfo>
  389. <Rows>
  390. <Row>
  391. <Col id="cd">1</Col>
  392. <Col id="nm">대체</Col>
  393. </Row>
  394. <Row>
  395. <Col id="cd">2</Col>
  396. <Col id="nm">입금</Col>
  397. </Row>
  398. <Row>
  399. <Col id="cd">3</Col>
  400. <Col id="nm">출금</Col>
  401. </Row>
  402. </Rows>
  403. </Dataset>
  404. <Dataset id="ds_display_profflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  405. <ColumnInfo>
  406. <Column id="nm" type="STRING" size="256"/>
  407. <Column id="cd" type="STRING" size="256"/>
  408. <Column id="nm" type="STRING" size="256"/>
  409. <Column id="cd" type="STRING" size="256"/>
  410. <Column id="nm" type="STRING" size="256"/>
  411. <Column id="cd" type="STRING" size="256"/>
  412. <Column id="nm" type="STRING" size="256"/>
  413. <Column id="cd" type="STRING" size="256"/>
  414. <Column id="nm" type="STRING" size="256"/>
  415. <Column id="cd" type="STRING" size="256"/>
  416. <Column id="nm" type="STRING" size="256"/>
  417. <Column id="cd" type="STRING" size="256"/>
  418. <Column id="nm" type="STRING" size="256"/>
  419. <Column id="cd" type="STRING" size="256"/>
  420. <Column id="nm" type="STRING" size="256"/>
  421. <Column id="cd" type="STRING" size="256"/>
  422. <Column id="nm" type="STRING" size="256"/>
  423. <Column id="cd" type="STRING" size="256"/>
  424. <Column id="nm" type="STRING" size="256"/>
  425. <Column id="cd" type="STRING" size="256"/>
  426. <Column id="nm" type="STRING" size="256"/>
  427. <Column id="cd" type="STRING" size="256"/>
  428. <Column id="nm" type="STRING" size="256"/>
  429. <Column id="cd" type="STRING" size="256"/>
  430. </ColumnInfo>
  431. <Rows>
  432. <Row>
  433. <Col id="nm">법인카드</Col>
  434. <Col id="cd">1</Col>
  435. </Row>
  436. <Row>
  437. <Col id="nm">개인신용카드</Col>
  438. <Col id="cd">2</Col>
  439. </Row>
  440. <Row>
  441. <Col id="nm">현금영수증</Col>
  442. <Col id="cd">3</Col>
  443. </Row>
  444. <Row>
  445. <Col id="nm">세금계산서</Col>
  446. <Col id="cd">4</Col>
  447. </Row>
  448. <Row>
  449. <Col id="nm">계산서</Col>
  450. <Col id="cd">5</Col>
  451. </Row>
  452. <Row>
  453. <Col id="nm">기타</Col>
  454. <Col id="cd">6</Col>
  455. </Row>
  456. <Row>
  457. <Col id="nm">근로소득</Col>
  458. <Col id="cd">7</Col>
  459. </Row>
  460. <Row>
  461. <Col id="nm">비과세근로소득</Col>
  462. <Col id="cd">8</Col>
  463. </Row>
  464. <Row>
  465. <Col id="nm">퇴직소득</Col>
  466. <Col id="cd">9</Col>
  467. </Row>
  468. <Row>
  469. <Col id="nm">일용근로소득</Col>
  470. <Col id="cd">A</Col>
  471. </Row>
  472. <Row>
  473. <Col id="nm">사업소득</Col>
  474. <Col id="cd">B</Col>
  475. </Row>
  476. <Row>
  477. <Col id="nm">기타소득</Col>
  478. <Col id="cd">C</Col>
  479. </Row>
  480. </Rows>
  481. </Dataset>
  482. <Dataset id="ds_init_R0008list_R0008" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  483. <ColumnInfo>
  484. <Column id="cdnm" type="STRING" size="256"/>
  485. <Column id="cdid" type="STRING" size="256"/>
  486. </ColumnInfo>
  487. <Rows>
  488. <Row>
  489. <Col id="cdnm"/>
  490. <Col id="cdid"/>
  491. </Row>
  492. </Rows>
  493. </Dataset>
  494. <Dataset id="ds_display_bankflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  495. <ColumnInfo>
  496. <Column id="nm" type="STRING" size="256"/>
  497. <Column id="cd" type="STRING" size="256"/>
  498. <Column id="nm" type="STRING" size="256"/>
  499. <Column id="cd" type="STRING" size="256"/>
  500. <Column id="nm" type="STRING" size="256"/>
  501. <Column id="cd" type="STRING" size="256"/>
  502. <Column id="nm" type="STRING" size="256"/>
  503. <Column id="cd" type="STRING" size="256"/>
  504. <Column id="nm" type="STRING" size="256"/>
  505. <Column id="cd" type="STRING" size="256"/>
  506. <Column id="nm" type="STRING" size="256"/>
  507. <Column id="cd" type="STRING" size="256"/>
  508. <Column id="nm" type="STRING" size="256"/>
  509. <Column id="cd" type="STRING" size="256"/>
  510. <Column id="nm" type="STRING" size="256"/>
  511. <Column id="cd" type="STRING" size="256"/>
  512. <Column id="nm" type="STRING" size="256"/>
  513. <Column id="cd" type="STRING" size="256"/>
  514. <Column id="nm" type="STRING" size="256"/>
  515. <Column id="cd" type="STRING" size="256"/>
  516. <Column id="nm" type="STRING" size="256"/>
  517. <Column id="cd" type="STRING" size="256"/>
  518. <Column id="nm" type="STRING" size="256"/>
  519. <Column id="cd" type="STRING" size="256"/>
  520. </ColumnInfo>
  521. <Rows>
  522. <Row>
  523. <Col id="nm"/>
  524. <Col id="cd"/>
  525. </Row>
  526. <Row>
  527. <Col id="nm">국민카드</Col>
  528. <Col id="cd">01</Col>
  529. </Row>
  530. <Row>
  531. <Col id="nm">롯데카드</Col>
  532. <Col id="cd">02</Col>
  533. </Row>
  534. <Row>
  535. <Col id="nm">비씨카드</Col>
  536. <Col id="cd">03</Col>
  537. </Row>
  538. <Row>
  539. <Col id="nm">삼성카드</Col>
  540. <Col id="cd">04</Col>
  541. </Row>
  542. <Row>
  543. <Col id="nm">신한카드</Col>
  544. <Col id="cd">05</Col>
  545. </Row>
  546. <Row>
  547. <Col id="nm">씨티카드</Col>
  548. <Col id="cd">06</Col>
  549. </Row>
  550. <Row>
  551. <Col id="nm">엘지카드</Col>
  552. <Col id="cd">07</Col>
  553. </Row>
  554. <Row>
  555. <Col id="nm">외환카드</Col>
  556. <Col id="cd">08</Col>
  557. </Row>
  558. <Row>
  559. <Col id="nm">우리카드</Col>
  560. <Col id="cd">09</Col>
  561. </Row>
  562. <Row>
  563. <Col id="nm">조흥카드</Col>
  564. <Col id="cd">10</Col>
  565. </Row>
  566. <Row>
  567. <Col id="nm">현대카드</Col>
  568. <Col id="cd">11</Col>
  569. </Row>
  570. </Rows>
  571. </Dataset>
  572. <Dataset id="ds_init_R0008list" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  573. <ColumnInfo/>
  574. </Dataset>
  575. <Dataset id="ds_main" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  576. <ColumnInfo/>
  577. </Dataset>
  578. <Dataset id="ds_display_custflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  579. <ColumnInfo>
  580. <Column id="nm" type="STRING" size="256"/>
  581. <Column id="cd" type="STRING" size="256"/>
  582. <Column id="nm" type="STRING" size="256"/>
  583. <Column id="cd" type="STRING" size="256"/>
  584. <Column id="nm" type="STRING" size="256"/>
  585. <Column id="cd" type="STRING" size="256"/>
  586. <Column id="nm" type="STRING" size="256"/>
  587. <Column id="cd" type="STRING" size="256"/>
  588. <Column id="nm" type="STRING" size="256"/>
  589. <Column id="cd" type="STRING" size="256"/>
  590. </ColumnInfo>
  591. <Rows>
  592. <Row>
  593. <Col id="nm">거래처</Col>
  594. <Col id="cd">1</Col>
  595. </Row>
  596. <Row>
  597. <Col id="nm">부서</Col>
  598. <Col id="cd">3</Col>
  599. </Row>
  600. <Row>
  601. <Col id="nm">교직원</Col>
  602. <Col id="cd">4</Col>
  603. </Row>
  604. <Row>
  605. <Col id="nm">개인</Col>
  606. <Col id="cd">5</Col>
  607. </Row>
  608. <Row>
  609. <Col id="nm">기타</Col>
  610. <Col id="cd">9</Col>
  611. </Row>
  612. </Rows>
  613. </Dataset>
  614. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  615. <ColumnInfo/>
  616. </Dataset>
  617. <Dataset id="ds_display_fixasetflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  618. <ColumnInfo>
  619. <Column id="nm" type="STRING" size="256"/>
  620. <Column id="cd" type="STRING" size="256"/>
  621. <Column id="nm" type="STRING" size="256"/>
  622. <Column id="cd" type="STRING" size="256"/>
  623. <Column id="nm" type="STRING" size="256"/>
  624. <Column id="cd" type="STRING" size="256"/>
  625. <Column id="nm" type="STRING" size="256"/>
  626. <Column id="cd" type="STRING" size="256"/>
  627. <Column id="nm" type="STRING" size="256"/>
  628. <Column id="cd" type="STRING" size="256"/>
  629. </ColumnInfo>
  630. <Rows>
  631. <Row>
  632. <Col id="nm">일반매입매출</Col>
  633. <Col id="cd">00</Col>
  634. </Row>
  635. <Row>
  636. <Col id="nm">건·구축물</Col>
  637. <Col id="cd">01</Col>
  638. </Row>
  639. <Row>
  640. <Col id="nm">기계장치</Col>
  641. <Col id="cd">02</Col>
  642. </Row>
  643. <Row>
  644. <Col id="nm">차량운반구</Col>
  645. <Col id="cd">03</Col>
  646. </Row>
  647. <Row>
  648. <Col id="nm">기타감가상각물</Col>
  649. <Col id="cd">04</Col>
  650. </Row>
  651. </Rows>
  652. </Dataset>
  653. <Dataset id="ds_display_dcrflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  654. <ColumnInfo>
  655. <Column id="nm" type="STRING" size="256"/>
  656. <Column id="cd" type="STRING" size="256"/>
  657. <Column id="nm" type="STRING" size="256"/>
  658. <Column id="cd" type="STRING" size="256"/>
  659. </ColumnInfo>
  660. <Rows>
  661. <Row>
  662. <Col id="nm">차변</Col>
  663. <Col id="cd">D</Col>
  664. </Row>
  665. <Row>
  666. <Col id="nm">대변</Col>
  667. <Col id="cd">C</Col>
  668. </Row>
  669. </Rows>
  670. </Dataset>
  671. <Dataset id="ds_init_code" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  672. <ColumnInfo>
  673. <Column id="codelist" type="STRING" size="256"/>
  674. </ColumnInfo>
  675. <Rows>
  676. <Row>
  677. <Col id="codelist"/>
  678. </Row>
  679. </Rows>
  680. </Dataset>
  681. <Dataset id="ds_display_slipflag" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  682. <ColumnInfo>
  683. <Column id="cdnm" type="STRING" size="256"/>
  684. <Column id="cdid" type="STRING" size="256"/>
  685. <Column id="cdnm" type="STRING" size="256"/>
  686. <Column id="cdid" type="STRING" size="256"/>
  687. <Column id="cdid" type="STRING" size="256"/>
  688. <Column id="cdnm" type="STRING" size="256"/>
  689. <Column id="cdid" type="STRING" size="256"/>
  690. <Column id="cdnm" type="STRING" size="256"/>
  691. <Column id="cdid" type="STRING" size="256"/>
  692. <Column id="cdnm" type="STRING" size="256"/>
  693. <Column id="cdid" type="STRING" size="256"/>
  694. <Column id="cdnm" type="STRING" size="256"/>
  695. <Column id="cdid" type="STRING" size="256"/>
  696. <Column id="cdnm" type="STRING" size="256"/>
  697. <Column id="cdid" type="STRING" size="256"/>
  698. <Column id="cdnm" type="STRING" size="256"/>
  699. <Column id="cdid" type="STRING" size="256"/>
  700. <Column id="cdnm" type="STRING" size="256"/>
  701. </ColumnInfo>
  702. <Rows>
  703. <Row>
  704. <Col id="cdnm">전체</Col>
  705. <Col id="cdid">A</Col>
  706. </Row>
  707. <Row>
  708. <Col id="cdnm">일반전표</Col>
  709. <Col id="cdid">1</Col>
  710. </Row>
  711. <Row>
  712. <Col id="cdid">2</Col>
  713. <Col id="cdnm">입원수익전표</Col>
  714. </Row>
  715. <Row>
  716. <Col id="cdid">3</Col>
  717. <Col id="cdnm">외래수익전표</Col>
  718. </Row>
  719. <Row>
  720. <Col id="cdid">4</Col>
  721. <Col id="cdnm">건진수익전표</Col>
  722. </Row>
  723. <Row>
  724. <Col id="cdid">5</Col>
  725. <Col id="cdnm">급여전표</Col>
  726. </Row>
  727. <Row>
  728. <Col id="cdid">6</Col>
  729. <Col id="cdnm">물류전표(입고)</Col>
  730. </Row>
  731. <Row>
  732. <Col id="cdid">7</Col>
  733. <Col id="cdnm">물류전표(출고)</Col>
  734. </Row>
  735. <Row>
  736. <Col id="cdid">8</Col>
  737. <Col id="cdnm">감가상각전표</Col>
  738. </Row>
  739. </Rows>
  740. </Dataset>
  741. <Dataset id="ds_temp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  742. <ColumnInfo>
  743. <Column id="temp" type="STRING" size="256"/>
  744. </ColumnInfo>
  745. <Rows>
  746. <Row>
  747. <Col id="temp"/>
  748. </Row>
  749. </Rows>
  750. </Dataset>
  751. <Dataset id="ds_send_data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="keep">
  752. <ColumnInfo>
  753. <Column id="instcd" type="STRING" size="256"/>
  754. <Column id="mngtcd" type="STRING" size="256"/>
  755. </ColumnInfo>
  756. <Rows>
  757. <Row>
  758. <Col id="instcd"/>
  759. <Col id="mngtcd"/>
  760. </Row>
  761. </Rows>
  762. </Dataset>
  763. <Dataset id="ds_init_code_codelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  764. <Dataset id="ds_main_notelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  765. <Dataset id="ds_main_list_detailist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  766. <Dataset id="ds_source_slipinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  767. </Objects>
  768. <Bind>
  769. <BindItem id="item0" compid="group3.grp_sea.input2" propid="value" datasetid="ds_main_condition" columnid="genrdd"/>
  770. <BindItem id="item1" compid="group3.grp_sea.cmb_slipflag" propid="value" datasetid="ds_main_condition" columnid="slipflag"/>
  771. <BindItem id="item2" compid="group3.grp_sea.ipt_deptnm" propid="value" datasetid="ds_main_condition" columnid="deptnm"/>
  772. <BindItem id="item3" compid="group3.grp_sea.ipt_deptcd" propid="value" datasetid="ds_main_condition" columnid="deptcd"/>
  773. <BindItem id="item4" compid="group3.grp_sea.cmb_slipendyn" propid="value" datasetid="ds_main_condition" columnid="slipendyn"/>
  774. <BindItem id="item5" compid="group3.grp_sea.cmb_slipkind" propid="value" datasetid="ds_main_condition" columnid="slipkind"/>
  775. <BindItem id="item6" compid="group3.checkbox1" propid="value" datasetid="ds_main_condition" columnid="alldate"/>
  776. </Bind>
  777. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  778. * System Name :
  779. * Job Name :
  780. * Creator :
  781. * Make Date : 2017-06-19
  782. * Description :
  783. *---------------------------------------------------------------------------------------
  784. * Modify Date Modifier Modify Description
  785. *---------------------------------------------------------------------------------------
  786. * 2017-06-19 Live Converter TF->XP
  787. *
  788. *---------------------------------------------------------------------------------------
  789. ****************************************************************************************/
  790. include "com_commonxp::comm_main.xjs";
  791. include "mis_miscommonxp::MIS.xjs";
  792. //include "mis_miscommonxp::RAC001.xjs";
  793. include "mis_acntcommonxp::RAD001.xjs";
  794. include "com_basiccodexp::ZBC001.xjs";
  795. var deptcd = "";
  796. var acntdept = "";
  797. function SMRAD01400_onload(obj:Form, e:LoadEventInfo) {
  798. frmf_initForm(obj);
  799. //grdf_initGrid(grd_XXX);
  800. //grdf_setGridSort(grd_XXX);
  801. grdf_setRowTypeIcon(group3.grd_autosliplist, 1);
  802. fOpenForm();
  803. }
  804. //전체에서 event와 src를 제외한 script 를 모두포함.
  805. function fOpenForm()
  806. {
  807. var instcd = sysf_getUserInfo("dutplceinstcd");
  808. deptcd = sysf_getUserInfo("dutplcecd");
  809. var deptnm = sysf_getUserInfo("dutplcenm");
  810. ds_send_data.setColumn( 0, "instcd", instcd);
  811. ds_send_data.setColumn( 0, "mngtcd", "acntdept");
  812. // submit("TRRAZ00001");
  813. var oParam = {};
  814. oParam.id = "TRRAZ00001";
  815. oParam.service = "acntcommonapp.AcntCommon";
  816. oParam.method = "reqGetAcntMngtCodeList";
  817. oParam.inds = "req=ds_send_data";
  818. oParam.outds = "ds_init_code_codelist=codelist";
  819. oParam.async = false;
  820. oParam.callback = "cf_TRRAZ00001";
  821. tranf_submit(oParam);
  822. /*
  823. function cf_TRRAZ00001(sSvcId, nErrorCode, sErrorMsg) {
  824. if(nErrorCode < 0) return;
  825. }
  826. function cf_TRRAZ00001(sSvcId, nErrorCode, sErrorMsg) {
  827. arErrorCode.push(sSvcId, nErrorCode);
  828. }
  829. arErrorCode.pop("TRRAZ00001") > -1
  830. arErrorCode.pop("TRRAZ00001") < 0
  831. */
  832. //model.refresh();
  833. }
  834. function cf_TRRAZ00001(sSvcId, nErrorCode, sErrorMsg) {
  835. if(nErrorCode < 0) return;
  836. acntdept = ds_init_code_codelist.getColumn(0, "cdid");
  837. if (deptcd != deptcd)
  838. {
  839. //model.setValue(group3.grp_sea.cmb_slipflag.attribute("ref"), "1");
  840. ds_main_condition.setColumn(0,"slipflag","1");
  841. //group3.grp_sea.cmb_slipflag.enable = false;
  842. //model.setValue(group3.grp_sea.cmb_slipkind.attribute("ref"), "3");
  843. ds_main_condition.setColumn(0,"slipkind","3");
  844. //group3.grp_sea.cmb_slipkind.enable = false;
  845. //model.setValue(group3.grp_sea.ipt_deptcd.attribute("ref"), deptcd);
  846. //model.setValue(group3.grp_sea.ipt_deptnm.attribute("ref"), deptnm);
  847. //group3.grp_sea.ipt_deptcd.enable = false;
  848. //group3.grp_sea.ipt_deptnm.enable = false;
  849. }
  850. if(radfCheckInstMngt(sysf_getUserInfo("dutplceinstcd"), 'condition7') == "Y")
  851. {
  852. misfComboComCdList("R0360", group3.grp_sea.cmb_slipkind, "Y");
  853. }
  854. else
  855. {
  856. misfComboComCdList("R0359", group3.grp_sea.cmb_slipkind, "Y");
  857. }
  858. misfComboComCdList("R0008", group3.grp_sea.cmb_slipflag, "N");
  859. ds_main_notelist.clearData();
  860. var sToday = utlf_getCurrentDate().toString();
  861. ds_main_condition.setColumn( 0, "genrdd",sToday);
  862. var instcd = sysf_getUserInfo("dutplceinstcd");
  863. ds_main_condition.setColumn( 0, "instcd",instcd);
  864. ds_main_list_detailist.clearData();
  865. ds_main_list_detailist.addRow();
  866. ds_main_list_detailist.clearData();//조회시 기존 데이터 삭제
  867. // for(var i = group3.grd_autosliplist.fixedCols ; i < group3.grd_autosliplist.cols ; i++)
  868. // {
  869. // group3.grd_autosliplist.colDisabled(i) = true;
  870. // }
  871. }
  872. function fAddDelRow(sStatus)
  873. {
  874. if(sStatus == "A")
  875. {
  876. misfGridIUD(group3.grd_autosliplist, sStatus);
  877. group3.grd_autosliplist.valueMatrix(group3.grd_autosliplist.row, group3.grd_autosliplist.colRef("instcd")) = sysf_getUserInfo("dutplceinstcd");
  878. group3.grd_autosliplist.valueMatrix(group3.grd_autosliplist.row, group3.grd_autosliplist.colRef("genrdd")) = ds_main_condition.getColumn(0, "genrdd");
  879. group3.grd_autosliplist.valueMatrix(group3.grd_autosliplist.row, group3.grd_autosliplist.colRef("slipflag")) = ds_main_condition.getColumn(0, "slipflag");
  880. }
  881. else
  882. {
  883. misfGridIUD(group3.grd_autosliplist, sStatus);
  884. }
  885. }
  886. function fSaveClick()
  887. {
  888. var oParam = {};
  889. oParam.id = "TXRAD01402";
  890. oParam.service = "slipapp.AccBook";
  891. oParam.method = "reqExeAutoBookkeeping";
  892. oParam.inds = "req=ds_main_list_detailist:U";
  893. oParam.outds = "";
  894. oParam.async = false;
  895. // oParam.callback = "cf_TXRAD01402";
  896. tranf_submit(oParam);
  897. }
  898. //========================================================================================
  899. //기재사항코드 조회
  900. //========================================================================================
  901. function fRetrive()
  902. {
  903. ds_main_list_detailist.clearData();
  904. ds_main_list_detailist.addRow();
  905. ds_main_list_detailist.clearData();//조회시 기존 데이터 삭제
  906. dsf_makeValue( ds_send, "send", "string", "" );
  907. ds_send.copyData(ds_main_condition);
  908. var oParam = {};
  909. oParam.id = "TRRAD01401";
  910. oParam.service = "slipapp.AccBook";
  911. oParam.method = "reqGetAutoBookkeeping";
  912. oParam.inds = "req=ds_send";
  913. oParam.outds = "ds_main_list_detailist=detailist";
  914. oParam.async = false;
  915. oParam.callback = "cf_TRRAD01401";
  916. tranf_submit(oParam);
  917. ds_main_list_detailist.keystring = "G:+slipkind+drcrflag";
  918. }
  919. function cf_TRRAD01401(sSvcId, nErrorCode, sErrorMsg) {
  920. if(nErrorCode < 0) return;
  921. // group3.grd_autosliplist.subtotalposition="below";
  922. // group3.grd_autosliplist.multitotals=true;
  923. //
  924. // group3.grd_autosliplist.subtotal("sum", group3.grd_autosliplist.colRef("slipseqno"), group3.grd_autosliplist.colRef("amt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#3366ff; color:#0000ff; font-weight:bold; ", 30, "전표구분번호별합계", false);
  925. //
  926. // group3.grd_autosliplist.subtotal("sum", group3.grd_autosliplist.colRef("workflag"), group3.grd_autosliplist.colRef("amt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#7CBBDD; color:#0000ff; font-weight:bold; ", 30, "업무별합계", false);
  927. //
  928. // group3.grd_autosliplist.subtotal("sum", group3.grd_autosliplist.colRef("unslno"), group3.grd_autosliplist.colRef("amt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#00ffff; color:#0000ff; font-weight:bold; ", 30, "전표차대합계", false);
  929. //
  930. // group3.grd_autosliplist.subtotal("sum", group3.grd_autosliplist.colRef("drcrflag"), group3.grd_autosliplist.colRef("amt"), "format:#,###; roundmode:round; roundpostion:2", "background-color:#ccffff; font-weight:bold; ", 30, "차대소계", false);
  931. }
  932. function fAutoBookClick()
  933. {
  934. dsf_makeValue( ds_send, "send", "string", "" );
  935. ds_send.copyData(ds_main_condition);
  936. //model.refresh();
  937. // submit("TXRAD01403");
  938. var oParam = {};
  939. oParam.id = "TRRAD01401";
  940. oParam.service = "slipapp.AccBook";
  941. oParam.method = "reqRunAutoBookkeeping";
  942. oParam.inds = "req=ds_send";
  943. oParam.outds = "";
  944. oParam.async = false;
  945. //oParam.callback = "cf_TRRAD01401";
  946. tranf_submit(oParam);
  947. /*
  948. function cf_TRRAD01401(sSvcId, nErrorCode, sErrorMsg) {
  949. if(nErrorCode < 0) return;
  950. }
  951. function cf_TRRAD01401(sSvcId, nErrorCode, sErrorMsg) {
  952. arErrorCode.push(sSvcId, nErrorCode);
  953. }
  954. arErrorCode.pop("TRRAD01401") > -1
  955. arErrorCode.pop("TRRAD01401") < 0
  956. */
  957. //model.refresh();
  958. }
  959. //========================================================================================
  960. //관리항목 상세정보 조회(그리드용)
  961. //========================================================================================
  962. function fGetMngItemInfo(pRow)
  963. {
  964. if ( pRow > 0 )
  965. {
  966. ds_send.clearData();
  967. ds_send.addRow();
  968. var strItem ;
  969. strItem = grd_notelist.valueMatrix(grd_notelist.row, grd_notelist.colRef("mngitem"));
  970. ds_main_condition.setColumn( 0, "mngitem",strItem);
  971. ds_main_list_detailist.clearData();
  972. ds_main_list_detailist.addRow();
  973. ds_main_list_detailist.clearData();//조회시 기존 데이터 삭제
  974. ds_send.copyData(ds_main_condition);
  975. // submit("TRRAD01002");
  976. var oParam = {};
  977. oParam.id = "TRRAD01002";
  978. oParam.service = "slipapp.AccBook";
  979. oParam.method = "reqGetManageItemDetail";
  980. oParam.inds = "req=ds_";
  981. oParam.outds = "ds_=detailist";
  982. oParam.async = false;
  983. oParam.callback = "cf_TRRAD01002";
  984. tranf_submit(oParam);
  985. /*
  986. function cf_TRRAD01002(sSvcId, nErrorCode, sErrorMsg) {
  987. if(nErrorCode < 0) return;
  988. }
  989. function cf_TRRAD01002(sSvcId, nErrorCode, sErrorMsg) {
  990. arErrorCode.push(sSvcId, nErrorCode);
  991. }
  992. arErrorCode.pop("TRRAD01002") > -1
  993. arErrorCode.pop("TRRAD01002") < 0
  994. */
  995. }
  996. }
  997. //========================================================================================
  998. //각종 코드 Help Open
  999. //========================================================================================
  1000. function fOpenPopupHelp(pHelper, pControl, pInstance, pCdgrupid, pValueControl, pNodeName)
  1001. {
  1002. misfOpenPopUpList(pHelper, pControl, pCdgrupid, pInstance, pValueControl, pNodeName);
  1003. //model.refresh();
  1004. }
  1005. //========================================================================================
  1006. //엑셀입력(excel file을 그리드에 입력)
  1007. //========================================================================================
  1008. function fInputExcel(pGrid)
  1009. {
  1010. var fileName = window.fileDialog("open", ",", false, "", "xls", "All Files (*.*)|*.*|Excel Files(*.xls)|*.xls");
  1011. if(fileName != "")
  1012. {
  1013. pGrid.loadExcel(fileName, 1, true);
  1014. pGrid.deleteRow(1);
  1015. for(i = 1; i < pGrid.rows; i++)
  1016. {
  1017. pGrid.rowStatus(i) = 1;
  1018. }
  1019. //pGrid.refresh();
  1020. }
  1021. }
  1022. function group3_grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo) {
  1023. fRetrive();
  1024. }
  1025. function group3_grp_sea_btn_deptcd_onclick(obj:Button, e:ClickEventInfo) {
  1026. misfOpenPopUpList("02", group3.grp_sea.ipt_deptcd, "", "deptcd,deptnm");
  1027. //model.refresh();
  1028. }
  1029. function group3_grd_autosliplist_onlbuttonup(obj:Grid, e:MouseEventInfo) { // 사용여부 확인 필요
  1030. // if(group3.grd_autosliplist.col == group3.grd_autosliplist.colRef("acntcd"))
  1031. // {
  1032. // misfOpenPopUpList("05", group3.grd_autosliplist, "", "acntcd,acntnm");
  1033. //
  1034. // //model.refresh();
  1035. //
  1036. // }
  1037. //
  1038. // if(group3.grd_autosliplist.col == group3.grd_autosliplist.colRef("rlaacntcd"))
  1039. // {
  1040. // misfOpenPopUpList("05", group3.grd_autosliplist, "", "rlaacntcd,rlaacntnm");
  1041. //
  1042. // //model.refresh();
  1043. //
  1044. // }
  1045. //
  1046. // if(group3.grd_autosliplist.col == group3.grd_autosliplist.colRef("costcntrdeptcd"))
  1047. // {
  1048. // misfOpenPopUpList("02", group3.grd_autosliplist, "", "costcntrdeptcd,costcntrdeptnm");
  1049. //
  1050. // //model.refresh();
  1051. //
  1052. // }
  1053. //
  1054. // if(group3.grd_autosliplist.col == group3.grd_autosliplist.colRef("slipdeptcd"))
  1055. // {
  1056. // misfOpenPopUpList("02", group3.grd_autosliplist, "", "slipdeptcd,slipdeptnm");
  1057. //
  1058. // //model.refresh();
  1059. //
  1060. // }
  1061. //
  1062. // if(group3.grd_autosliplist.col == group3.grd_autosliplist.colRef("possdeptcd"))
  1063. // {
  1064. // misfOpenPopUpList("02", group3.grd_autosliplist, "", "possdeptcd,possdeptnm");
  1065. //
  1066. // //model.refresh();
  1067. //
  1068. // }
  1069. //
  1070. // if(group3.grd_autosliplist.col == group3.grd_autosliplist.colRef("entrregno"))
  1071. // {
  1072. // misfOpenPopUpList("14", group3.grd_autosliplist, "", "entrregno,custnm,custprsd,cntctel,custaddr,custbizcond,custitem");
  1073. //
  1074. // //model.refresh();
  1075. //
  1076. // }
  1077. //
  1078. // if(group3.grd_autosliplist.col == group3.grd_autosliplist.colRef("rlacd"))
  1079. // {
  1080. // var strPopup;
  1081. // var strChk;
  1082. // var rownum ;
  1083. // rownum = group3.grd_autosliplist.row;
  1084. // strChk = ds_main_list_detailist.getColumn(rownum, "rlaflag");
  1085. //
  1086. // if ( strChk == "1" ) {
  1087. // strPopup = "14";
  1088. // } else if ( strChk == "3" ) {
  1089. // strPopup = "02";
  1090. // } else if ( strChk == "4" ) {
  1091. // strPopup = "01";
  1092. // } else if ( strChk == "5" ) {
  1093. // strPopup = "31";
  1094. // } else {
  1095. // return;
  1096. // }
  1097. //
  1098. // misfOpenPopUpList(strPopup, group3.grd_autosliplist, "", "rlacd,rlanm");
  1099. //
  1100. // //model.refresh();
  1101. //
  1102. // }
  1103. //
  1104. // if(group3.grd_autosliplist.col == group3.grd_autosliplist.colRef("notefactcd1"))
  1105. // {
  1106. // /* 순서 체크 해야 함 notefactnm1*/
  1107. // misfOpenPopUpList("15", group3.grd_autosliplist, "", "notefactcd1,notefactspec1");
  1108. // var strtmp = group3.grd_autosliplist.valueMatrix(group3.grd_autosliplist.row, group3.grd_autosliplist.colRef("notefactcd1")) ;
  1109. // if (strtmp != "")
  1110. // {
  1111. // group3.grd_autosliplist.valueMatrix(group3.grd_autosliplist.row, group3.grd_autosliplist.colRef("notefactnm1")) = "계좌번호";
  1112. // }
  1113. //
  1114. // //model.refresh();
  1115. //
  1116. // }
  1117. }
  1118. function group3_grd_autosliplist_oncelldblclick(obj:Grid, e:GridClickEventInfo) {
  1119. var nRow = ds_main_list_detailist.rowposition;
  1120. if (nRow >= 0 && !utlf_isNull(ds_main_list_detailist.getColumn(nRow,"unsldd")))
  1121. {
  1122. dsf_makeValue( ds_source_slipinfo, "instcd", "string", ds_main_list_detailist.getColumn(nRow,"instcd"));
  1123. dsf_makeValue( ds_source_slipinfo, "slipdt", "string", ds_main_list_detailist.getColumn(nRow,"unsldd"));
  1124. dsf_makeValue( ds_source_slipinfo, "slipno", "string", ds_main_list_detailist.getColumn(nRow,"unslno"));
  1125. //model.refresh();
  1126. frmf_modal("SMRAD08100", "SMRAD08100", ds_source_slipinfo, "", "", "", "", "", "", "", "", "", "M");
  1127. }
  1128. }
  1129. function group3_btn_delrow_onclick(obj:Button, e:ClickEventInfo) {
  1130. fAddDelRow("D");
  1131. }
  1132. function group3_btn_addrow_onclick(obj:Button, e:ClickEventInfo) {
  1133. fAddDelRow("A");
  1134. }
  1135. function group3_btn_autotr_onclick(obj:Button, e:ClickEventInfo) {
  1136. var slipkind = ds_main_condition.getColumn(0, "slipkind");
  1137. var slipflag = ds_main_condition.getColumn(0, "slipflag");
  1138. if(deptcd == acntdept)
  1139. {
  1140. if((utlf_isNull(slipkind) || slipkind == "3") && slipflag == "1")
  1141. {
  1142. sysf_messageBox("CTMS 출금전표는 임상연구지원 센터 권한입니다.", "I000");
  1143. return;
  1144. }
  1145. }
  1146. else
  1147. {
  1148. if((utlf_isNull(slipkind) || slipkind == "1" || slipkind == "2") && slipflag == "1")
  1149. {
  1150. sysf_messageBox("CTMS 대체, 입금 전표는 재무팀 권한입니다.", "I000");
  1151. return;
  1152. }
  1153. }
  1154. fAutoBookClick();
  1155. fRetrive();
  1156. }
  1157. function group3_btn_save_onclick(obj:Button, e:ClickEventInfo) {
  1158. var slipkind = ds_main_condition.getColumn(0, "slipkind");
  1159. var slipflag = ds_main_condition.getColumn(0, "slipflag");
  1160. if(deptcd == acntdept)
  1161. {
  1162. if((utlf_isNull(slipkind) || slipkind == "3" ) && slipflag == "1")
  1163. {
  1164. sysf_messageBox("CTMS 출금전표는 임상연구지원 센터 권한입니다.", "I000");
  1165. return;
  1166. }
  1167. }
  1168. fSaveClick();
  1169. fRetrive();
  1170. }
  1171. function group3_btn_5_onclick(obj:Button, e:ClickEventInfo) {
  1172. radfSaveExcel(group3.grd_autosliplist);
  1173. }
  1174. ]]></Script>
  1175. </Form>
  1176. </FDL>