SMRAT00300_DTI세금계산서일괄생성Mapping.xrw 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343
  1. <?xml version="1.0" encoding="EUC-KR"?>
  2. <?xml-stylesheet type="text/css" href="../../../com/commonweb/css/common.css" ?>
  3. <xhtml:html xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.w3.org/2002/01/xforms" xmlns:ev="http://www.w3.org/2001/xml-events">
  4. <xhtml:head>
  5. <xhtml:title>DTI-NU 중복 Mapping 검증</xhtml:title>
  6. <model id="model1">
  7. <instance id="instance1">
  8. <root xmlns="">
  9. <main>
  10. <disconnected>
  11. <disconnectedlist/>
  12. </disconnected>
  13. <connectable>
  14. <connectablelist/>
  15. </connectable>
  16. </main>
  17. <send>
  18. <condition1>
  19. <instcd/>
  20. <fromdd/>
  21. <todd/>
  22. <taxbillkind>4</taxbillkind>
  23. <taxbillflag>1</taxbillflag>
  24. </condition1>
  25. <condition2>
  26. <instcd/>
  27. <fromdd/>
  28. <todd/>
  29. <taxbillkind>4</taxbillkind>
  30. <taxbillflag>1</taxbillflag>
  31. </condition2>
  32. </send>
  33. <init>
  34. <init_taxbillkind>
  35. <item>
  36. <label>세금계산서</label>
  37. <value>4</value>
  38. </item>
  39. <item>
  40. <label>계산서</label>
  41. <value>5</value>
  42. </item>
  43. </init_taxbillkind>
  44. <init_taxbillflag>
  45. <item>
  46. <label>매입</label>
  47. <value>1</value>
  48. </item>
  49. <item>
  50. <label>매출</label>
  51. <value>2</value>
  52. </item>
  53. </init_taxbillflag>
  54. <grd_disconnectedlist/>
  55. </init>
  56. </root>
  57. </instance>
  58. <script type="javascript" src="../../../com/commonweb/js/common.js"/>
  59. <script type="javascript" src="../../../com/commonweb/js/tfHelper.js"/>
  60. <script type="javascript" src="../../../com/commonweb/js/stringHelper.js"/>
  61. <script type="javascript" src="../../../com/commonweb/js/dateHelper.js"/>
  62. <script type="javascript" src="../../../mis/miscommonweb/js/MIS.js"/>
  63. <script type="javascript" src="../../../mis/miscommonweb/js/RAC001.js"/>
  64. <script type="javascript" src="../../../mis/acntcommonweb/js/RAD001.js"/>
  65. <script type="javascript" ev:event="xforms-ready">
  66. <![CDATA[
  67. fInitialize();
  68. ]]>
  69. </script>
  70. <script type="javascript">
  71. <![CDATA[
  72. function fInitialize()
  73. {
  74. model.removeNodeset(grd_disconnectedlist.nodeset);
  75. model.removeNodeset(grd_connectablelist.nodeset);
  76. model.setValue("/root/send/condition1/instcd", getUserInfo("dutplceinstcd"));
  77. model.setValue(ipt_fromdd.attribute("ref"), getCurrentDate());
  78. model.setValue(ipt_todd.attribute("ref"), getCurrentDate());
  79. model.setValue("/root/send/condition2/instcd", getUserInfo("dutplceinstcd"));
  80. model.setValue(ipt_fromdd_1.attribute("ref"), getCurrentDate());
  81. model.setValue(ipt_todd_1.attribute("ref"), getCurrentDate());
  82. grd_disconnectedlist.rowHeight(0) = 35;
  83. grd_connectablelist.rowHeight(0) = 35;
  84. misfGridComboComCdList("R0364", grd_disconnectedlist, "proc_flag", "");
  85. model.refresh();
  86. }
  87. ]]>
  88. </script>
  89. <bind id="bindSecPageCnt" ref="/root/send/printparams/secPageCnt" calculate="count(/root/main/printlist/secpage)"/>
  90. <bind id="bindAllEtcProf" ref="/root/send/printparams/allEtcProf" calculate="count(/root/main/list/etcproflist)"/>
  91. <bind id="bindAllCount" ref="/root/send/printparams/allCount" calculate="sum(/root/main/list/etcproflist/cnt)"/>
  92. <bind id="bindPayTotAmt" ref="/root/send/printparams/payTotAmt" calculate="sum(/root/main/list/etcproflist/paytotamt)"/>
  93. <bind id="bindProfTax" ref="/root/send/printparams/profTax" calculate="sum(/root/main/list/etcproflist/proftax)"/>
  94. <bind id="bindIncmTax" ref="/root/send/printparams/incmTax" calculate="sum(/root/main/list/etcproflist/incmtax)"/>
  95. <bind id="bindResdnTax" ref="/root/send/printparams/resdnTax" calculate="sum(/root/main/list/etcproflist/resdntax)"/>
  96. <bind id="bindSumAmt" ref="/root/send/printparams/sumAmt" calculate="sum(/root/main/list/etcproflist/sumamt)"/>
  97. <bind id="bindPayAmt" ref="/root/send/printparams/payAmt" calculate="sum(/root/main/list/etcproflist/payamt)"/>
  98. <bind id="bindChkCnt" ref="/root/hidden/checkedcnt" calculate="count(/root/main/list/etcproflist[chk='Y']/chk)"/>
  99. <submission id="TRRAT00301" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition1" resultref="/root/main/overlap"/>
  100. <submission id="TRRAT00302" mediatype="application/x-www-form-urlencoded" method="post" ref="/root/send/condition2" resultref="/root/main/tax"/>
  101. </model>
  102. </xhtml:head>
  103. <xhtml:body pagewidth="1211" pageheight="784" guideline="1,1194;" style="margin-left:8; margin-top:0; margin-right:8; margin-bottom:0; ">
  104. <group id="group1" style="left:0px; top:0px; width:1195px; height:13px; ">
  105. <caption id="caption6" class="tit_1" style="left:0px; top:0px; width:293px; height:14px; ">전자세금계산서 일괄 mapping</caption>
  106. <caption id="caption4" class="patient_text_black" style="left:922px; top:0px; width:272px; "/>
  107. </group>
  108. <group id="group3" scroll="auto" style="left:0px; top:13px; width:1195px; height:762px; ">
  109. <group id="grp_sea" style="left:0px; top:30px; width:1195px; height:60px; vertical-align:top; ">
  110. <shape id="roundrect1" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  111. <line id="line5" class="line_4" style="x1:1107px; y1:16px; x2:1107px; y2:39px; border-color:#ffe4bb; border-left-style:solid; "/>
  112. <caption id="caption1" class="search_name" style="left:575px; top:9px; width:90px; height:17px; ">조회일자 :</caption>
  113. <input id="ipt_fromdd" ref="/root/send/condition1/fromdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:665px; top:8px; width:100px; height:19px; text-align:center; "/>
  114. <caption id="caption2" style="left:767px; top:10px; width:15px; height:20px; ">~</caption>
  115. <button id="btn_search" class="btn1_letter2" navindex="4" style="left:1123px; top:17px; width:56px; height:22px; text-align:left; ">
  116. <caption>조회</caption>
  117. <script type="javascript" ev:event="DOMActivate">
  118. <![CDATA[
  119. model.removeNodeset(grd_disconnectedlist.nodeset);
  120. submit("TRRAT00301");
  121. ]]>
  122. </script>
  123. </button>
  124. <input id="ipt_todd" ref="/root/send/condition1/todd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:780px; top:8px; width:100px; height:19px; text-align:center; "/>
  125. <caption id="caption7" class="search_name" style="left:285px; top:9px; width:99px; height:17px; ">계산서종류 :</caption>
  126. <select1 id="rdo_billkind" ref="/root/send/condition1/taxbillkind" class="radio_search" disabled="false" navindex="3" overflow="visible" appearance="full" cellspacing="20" cols="4" style="left:390px; top:8px; width:165px; height:20px; vertical-align:middle; border-style:none; ">
  127. <choices>
  128. <itemset nodeset="/root/init/init_taxbillkind/item">
  129. <label ref="label"/>
  130. <value ref="value"/>
  131. </itemset>
  132. </choices>
  133. </select1>
  134. <select1 id="rdo_billflag" ref="/root/send/condition1/taxbillflag" class="radio_search" disabled="false" navindex="4" overflow="visible" appearance="full" cellspacing="20" cols="4" style="left:390px; top:35px; width:165px; height:20px; vertical-align:middle; border-style:none; ">
  135. <choices>
  136. <itemset nodeset="/root/init/init_taxbillflag/item">
  137. <label ref="label"/>
  138. <value ref="value"/>
  139. </itemset>
  140. </choices>
  141. </select1>
  142. <caption id="caption8" class="search_name" style="left:285px; top:35px; width:109px; height:17px; ">계산서구분 :</caption>
  143. </group>
  144. <line id="line3" class="line_1" style="x1:0px; y1:115px; x2:1195px; y2:115px; "/>
  145. <datagrid id="grd_disconnectedlist" nodeset="/root/main/disconnected/disconnectedlist" backcoloralternate="#ffffff" caption="기관코드^일련번호^계산서종류^계산서구분^발행구분^사업자번호^거래처명^거래처&#xA;등록여부^상태^공급가액^부가세액^합계^계산서일자^과세종류^거래처담당자^거래처이메일^DTI세금계산서&#xA;번호^당당자이메일^비고" colsep="^" colwidth="0, 0, 0, 0, 100, 80, 120, 80, 80, 100, 100, 100, 80, 80, 80, 100, 100, 100, 0" explorerbar="sort" frozencols="21" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="16" rowsep="|" style="left:0px; top:120px; width:1195px; height:250px; ">
  146. <col ref="instcd" visibility="hidden"/>
  147. <col ref="seqno" visibility="hidden"/>
  148. <col ref="taxbillkind" visibility="hidden"/>
  149. <col ref="taxbillflag" visibility="hidden"/>
  150. <col ref="isscust"/>
  151. <col ref="entrregno"/>
  152. <col ref="custnm"/>
  153. <col ref="reg_cust" style="text-align:center; "/>
  154. <col disabled="true" ref="proc_flag" type="combo">
  155. <choices>
  156. <itemset>
  157. <label/>
  158. <value/>
  159. </itemset>
  160. </choices>
  161. </col>
  162. <col ref="suplamt" format="(-)#,###" style="text-align:right; padding-right:1; "/>
  163. <col ref="valaddtax" type="combo" format="(-)#,###" style="text-align:right; padding-right:1; ">
  164. <choices>
  165. <itemset>
  166. <label/>
  167. <value/>
  168. </itemset>
  169. </choices>
  170. </col>
  171. <col ref="amt" format="(-)#,###" style="text-align:right; padding-right:1; "/>
  172. <col ref="genrdd" format="yyyy-mm-dd" style="text-align:center; "/>
  173. <col ref="taxkind" type="combo">
  174. <choices>
  175. <item>
  176. <label>과세</label>
  177. <value>01</value>
  178. </item>
  179. <item>
  180. <label>영세율</label>
  181. <value>02</value>
  182. </item>
  183. <item>
  184. <label>대손세액가감</label>
  185. <value>03</value>
  186. </item>
  187. <item>
  188. <label>비과세</label>
  189. <value>04</value>
  190. </item>
  191. <item>
  192. <label>면세</label>
  193. <value>05</value>
  194. </item>
  195. </choices>
  196. </col>
  197. <col ref="custdtieacntchrgnm"/>
  198. <col ref="custdtiemailaddr"/>
  199. <col ref="inv_no"/>
  200. <col ref="dtiemail"/>
  201. <col ref="cmt"/>
  202. </datagrid>
  203. <caption id="caption21" class="tit_2" style="left:5px; top:97px; width:310px; height:13px; ">mapping 되지 않은 DTI 전자세금계산서 목록</caption>
  204. <group id="group2" scroll="auto" style="left:0px; top:0px; width:1195px; height:27px; ">
  205. <line id="line1" class="line_6" style="x1:0px; y1:25px; x2:1194px; y2:25px; "/>
  206. <button id="btn_print" class="btn4_letter2" visibility="hidden" style="left:5px; top:3px; width:56px; height:22px; ">
  207. <caption>출력</caption>
  208. <script type="javascript" ev:event="DOMActivate">
  209. <![CDATA[
  210. ]]>
  211. </script>
  212. </button>
  213. </group>
  214. <button id="btn_excel" class="btn2_letter4" style="left:1126px; top:94px; width:64px; height:19px; text-align:left; ">
  215. <caption>엑셀출력</caption>
  216. <script type="javascript" ev:event="DOMActivate">
  217. <![CDATA[
  218. var sFromdd = model.getValue(ipt_fromdd.attribute("ref")).substr(2, 2) + "-" + model.getValue(ipt_fromdd.attribute("ref")).substr(4, 2) + "-" + model.getValue(ipt_fromdd.attribute("ref")).substr(6, 2);
  219. var sTodd = model.getValue(ipt_todd.attribute("ref")).substr(2, 2) + "-" + model.getValue(ipt_todd.attribute("ref")).substr(4, 2) + "-" + model.getValue(ipt_todd.attribute("ref")).substr(6, 2);
  220. var sTitle = "mapping 되지 않은 DTI 전자세금계산서 목록 " + sFromdd + " ~ " + sTodd;
  221. grd_disconnectedlist.rebuild();
  222. misfSaveExcel(grd_disconnectedlist, sTitle);
  223. ]]>
  224. </script>
  225. </button>
  226. <datagrid id="grd_connectablelist" nodeset="/root/main/connectable/connectablelist" backcoloralternate="#ffffff" caption="기관코드_DTI^기관코드^기관코드일치여부^계산서종류_DTI^계산서종류^계산서종류일치여부^계산서구분_DTI^계산서구분^계산서구분일치여부^발행구분_DTI^발행구분^발행구분일치여부^공급가액_DTI^공급가액^공급가액일치여부^부가세액_DTI^부가세액^부가세액일치여부^합계_DTI^합계^합계일치여부^계산서일자_DTI^계산서일자^계산서일자일치여부^사업자등록번호_DTI^사업자등록번호^사업자등록번호일치여부^담당자이메일_DTI^담당자이메일^담당자이메일일치여부^거래처이메일_DTI^거래처이메일^거래처이메일일치여부^DTI연동여부^세금계산서구분^일련번호^미결전표일자^미결전표번호^미결전표일련번호^DTI세금계산서번호" colsep="^" colwidth="0,80,0,0,100,0,0,100,0,0,100,0,0,100,0,0,100,0,0,100,0,0,80,0,0,100,0,0,100,0,0,100,0,80,100,0,80,80,80,80" explorerbar="sort" frozencols="21" mergecellsfixedrows="bycolrec" rowheader="update" rowheight="16" rowsep="|" style="left:0px; top:460px; width:1195px; height:302px; ">
  227. <col ref="instcd_dti"/>
  228. <col ref="instcd_tax"/>
  229. <col ref="eq_instcd"/>
  230. <col ref="taxbillkind_dti"/>
  231. <col ref="taxbillkind_tax"/>
  232. <col ref="eq_taxbillkind"/>
  233. <col ref="taxbillflag_dti"/>
  234. <col ref="taxbillflag_tax"/>
  235. <col ref="eq_taxbillflag"/>
  236. <col ref="isscust_dti"/>
  237. <col ref="isscust_tax"/>
  238. <col ref="eq_isscust"/>
  239. <col ref="suplamt_dti" format="(-)#,###" style="text-align:right; padding-right:1; "/>
  240. <col ref="suplamt_tax" format="(-)#,###" style="text-align:right; padding-right:1; "/>
  241. <col ref="eq_suplamt"/>
  242. <col ref="valaddtax_dti" format="(-)#,###" style="text-align:right; padding-right:1; "/>
  243. <col ref="valaddtax_tax" format="(-)#,###" style="text-align:right; padding-right:1; "/>
  244. <col ref="eq_valaddtax"/>
  245. <col ref="amt_dti" format="(-)#,###" style="text-align:right; padding-right:1; "/>
  246. <col ref="amt_tax" format="(-)#,###" style="text-align:right; padding-right:1; "/>
  247. <col ref="eq_amt"/>
  248. <col ref="genrdd_dti" format="yyyy-mm-dd" style="text-align:center; "/>
  249. <col ref="genrdd_tax" format="yyyy-mm-dd" style="text-align:center; "/>
  250. <col ref="eq_genrdd"/>
  251. <col ref="entrregno_dti"/>
  252. <col ref="entrregno_tax"/>
  253. <col ref="eq_entrregno"/>
  254. <col ref="dtiemail_dti"/>
  255. <col ref="dtiemail_tax"/>
  256. <col ref="eq_dtiemail"/>
  257. <col ref="emailaddr_dti"/>
  258. <col ref="emailaddr_tax"/>
  259. <col ref="eq_emailaddr"/>
  260. <col ref="dtibillyn"/>
  261. <col ref="ebillflag"/>
  262. <col ref="seqno"/>
  263. <col ref="unsldd"/>
  264. <col ref="unslno"/>
  265. <col ref="undeciseqno"/>
  266. <col ref="inv_no"/>
  267. </datagrid>
  268. <caption id="caption5" class="tit_2" style="left:5px; top:441px; width:485px; height:13px; ">mapping 가능한 nU 부가세 List</caption>
  269. <line id="line2" class="line_1" style="x1:0px; y1:455px; x2:1195px; y2:455px; "/>
  270. <button id="button1" class="btn2_letter4" style="left:1127px; top:434px; width:64px; height:19px; text-align:left; ">
  271. <caption>엑셀출력</caption>
  272. <script type="javascript" ev:event="DOMActivate">
  273. <![CDATA[
  274. var sFromdd = model.getValue(ipt_fromdd.attribute("ref")).substr(2, 2) + "-" + model.getValue(ipt_fromdd.attribute("ref")).substr(4, 2) + "-" + model.getValue(ipt_fromdd.attribute("ref")).substr(6, 2);
  275. var sTodd = model.getValue(ipt_todd.attribute("ref")).substr(2, 2) + "-" + model.getValue(ipt_todd.attribute("ref")).substr(4, 2) + "-" + model.getValue(ipt_todd.attribute("ref")).substr(6, 2);
  276. var sTitle = "mapping 가능한 nU 부가세 List " + sFromdd + " ~ " + sTodd;
  277. grd_connectablelist.rebuild();
  278. misfSaveExcel(grd_connectablelist, sTitle);
  279. ]]>
  280. </script>
  281. </button>
  282. <button id="btn_disconnect" class="btn4_letter6" visibility="visible" style="left:295px; top:92px; width:104px; height:22px; ">
  283. <caption>계산서 생성</caption>
  284. <script type="javascript" ev:event="DOMActivate">
  285. <![CDATA[
  286. ]]>
  287. </script>
  288. </button>
  289. <group id="group4" style="left:0px; top:372px; width:1195px; height:60px; vertical-align:top; ">
  290. <shape id="roundrect2" class="roundrect_search" appearance="roundrect" ellipsewidth="10" ellipseheight="10" style="left:0px; top:0px; width:1195px; height:60px; background-color:#fffbf2; border-color:#ffd799; "/>
  291. <line id="line4" class="line_4" style="x1:1107px; y1:16px; x2:1107px; y2:39px; border-color:#ffe4bb; border-left-style:solid; "/>
  292. <caption id="caption9" class="search_name" style="left:575px; top:9px; width:90px; height:17px; ">조회일자 :</caption>
  293. <input id="ipt_fromdd_1" ref="/root/send/condition2/fromdd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:665px; top:8px; width:100px; height:19px; text-align:center; "/>
  294. <caption id="caption10" style="left:767px; top:10px; width:15px; height:20px; ">~</caption>
  295. <button id="btn_search_1" class="btn1_letter2" navindex="4" style="left:1123px; top:17px; width:56px; height:22px; text-align:left; ">
  296. <caption>조회</caption>
  297. <script type="javascript" ev:event="DOMActivate">
  298. <![CDATA[
  299. model.removeNodeset(grd_taxlist.nodeset);
  300. submit("TRRAT00302");
  301. ]]>
  302. </script>
  303. </button>
  304. <input id="ipt_todd_1" ref="/root/send/condition2/todd" class="input_s_essential" inputtype="date" format="yyyy-mm-dd" style="left:780px; top:8px; width:100px; height:19px; text-align:center; "/>
  305. <caption id="caption12" class="search_name" style="left:285px; top:9px; width:99px; height:17px; ">계산서종류 :</caption>
  306. <select1 id="radio1" ref="/root/send/condition2/taxbillkind" class="radio_search" disabled="true" navindex="3" overflow="visible" appearance="full" cellspacing="20" cols="4" style="left:390px; top:8px; width:165px; height:20px; vertical-align:middle; border-style:none; ">
  307. <choices>
  308. <itemset nodeset="/root/init/init_taxbillkind/item">
  309. <label ref="label"/>
  310. <value ref="value"/>
  311. </itemset>
  312. </choices>
  313. </select1>
  314. <select1 id="radio2" ref="/root/send/condition2/taxbillflag" class="radio_search" disabled="true" navindex="4" overflow="visible" appearance="full" cellspacing="20" cols="4" style="left:390px; top:35px; width:165px; height:20px; vertical-align:middle; border-style:none; ">
  315. <choices>
  316. <itemset nodeset="/root/init/init_taxbillflag/item">
  317. <label ref="label"/>
  318. <value ref="value"/>
  319. </itemset>
  320. </choices>
  321. </select1>
  322. <caption id="caption13" class="search_name" style="left:285px; top:35px; width:109px; height:17px; ">계산서구분 :</caption>
  323. </group>
  324. </group>
  325. </xhtml:body>
  326. </xhtml:html>