SMRAT00600_일용근로소득조회및저장.xfdl 75 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <FDL version="1.5">
  3. <TypeDefinition url="..\..\..\default_typedef.xml"/>
  4. <Form id="SMRAT00600" position="absolute 0 0 1198 780" titletext="일용근로소득 조회/수정" oninit="SMRAT00600_oninit" onload="SMRAT00600_onload">
  5. <Layouts>
  6. <Layout>
  7. <Grid id="grd_orchlist" taborder="14" binddataset="ds_main_list_orchlist" autoenter="select" useinputpanel="false" cellsizingtype="col" autofittype="col" position="absolute 0 155 1193 772" anchor="all" selecttype="multirow" onexpanddown="grd_orchlist_onexpanddown">
  8. <Formats>
  9. <Format id="default">
  10. <Columns>
  11. <Column size="21"/>
  12. <Column size="34"/>
  13. <Column size="95"/>
  14. <Column size="0"/>
  15. <Column size="0"/>
  16. <Column size="0"/>
  17. <Column size="0"/>
  18. <Column size="0"/>
  19. <Column size="64"/>
  20. <Column size="100"/>
  21. <Column size="90"/>
  22. <Column size="76"/>
  23. <Column size="0"/>
  24. <Column size="0"/>
  25. <Column size="0"/>
  26. <Column size="0"/>
  27. <Column size="55"/>
  28. <Column size="55"/>
  29. <Column size="70"/>
  30. <Column size="0"/>
  31. <Column size="0"/>
  32. <Column size="70"/>
  33. <Column size="70"/>
  34. <Column size="60"/>
  35. <Column size="60"/>
  36. <Column size="60"/>
  37. <Column size="60"/>
  38. <Column size="70"/>
  39. <Column size="70"/>
  40. <Column size="0"/>
  41. <Column size="0"/>
  42. <Column size="0"/>
  43. <Column size="0"/>
  44. <Column size="0"/>
  45. <Column size="0"/>
  46. <Column size="0"/>
  47. <Column size="0"/>
  48. <Column size="0"/>
  49. <Column size="0"/>
  50. </Columns>
  51. <Rows>
  52. <Row size="24" band="head"/>
  53. <Row size="24"/>
  54. </Rows>
  55. <Band id="head">
  56. <Cell/>
  57. <Cell col="1" text="확인"/>
  58. <Cell col="2" text="품의번호"/>
  59. <Cell col="3" text="기관코드"/>
  60. <Cell col="4" text="일련번호"/>
  61. <Cell col="5" text="세부일련번호"/>
  62. <Cell col="6" text="징수구분"/>
  63. <Cell col="7" text="사원번호"/>
  64. <Cell col="8" text="성명"/>
  65. <Cell col="9" text="주민등록번호"/>
  66. <Cell col="10" text="지급일자"/>
  67. <Cell col="11" text="귀속년월"/>
  68. <Cell col="12" text="승인일자"/>
  69. <Cell col="13" text="사업자등록번호"/>
  70. <Cell col="14" text="상호"/>
  71. <Cell col="15" text="적 요"/>
  72. <Cell col="16" text="지급일수"/>
  73. <Cell col="17" text="일급"/>
  74. <Cell col="18" text="지급액"/>
  75. <Cell col="19" text="세율"/>
  76. <Cell col="20" text="세율"/>
  77. <Cell col="21" text="소득공제"/>
  78. <Cell col="22" text="과세표준"/>
  79. <Cell col="23" text="산출세액"/>
  80. <Cell col="24" text="공제세액"/>
  81. <Cell col="25" text="소득세"/>
  82. <Cell col="26" text="주민세"/>
  83. <Cell col="27" text="계"/>
  84. <Cell col="28" text="실수령액"/>
  85. <Cell col="29" text="확인"/>
  86. <Cell col="30" text="우편번호"/>
  87. <Cell col="31" text="우편번호"/>
  88. <Cell col="32" text="우편번호"/>
  89. <Cell col="33" text="우편번호일련번호"/>
  90. <Cell col="34" text="주소"/>
  91. <Cell col="35" text="상위주소"/>
  92. <Cell col="36" text="상세주소"/>
  93. <Cell col="37" text="업종구분"/>
  94. <Cell col="38" text="소득구분"/>
  95. </Band>
  96. <Band id="body">
  97. <Cell celltype="head"/>
  98. <Cell col="1" displaytype="text" edittype="text" text="bind:chknm" editautoselect="true" enable="false"/>
  99. <Cell col="2" displaytype="text" edittype="expr:chkyn == 'Y' || !utlf_isNull(Popflag) ? 'none' : 'mask'" text="bind:pumno" mask="########-#######" maskchar=" " editautoselect="true"/>
  100. <Cell col="3" text="bind:instcd" editautoselect="true"/>
  101. <Cell col="4" text="bind:seqno" editautoselect="true"/>
  102. <Cell col="5" text="bind:detlseqno" editautoselect="true"/>
  103. <Cell col="6" text="bind:chrgflag" editautoselect="true"/>
  104. <Cell col="7" text="bind:emplno" editautoselect="true"/>
  105. <Cell col="8" displaytype="text" edittype="expr:chkyn == 'Y' || !utlf_isNull(Popflag) ? 'none' : 'text'" text="bind:name" editautoselect="true" expandshow="show"/>
  106. <Cell col="9" displaytype="text" edittype="expr:chkyn == 'Y' || !utlf_isNull(Popflag) ? 'none' : 'mask'" text="bind:rrgstno" mask="######-#######" maskchar=" " editautoselect="true"/>
  107. <Cell col="10" displaytype="date" edittype="expr:chkyn == 'Y' || !utlf_isNull(Popflag) ? 'none' : 'date'" text="bind:paydd" editautoselect="true" calendardisplaynulltype="nulltext"/>
  108. <Cell col="11" displaytype="date" edittype="expr:chkyn == 'Y' || !utlf_isNull(Popflag) ? 'none' : 'date'" text="bind:getdd" mask="expr:chkyn == 'Y' || !utlf_isNull(Popflag) ? '' : 'yyyy-MM'" editautoselect="true" calendardisplaynulltype="nulltext"/>
  109. <Cell col="12" displaytype="date" edittype="date" text="bind:posyear" mask="yyyy-mm-dd" editautoselect="true"/>
  110. <Cell col="13" text="bind:entrregno" mask="999-99-99999" editautoselect="true"/>
  111. <Cell col="14" text="bind:custnm" editautoselect="true"/>
  112. <Cell col="15" displaytype="text" edittype="text" text="bind:cmt" editautoselect="true"/>
  113. <Cell col="16" displaytype="number" edittype="expr:chkyn == 'Y' || !utlf_isNull(Popflag)? 'none' : 'normal'" text="bind:dayno" editautoselect="true"/>
  114. <Cell col="17" displaytype="number" edittype="expr:chkyn == 'Y' || !utlf_isNull(Popflag) ? 'none' : 'normal'" text="bind:dypay" editautoselect="true"/>
  115. <Cell col="18" displaytype="number" edittype="normal" text="bind:paytotamt" editautoselect="true" enable="false"/>
  116. <Cell col="19" displaytype="number" edittype="normal" text="bind:taxrate" editautoselect="true"/>
  117. <Cell col="20" displaytype="number" edittype="normal" text="bind:taxrate" editautoselect="true"/>
  118. <Cell col="21" displaytype="number" edittype="normal" text="bind:nontaxpay" editautoselect="true" enable="false"/>
  119. <Cell col="22" displaytype="number" edittype="normal" text="bind:taxpay" editautoselect="true" enable="false"/>
  120. <Cell col="23" displaytype="number" edittype="normal" text="bind:caltax" editautoselect="true" enable="false"/>
  121. <Cell col="24" displaytype="number" edittype="normal" text="bind:taxgj" editautoselect="true" enable="false"/>
  122. <Cell col="25" displaytype="number" edittype="normal" text="bind:incmtax" editautoselect="true" enable="false"/>
  123. <Cell col="26" displaytype="number" edittype="normal" text="bind:resdntax" editautoselect="true" enable="false"/>
  124. <Cell col="27" displaytype="number" edittype="normal" text="bind:sumamt" editautoselect="true" enable="false"/>
  125. <Cell col="28" displaytype="number" edittype="normal" text="bind:realpay" editautoselect="true" enable="false"/>
  126. <Cell col="29" displaytype="checkbox" edittype="checkbox" text="bind:chkyn"/>
  127. <Cell col="30" displaytype="text" edittype="text" text="bind:zipcd"/>
  128. <Cell col="31" text="bind:zipcd1"/>
  129. <Cell col="32" text="bind:zipcd2"/>
  130. <Cell col="33" text="bind:zipcdseqno"/>
  131. <Cell col="34" text="bind:address"/>
  132. <Cell col="35" displaytype="text" edittype="text" text="bind:supaddr"/>
  133. <Cell col="36" displaytype="text" edittype="text" text="bind:infaddr"/>
  134. <Cell col="37" displaytype="combo" edittype="combo" text="bind:induflag"/>
  135. <Cell col="38" displaytype="combo" edittype="combo" text="bind:incmflag"/>
  136. </Band>
  137. </Format>
  138. </Formats>
  139. </Grid>
  140. <Static id="caption6" text="일용근로소득 조회/수정" class="tit_1" position="absolute 0 0 293 23"/>
  141. <Button id="btn_save" taborder="2" text="저장" class="btn4" position="absolute 1137 23 1193 45" anchor="top right" onclick="btn_save_onclick"/>
  142. <Button id="btn_print" taborder="3" text="출력" class="btn4" position="absolute 1078 23 1134 45" anchor="top right" onclick="btn_print_onclick"/>
  143. <Button id="btn_close" taborder="4" text="닫기" class="btn4" visible="false" position="absolute 1019 23 1075 45" anchor="top right" onclick="btn_close_onclick"/>
  144. <Shape id="line1" class="line_6" position="absolute 0 44 1194 50" anchor="left top right"/>
  145. <Grid id="datagrid1" taborder="5" binddataset="ds_main_list_prtorchlist" useinputpanel="false" visible="false" position="absolute 0 298 500 703">
  146. <Formats>
  147. <Format id="default">
  148. <Columns>
  149. <Column size="40"/>
  150. <Column size="95"/>
  151. <Column size="0"/>
  152. <Column size="0"/>
  153. <Column size="0"/>
  154. <Column size="0"/>
  155. <Column size="0"/>
  156. <Column size="64"/>
  157. <Column size="100"/>
  158. <Column size="90"/>
  159. <Column size="76"/>
  160. <Column size="0"/>
  161. <Column size="0"/>
  162. <Column size="0"/>
  163. <Column size="0"/>
  164. <Column size="55"/>
  165. <Column size="55"/>
  166. <Column size="70"/>
  167. <Column size="0"/>
  168. <Column size="0"/>
  169. <Column size="70"/>
  170. <Column size="70"/>
  171. <Column size="60"/>
  172. <Column size="60"/>
  173. <Column size="60"/>
  174. <Column size="60"/>
  175. <Column size="70"/>
  176. <Column size="70"/>
  177. <Column size="0"/>
  178. <Column size="0"/>
  179. <Column size="0"/>
  180. <Column size="0"/>
  181. <Column size="0"/>
  182. <Column size="0"/>
  183. <Column size="0"/>
  184. <Column size="0"/>
  185. <Column size="0"/>
  186. <Column size="0"/>
  187. </Columns>
  188. <Rows>
  189. <Row size="24" band="head"/>
  190. <Row size="24"/>
  191. </Rows>
  192. <Band id="head">
  193. <Cell text="확인"/>
  194. <Cell col="1" text="품의번호"/>
  195. <Cell col="2" text="기관코드"/>
  196. <Cell col="3" text="일련번호"/>
  197. <Cell col="4" text="세부일련번호"/>
  198. <Cell col="5" text="징수구분"/>
  199. <Cell col="6" text="사원번호"/>
  200. <Cell col="7" text="성명"/>
  201. <Cell col="8" text="주민등록번호"/>
  202. <Cell col="9" text="지급일자"/>
  203. <Cell col="10" text="귀속년월"/>
  204. <Cell col="11" text="승인일자"/>
  205. <Cell col="12" text="사업자등록번호"/>
  206. <Cell col="13" text="상호"/>
  207. <Cell col="14" text="적 요"/>
  208. <Cell col="15" text="지급일수"/>
  209. <Cell col="16" text="일급"/>
  210. <Cell col="17" text="지급액"/>
  211. <Cell col="18" text="세율"/>
  212. <Cell col="19" text="세율"/>
  213. <Cell col="20" text="소득공제"/>
  214. <Cell col="21" text="과세표준"/>
  215. <Cell col="22" text="산출세액"/>
  216. <Cell col="23" text="공제세액"/>
  217. <Cell col="24" text="소득세"/>
  218. <Cell col="25" text="주민세"/>
  219. <Cell col="26" text="계"/>
  220. <Cell col="27" text="실수령액"/>
  221. <Cell col="28" text="확인"/>
  222. <Cell col="29" text="우편번호"/>
  223. <Cell col="30" text="우편번호"/>
  224. <Cell col="31" text="우편번호"/>
  225. <Cell col="32" text="우편번호일련번호"/>
  226. <Cell col="33" text="주소"/>
  227. <Cell col="34" text="상위주소"/>
  228. <Cell col="35" text="상세주소"/>
  229. <Cell col="36" text="업종구분"/>
  230. <Cell col="37" text="소득구분"/>
  231. </Band>
  232. <Band id="body">
  233. <Cell enable="false" text="bind:chknm" edittype="text" displaytype="text"/>
  234. <Cell col="1" text="bind:pumno" edittype="text" displaytype="text" mask="99999999-99999999"/>
  235. <Cell col="2" text="bind:instcd"/>
  236. <Cell col="3" text="bind:seqno"/>
  237. <Cell col="4" text="bind:detlseqno"/>
  238. <Cell col="5" text="bind:chrgflag"/>
  239. <Cell col="6" text="bind:emplno"/>
  240. <Cell col="7" text="bind:name" edittype="text" displaytype="text"/>
  241. <Cell col="8" text="bind:rrgstno" edittype="text" displaytype="text" mask="999999-9999999"/>
  242. <Cell col="9" text="bind:paydd" edittype="date" displaytype="date" mask="yyyy-mm-dd"/>
  243. <Cell col="10" text="bind:getdd" edittype="date" displaytype="date" mask="yyyy-mm"/>
  244. <Cell col="11" text="bind:posyear" edittype="date" displaytype="date" mask="yyyy-mm-dd"/>
  245. <Cell col="12" text="bind:entrregno" mask="999-99-99999"/>
  246. <Cell col="13" text="bind:custnm"/>
  247. <Cell col="14" text="bind:cmt" edittype="text" displaytype="text"/>
  248. <Cell col="15" text="bind:dayno" edittype="text" displaytype="text" mask="(-)#,###.9"/>
  249. <Cell col="16" text="bind:dypay" edittype="text" displaytype="text" mask="(-)#,###"/>
  250. <Cell col="17" enable="false" text="bind:paytotamt" edittype="text" displaytype="text" mask="(-)#,###"/>
  251. <Cell col="18" text="bind:taxrate"/>
  252. <Cell col="19" text="bind:taxrate" mask="## %"/>
  253. <Cell col="20" enable="false" text="bind:nontaxpay" edittype="text" displaytype="text" mask="(-)#,###"/>
  254. <Cell col="21" enable="false" text="bind:taxpay" edittype="text" displaytype="text" mask="(-)#,###"/>
  255. <Cell col="22" enable="false" text="bind:caltax" edittype="text" displaytype="text" mask="(-)#,###"/>
  256. <Cell col="23" enable="false" text="bind:taxgj" edittype="text" displaytype="text" mask="(-)#,###"/>
  257. <Cell col="24" enable="false" text="bind:incmtax" edittype="text" displaytype="text" mask="(-)#,###"/>
  258. <Cell col="25" enable="false" text="bind:resdntax" edittype="text" displaytype="text" mask="(-)#,###"/>
  259. <Cell col="26" enable="false" text="bind:sumamt" mask="(-)#,###"/>
  260. <Cell col="27" enable="false" text="bind:realpay" edittype="text" displaytype="text" mask="(-)#,###"/>
  261. <Cell col="28" text="bind:chkyn" edittype="checkbox" displaytype="checkbox"/>
  262. <Cell col="29" text="bind:zipcd" edittype="text" displaytype="text"/>
  263. <Cell col="30" text="bind:zipcd1"/>
  264. <Cell col="31" text="bind:zipcd2"/>
  265. <Cell col="32" text="bind:zipcdseqno"/>
  266. <Cell col="33" text="bind:address"/>
  267. <Cell col="34" text="bind:supaddr" edittype="text" displaytype="text"/>
  268. <Cell col="35" text="bind:infaddr" edittype="text" displaytype="text"/>
  269. <Cell col="36" text="bind:induflag" edittype="combo" displaytype="combo"/>
  270. <Cell col="37" text="bind:incmflag" edittype="combo" displaytype="combo"/>
  271. </Band>
  272. </Format>
  273. </Formats>
  274. </Grid>
  275. <Shape id="line4" linetype="vertical" class="line_3" position="absolute 926 111 932 155" anchor="top right"/>
  276. <Shape id="line2" linetype="vertical" class="line_3" position="absolute 1123 111 1129 155" anchor="top right"/>
  277. <Static id="caption5" text="계" class="cell_1" position="absolute 1054 111 1124 134" anchor="top right" style="align:center middle;"/>
  278. <MaskEdit id="output3" taborder="6" readonly="true" position="absolute 1054 135 1123 154" anchor="top right"/>
  279. <Grid id="grd_excel" taborder="7" binddataset="ds_main_list_orchlist" useinputpanel="false" visible="false" position="absolute 0 455 593 672">
  280. <Formats>
  281. <Format id="default">
  282. <Columns>
  283. <Column size="100"/>
  284. <Column size="100"/>
  285. <Column size="100"/>
  286. <Column size="100"/>
  287. <Column size="100"/>
  288. <Column size="100"/>
  289. <Column size="100"/>
  290. <Column size="100"/>
  291. <Column size="100"/>
  292. <Column size="100"/>
  293. <Column size="100"/>
  294. <Column size="100"/>
  295. <Column size="100"/>
  296. <Column size="100"/>
  297. <Column size="100"/>
  298. <Column size="100"/>
  299. <Column size="100"/>
  300. </Columns>
  301. <Rows>
  302. <Row size="24" band="head"/>
  303. <Row size="24"/>
  304. </Rows>
  305. <Band id="head">
  306. <Cell text="확인"/>
  307. <Cell col="1" text="품의번호"/>
  308. <Cell col="2" text="성명"/>
  309. <Cell col="3" text="주민등록번호"/>
  310. <Cell col="4" text="지급일자"/>
  311. <Cell col="5" text="귀속년월"/>
  312. <Cell col="6" text="지급일수"/>
  313. <Cell col="7" text="일급"/>
  314. <Cell col="8" text="지급액"/>
  315. <Cell col="9" text="소득공제"/>
  316. <Cell col="10" text="과세표준"/>
  317. <Cell col="11" text="산출세액"/>
  318. <Cell col="12" text="공제세액"/>
  319. <Cell col="13" text="소득세"/>
  320. <Cell col="14" text="주민세"/>
  321. <Cell col="15" text="계"/>
  322. <Cell col="16" text="실수령액"/>
  323. </Band>
  324. <Band id="body">
  325. <Cell enable="false" text="bind:chknm" edittype="text" displaytype="text"/>
  326. <Cell col="1" text="bind:pumno" edittype="text" displaytype="text" mask="99999999-99999999"/>
  327. <Cell col="2" text="bind:name" edittype="text" displaytype="text"/>
  328. <Cell col="3" text="bind:rrgstno" edittype="text" displaytype="text" mask="999999-9999999"/>
  329. <Cell col="4" text="bind:paydd" edittype="date" displaytype="date" mask="yyyy-mm-dd"/>
  330. <Cell col="5" text="bind:getdd" edittype="date" displaytype="date" mask="yyyy-mm"/>
  331. <Cell col="6" text="bind:dayno" edittype="text" displaytype="text" mask="(-)#,###.9"/>
  332. <Cell col="7" text="bind:dypay" edittype="text" displaytype="text" mask="(-)#,###"/>
  333. <Cell col="8" enable="false" text="bind:paytotamt" edittype="text" displaytype="text" mask="(-)#,###"/>
  334. <Cell col="9" enable="false" text="bind:nontaxpay" edittype="text" displaytype="text" mask="(-)#,###"/>
  335. <Cell col="10" enable="false" text="bind:taxpay" edittype="text" displaytype="text" mask="(-)#,###"/>
  336. <Cell col="11" enable="false" text="bind:caltax" edittype="text" displaytype="text" mask="(-)#,###"/>
  337. <Cell col="12" enable="false" text="bind:taxgj" edittype="text" displaytype="text" mask="(-)#,###"/>
  338. <Cell col="13" enable="false" text="bind:incmtax" edittype="text" displaytype="text" mask="(-)#,###"/>
  339. <Cell col="14" enable="false" text="bind:resdntax" edittype="text" displaytype="text" mask="(-)#,###"/>
  340. <Cell col="15" enable="false" text="bind:sumamt" mask="(-)#,###"/>
  341. <Cell col="16" enable="false" text="bind:realpay" edittype="text" displaytype="text" mask="(-)#,###"/>
  342. </Band>
  343. </Format>
  344. </Formats>
  345. </Grid>
  346. <Edit id="output2" taborder="8" readonly="true" visible="false" position="absolute 105 123 130 143"/>
  347. <Button id="btn_openpsn" taborder="9" text="소득자등록" class="btn2" position="absolute 926 87 1001 106" anchor="top right" onclick="btn_openpsn_onclick"/>
  348. <Edit id="opt_zipcd" taborder="10" readonly="true" visible="false" position="absolute 883 87 903 106" anchor="top right"/>
  349. <Shape id="line7" linetype="vertical" class="line_3" position="absolute 989 111 995 155" anchor="top right"/>
  350. <Static id="caption19" text="계" class="cell_1" position="absolute 509 133 596 154" anchor="top right"/>
  351. <Shape id="line6" linetype="vertical" class="line_3" position="absolute 1050 111 1056 155" anchor="top right"/>
  352. <Static id="caption18" text="총지급액" class="cell_1" position="absolute 599 111 675 134" anchor="top right" style="align:center middle;"/>
  353. <MaskEdit id="output1" taborder="11" readonly="true" position="absolute 992 135 1050 154" anchor="top right"/>
  354. <Static id="caption15" text="소득세" class="cell_1" position="absolute 930 111 990 134" anchor="top right" style="align:center middle;"/>
  355. <Static id="cap_item" text="주민세" class="cell_1" position="absolute 991 111 1051 134" anchor="top right" style="align:center middle;"/>
  356. <Shape id="line13" linetype="vertical" class="line_3" position="absolute 674 111 680 155" anchor="top right"/>
  357. <Shape id="line11" linetype="vertical" class="line_3" position="absolute 595 111 601 155" anchor="top right"/>
  358. <MaskEdit id="output8" taborder="12" readonly="true" position="absolute 599 135 675 154" anchor="top right"/>
  359. <MaskEdit id="output5" taborder="13" readonly="true" position="absolute 930 135 990 154" anchor="top right"/>
  360. <Button id="btn_excel" taborder="15" text="엑셀저장" class="btn7" position="absolute 1115 87 1195 106" anchor="top right" onclick="btn_excel_onclick"/>
  361. <Static id="caption11" text="전표 일용근로소득 삭제 및 수정 불가" position="absolute 198 91 400 105"/>
  362. <Static id="caption10" position="absolute 180 90 195 105" style="background:gainsboro;"/>
  363. <Edit id="opt_temp" taborder="16" readonly="true" visible="false" position="absolute 902 87 922 106" anchor="top right"/>
  364. <Button id="btn_delrow" taborder="17" text="행삭제" class="btn2" position="absolute 1060 87 1113 106" anchor="top right" onclick="btn_delrow_onclick"/>
  365. <Button id="btn_addrow" taborder="18" text="행추가" class="btn2" position="absolute 1005 87 1058 106" anchor="top right" onclick="btn_addrow_onclick"/>
  366. <Static id="caption21" text="일용근로소득자 목록" class="tit_2" position="absolute 0 90 147 112"/>
  367. <Shape id="line3" class="line_10" position="absolute 0 106 1195 112" anchor="left top right"/>
  368. <Div id="grp_sea" taborder="19" class="div_SA" position="absolute 0 48 1195 83" anchor="left top right">
  369. <Layouts>
  370. <Layout>
  371. <Static id="caption9" text="조회구분 :" class="search_name" visible="false" position="absolute 911 9 984 26" anchor="default"/>
  372. <Shape id="line5" linetype="vertical" class="line_4" position="absolute 1104 6 1110 29" anchor="top right"/>
  373. <Calendar id="ipt_frym" taborder="16" autoselect="true" autoskip="true" class="input_s_essential" position="absolute 485 8 585 27" mask="yyyy-mm-dd" anchor="default"/>
  374. <Static id="caption2" text="~" position="absolute 587 9 602 29" anchor="default"/>
  375. <Combo id="cmb_instcd" taborder="17" class="combo_s_essential" position="absolute 92 8 268 27" anchor="default" onitemchanged="grp_sea_cmb_instcd_onitemchanged"/>
  376. <Static id="caption3" text="기관구분 :" class="search_name" position="absolute 9 10 99 27" anchor="default"/>
  377. <Button id="btn_search" taborder="18" text="조회" class="btn1" position="absolute 1123 7 1179 29" anchor="top right" onclick="grp_sea_btn_search_onclick"/>
  378. <Calendar id="ipt_toym" taborder="19" autoselect="true" autoskip="true" class="input_s_essential" position="absolute 600 8 700 27" mask="yyyy-mm-dd" anchor="default"/>
  379. <Static id="caption8" text="소 득 자 :" class="search_name" position="absolute 730 9 820 26" anchor="default"/>
  380. <Button id="btn_entregnohelp" taborder="20" class="icon_search" position="absolute 924 9 940 25" anchor="default" onclick="grp_sea_btn_entregnohelp_onclick"/>
  381. <MaskEdit id="ipt_rrgstno" taborder="21" mask="######-#######" autoselect="true" autoskip="true" class="input_search" position="absolute 820 8 920 27" anchor="default" onkeydown="grp_sea_ipt_rrgstno_onkeydown" maskchar=" " type="string" trimtype="both" style="align:left middle;"/>
  382. <Edit id="ipt_name" taborder="22" autoselect="true" autoskip="true" class="input_search" position="absolute 944 8 1045 27" anchor="default" onkeydown="grp_sea_ipt_name_onkeydown" imemode="hangul"/>
  383. <Radio id="rdo_retrkind" taborder="23" columncount="3" rowcount="0" codecolumn="codecolumn" datacolumn="datacolumn" visible="false" position="absolute 1001 9 1091 25" anchor="default">
  384. <Dataset id="innerdataset">
  385. <ColumnInfo>
  386. <Column id="codecolumn"/>
  387. <Column id="datacolumn"/>
  388. </ColumnInfo>
  389. <Rows>
  390. <Row>
  391. <Col id="codecolumn">all</Col>
  392. <Col id="datacolumn">전체</Col>
  393. </Row>
  394. <Row>
  395. <Col id="codecolumn">sum</Col>
  396. <Col id="datacolumn">집합</Col>
  397. </Row>
  398. </Rows>
  399. </Dataset>
  400. </Radio>
  401. <Static id="caption1" text="조회구분 :" class="search_name" position="absolute 286 10 376 27" anchor="default"/>
  402. <Combo id="cmb_day" taborder="24" codecolumn="codecolumn" datacolumn="datacolumn" class="combo_s_essential" position="absolute 370 8 470 27" anchor="default" onitemchanged="grp_sea_cmb_day_onitemchanged">
  403. <Dataset id="innerdataset">
  404. <ColumnInfo>
  405. <Column id="codecolumn"/>
  406. <Column id="datacolumn"/>
  407. </ColumnInfo>
  408. <Rows>
  409. <Row>
  410. <Col id="codecolumn">P</Col>
  411. <Col id="datacolumn">지급일자</Col>
  412. </Row>
  413. <Row>
  414. <Col id="codecolumn">G</Col>
  415. <Col id="datacolumn">귀속년월</Col>
  416. </Row>
  417. </Rows>
  418. </Dataset>
  419. </Combo>
  420. </Layout>
  421. </Layouts>
  422. </Div>
  423. <Combo id="cmb_gruptype" taborder="20" position="absolute 96 25 170 44" index="-1" innerdataset="@ds_init_cmb_gruptype_comcodelist" datacolumn="cdnm" codecolumn="cdid" visible="false"/>
  424. </Layout>
  425. </Layouts>
  426. <Objects>
  427. <Dataset id="ds_send_retrparams" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_send_retrparams_oncolumnchanged">
  428. <ColumnInfo>
  429. <Column id="instcd" type="STRING" size="256"/>
  430. <Column id="payinst" type="STRING" size="256"/>
  431. <Column id="frdd" type="STRING" size="256"/>
  432. <Column id="todd" type="STRING" size="256"/>
  433. <Column id="rrgstno" type="STRING" size="256"/>
  434. <Column id="name" type="STRING" size="256"/>
  435. <Column id="emplno" type="STRING" size="256"/>
  436. <Column id="emplnm" type="STRING" size="256"/>
  437. <Column id="profflag" type="STRING" size="256"/>
  438. <Column id="retrkind" type="STRING" size="256"/>
  439. <Column id="dayflag" type="STRING" size="256"/>
  440. <Column id="groupid" type="STRING" size="256"/>
  441. <Column id="pumno" type="STRING" size="256"/>
  442. </ColumnInfo>
  443. <Rows>
  444. <Row>
  445. <Col id="instcd"/>
  446. <Col id="payinst"/>
  447. <Col id="frdd"/>
  448. <Col id="todd"/>
  449. <Col id="rrgstno"/>
  450. <Col id="name"/>
  451. <Col id="emplno"/>
  452. <Col id="emplnm"/>
  453. <Col id="profflag">A</Col>
  454. <Col id="retrkind"/>
  455. <Col id="dayflag"/>
  456. <Col id="groupid"/>
  457. <Col id="pumno"/>
  458. </Row>
  459. </Rows>
  460. </Dataset>
  461. <Dataset id="ds_init_cmb_gruptype_comcodelist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  462. <ColumnInfo>
  463. <Column id="cdnm" type="STRING" size="256"/>
  464. <Column id="cdid" type="STRING" size="256"/>
  465. </ColumnInfo>
  466. </Dataset>
  467. <Dataset id="ds_hidden_zipcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  468. <ColumnInfo>
  469. <Column id="zipcd1" type="STRING" size="256"/>
  470. <Column id="zipcd2" type="STRING" size="256"/>
  471. <Column id="supaddr" type="STRING" size="256"/>
  472. <Column id="zipcdseqno" type="STRING" size="256"/>
  473. </ColumnInfo>
  474. <Rows>
  475. <Row>
  476. <Col id="zipcd1"/>
  477. <Col id="zipcd2"/>
  478. <Col id="supaddr"/>
  479. <Col id="zipcdseqno"/>
  480. </Row>
  481. </Rows>
  482. </Dataset>
  483. <Dataset id="ds_send_printparams" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  484. <ColumnInfo>
  485. <Column id="payTotAmt" type="STRING" size="256"/>
  486. <Column id="incmTax" type="STRING" size="256"/>
  487. <Column id="resdnTax" type="STRING" size="256"/>
  488. <Column id="isumAmt" type="STRING" size="256"/>
  489. </ColumnInfo>
  490. <Rows>
  491. <Row>
  492. <Col id="payTotAmt"/>
  493. <Col id="incmTax"/>
  494. <Col id="resdnTax"/>
  495. <Col id="isumAmt"/>
  496. </Row>
  497. </Rows>
  498. </Dataset>
  499. <Dataset id="ds_main_list_orchlist" firefirstcount="0" firenextcount="0" useclientlayout="true" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false" oncolumnchanged="ds_main_list_orchlist_oncolumnchanged">
  500. <ColumnInfo>
  501. <Column id="chk" type="STRING" size="256" sumtext="기관코드"/>
  502. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  503. <Column id="unsldd" type="STRING" size="256" sumtext="미결전표일자"/>
  504. <Column id="unslno" type="STRING" size="256" sumtext="미결전표번호"/>
  505. <Column id="unslseqno" type="STRING" size="256" sumtext="미결전표일련번호"/>
  506. <Column id="sanctslipdd" type="STRING" size="256" sumtext="결재전표일자"/>
  507. <Column id="sanctslipno" type="STRING" size="256" sumtext="결재전표번호"/>
  508. <Column id="sanctslipseqno" type="STRING" size="256" sumtext="결재전표일련번호"/>
  509. <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
  510. <Column id="detlseqno" type="STRING" size="256" sumtext="세부일련번호"/>
  511. <Column id="profflag" type="STRING" size="256" sumtext="증빙구분"/>
  512. <Column id="posyear" type="STRING" size="256" sumtext="귀속년도"/>
  513. <Column id="posdd" type="STRING" size="256" sumtext="출금요청일"/>
  514. <Column id="defrayreqdd" type="STRING" size="256" sumtext="출금요청일"/>
  515. <Column id="quadno" type="STRING" size="256" sumtext="지급분기"/>
  516. <Column id="payinst" type="STRING" size="256" sumtext="사원번호"/>
  517. <Column id="payinstnm" type="STRING" size="256" sumtext="사원번호"/>
  518. <Column id="dutunitcd" type="STRING" size="256" sumtext="사원번호"/>
  519. <Column id="dutunitnm" type="STRING" size="256" sumtext="사원번호"/>
  520. <Column id="emplno" type="STRING" size="256" sumtext="사원번호"/>
  521. <Column id="jobnm" type="STRING" size="256" sumtext="직급직종"/>
  522. <Column id="name" type="STRING" size="256" sumtext="성명"/>
  523. <Column id="name" type="STRING" size="256" sumtext="성명"/>
  524. <Column id="entrregno" type="STRING" size="256" sumtext="사업자등록번호"/>
  525. <Column id="custnm" type="STRING" size="256" sumtext="상호"/>
  526. <Column id="rrgstno" type="STRING" size="256" sumtext="주민등록번호"/>
  527. <Column id="incmflag" type="STRING" size="256" sumtext="소득구분코드"/>
  528. <Column id="induflag" type="STRING" size="256" sumtext="업종코드"/>
  529. <Column id="address" type="STRING" size="256" sumtext="주소"/>
  530. <Column id="supaddr" type="STRING" size="256" sumtext="상위주소"/>
  531. <Column id="infaddr" type="STRING" size="256" sumtext="하위주소"/>
  532. <Column id="zipcd" type="STRING" size="256" sumtext="우편번호"/>
  533. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호1 "/>
  534. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호2 "/>
  535. <Column id="dayno" type="BIGDECIMAL" size="256" sumtext="지급일수"/>
  536. <Column id="dypay" type="STRING" size="256" sumtext="일급"/>
  537. <Column id="totamt" type="STRING" size="256" sumtext="총액"/>
  538. <Column id="paytotamt" type="STRING" size="256" sumtext="지급총액"/>
  539. <Column id="taxrate" type="STRING" size="256" sumtext="세율"/>
  540. <Column id="incmtax" type="STRING" size="256" sumtext="소득세"/>
  541. <Column id="resdntax" type="STRING" size="256" sumtext="주민세"/>
  542. <Column id="sumamt" type="STRING" size="256" sumtext="원천세"/>
  543. <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
  544. <Column id="deployeeentrregno" type="STRING" size="256" sumtext="지급자사업자등록번호"/>
  545. <Column id="deployeecustnm" type="STRING" size="256" sumtext="지급자거래처명"/>
  546. <Column id="deployeeprsdnm" type="STRING" size="256" sumtext="지급자대표자명"/>
  547. <Column id="deployeeaddress" type="STRING" size="256" sumtext="지급자주소"/>
  548. <Column id="deployeerrgstno" type="STRING" size="256" sumtext="지급자주민(법인)등록번호"/>
  549. <Column id="acntyy" type="STRING" size="256" sumtext="회계년도"/>
  550. <Column id="payapplyn" type="STRING" size="256" sumtext="급여반영여부"/>
  551. <Column id="payappldd" type="STRING" size="256" sumtext="급여반영일시"/>
  552. <Column id="slipyn" type="STRING" size="256" sumtext=""/>
  553. <Column id="ionatiflag" type="STRING" size="256" sumtext="외국인구분"/>
  554. <Column id="datete" type="STRING" size="256" sumtext="오늘날짜"/>
  555. <Column id="cntctel" type="STRING" size="256" sumtext="전화번호"/>
  556. <Column id="nontaxpay" type="STRING" size="256" sumtext="소득공제"/>
  557. <Column id="taxpay" type="STRING" size="256" sumtext="과세표준"/>
  558. <Column id="caltax" type="STRING" size="256" sumtext="산출세액"/>
  559. <Column id="taxgj" type="STRING" size="256" sumtext="공제세액"/>
  560. <Column id="realpay" type="STRING" size="256" sumtext="실수령액"/>
  561. <Column id="pumno" type="STRING" size="256" sumtext="품의번호"/>
  562. <Column id="chkyn" type="STRING" size="256" sumtext="확인구분"/>
  563. <Column id="chknm" type="STRING" size="256" sumtext="확인구분"/>
  564. <Column id="paydd" type="STRING" size="256" sumtext="지급일자"/>
  565. <Column id="getdd" type="STRING" size="256" sumtext="귀속년월"/>
  566. <Column id="chrgflag" type="STRING" size="256"/>
  567. </ColumnInfo>
  568. </Dataset>
  569. <Dataset id="ds_main_list_prtorchlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  570. <ColumnInfo>
  571. <Column id="chk" type="STRING" size="256" sumtext="기관코드"/>
  572. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  573. <Column id="unsldd" type="STRING" size="256" sumtext="미결전표일자"/>
  574. <Column id="unslno" type="STRING" size="256" sumtext="미결전표번호"/>
  575. <Column id="unslseqno" type="STRING" size="256" sumtext="미결전표일련번호"/>
  576. <Column id="sanctslipdd" type="STRING" size="256" sumtext="결재전표일자"/>
  577. <Column id="sanctslipno" type="STRING" size="256" sumtext="결재전표번호"/>
  578. <Column id="sanctslipseqno" type="STRING" size="256" sumtext="결재전표일련번호"/>
  579. <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
  580. <Column id="detlseqno" type="STRING" size="256" sumtext="세부일련번호"/>
  581. <Column id="profflag" type="STRING" size="256" sumtext="증빙구분"/>
  582. <Column id="posyear" type="STRING" size="256" sumtext="귀속년도"/>
  583. <Column id="posdd" type="STRING" size="256" sumtext="출금요청일"/>
  584. <Column id="defrayreqdd" type="STRING" size="256" sumtext="출금요청일"/>
  585. <Column id="quadno" type="STRING" size="256" sumtext="지급분기"/>
  586. <Column id="payinst" type="STRING" size="256" sumtext="사원번호"/>
  587. <Column id="payinstnm" type="STRING" size="256" sumtext="사원번호"/>
  588. <Column id="dutunitcd" type="STRING" size="256" sumtext="사원번호"/>
  589. <Column id="dutunitnm" type="STRING" size="256" sumtext="사원번호"/>
  590. <Column id="emplno" type="STRING" size="256" sumtext="사원번호"/>
  591. <Column id="jobnm" type="STRING" size="256" sumtext="직급직종"/>
  592. <Column id="name" type="STRING" size="256" sumtext="성명"/>
  593. <Column id="name" type="STRING" size="256" sumtext="성명"/>
  594. <Column id="entrregno" type="STRING" size="256" sumtext="사업자등록번호"/>
  595. <Column id="custnm" type="STRING" size="256" sumtext="상호"/>
  596. <Column id="rrgstno" type="STRING" size="256" sumtext="주민등록번호"/>
  597. <Column id="incmflag" type="STRING" size="256" sumtext="소득구분코드"/>
  598. <Column id="induflag" type="STRING" size="256" sumtext="업종코드"/>
  599. <Column id="address" type="STRING" size="256" sumtext="주소"/>
  600. <Column id="supaddr" type="STRING" size="256" sumtext="상위주소"/>
  601. <Column id="infaddr" type="STRING" size="256" sumtext="하위주소"/>
  602. <Column id="zipcd" type="STRING" size="256" sumtext="우편번호"/>
  603. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호1 "/>
  604. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호2 "/>
  605. <Column id="dayno" type="BIGDECIMAL" size="256" sumtext="지급일수"/>
  606. <Column id="dypay" type="STRING" size="256" sumtext="일급"/>
  607. <Column id="totamt" type="STRING" size="256" sumtext="총액"/>
  608. <Column id="paytotamt" type="STRING" size="256" sumtext="지급총액"/>
  609. <Column id="taxrate" type="STRING" size="256" sumtext="세율"/>
  610. <Column id="incmtax" type="STRING" size="256" sumtext="소득세"/>
  611. <Column id="resdntax" type="STRING" size="256" sumtext="주민세"/>
  612. <Column id="sumamt" type="STRING" size="256" sumtext="원천세"/>
  613. <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
  614. <Column id="deployeeentrregno" type="STRING" size="256" sumtext="지급자사업자등록번호"/>
  615. <Column id="deployeecustnm" type="STRING" size="256" sumtext="지급자거래처명"/>
  616. <Column id="deployeeprsdnm" type="STRING" size="256" sumtext="지급자대표자명"/>
  617. <Column id="deployeeaddress" type="STRING" size="256" sumtext="지급자주소"/>
  618. <Column id="deployeerrgstno" type="STRING" size="256" sumtext="지급자주민(법인)등록번호"/>
  619. <Column id="acntyy" type="STRING" size="256" sumtext="회계년도"/>
  620. <Column id="payapplyn" type="STRING" size="256" sumtext="급여반영여부"/>
  621. <Column id="payappldd" type="STRING" size="256" sumtext="급여반영일시"/>
  622. <Column id="slipyn" type="STRING" size="256" sumtext=""/>
  623. <Column id="ionatiflag" type="STRING" size="256" sumtext="외국인구분"/>
  624. <Column id="datete" type="STRING" size="256" sumtext="오늘날짜"/>
  625. <Column id="cntctel" type="STRING" size="256" sumtext="전화번호"/>
  626. <Column id="nontaxpay" type="STRING" size="256" sumtext="소득공제"/>
  627. <Column id="taxpay" type="STRING" size="256" sumtext="과세표준"/>
  628. <Column id="caltax" type="STRING" size="256" sumtext="산출세액"/>
  629. <Column id="taxgj" type="STRING" size="256" sumtext="공제세액"/>
  630. <Column id="realpay" type="STRING" size="256" sumtext="실수령액"/>
  631. <Column id="pumno" type="STRING" size="256" sumtext="품의번호"/>
  632. <Column id="chkyn" type="STRING" size="256" sumtext="확인구분"/>
  633. <Column id="chknm" type="STRING" size="256" sumtext="확인구분"/>
  634. <Column id="paydd" type="STRING" size="256" sumtext="지급일자"/>
  635. <Column id="getdd" type="STRING" size="256" sumtext="귀속년월"/>
  636. </ColumnInfo>
  637. </Dataset>
  638. <Dataset id="ds_pop6data" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  639. <ColumnInfo>
  640. <Column id="pumno" type="STRING" size="256"/>
  641. </ColumnInfo>
  642. </Dataset>
  643. <Dataset id="ds_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  644. <ColumnInfo>
  645. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  646. <Column id="emplno" type="STRING" size="256" sumtext="사번"/>
  647. </ColumnInfo>
  648. </Dataset>
  649. <Dataset id="ds_temp_authchk_userauth" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  650. <ColumnInfo>
  651. <Column id="slipreqapproval" type="STRING" size="256" sumtext="전표승인요청권한"/>
  652. <Column id="slipreqcancel" type="STRING" size="256" sumtext="전표승인요청취소권한"/>
  653. <Column id="sliprecognition" type="STRING" size="256" sumtext="전표승인권한"/>
  654. <Column id="slipcancel" type="STRING" size="256" sumtext="전표승인취소권한"/>
  655. <Column id="authmgt" type="STRING" size="256" sumtext="권한부여 권한"/>
  656. <Column id="etctax" type="STRING" size="256" sumtext="기타소득세 권한"/>
  657. <Column id="custstat" type="STRING" size="256" sumtext="거래처지급중지권한"/>
  658. <Column id="rcvcheck" type="STRING" size="256" sumtext="계산서입금확인권한"/>
  659. <Column id="incmcnfm" type="STRING" size="256" sumtext="소득확인현황권한"/>
  660. </ColumnInfo>
  661. </Dataset>
  662. <Dataset id="ds_send_rertparams2" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  663. <ColumnInfo>
  664. <Column id="instcd" type="STRING" size="256"/>
  665. <Column id="name" type="STRING" size="256"/>
  666. <Column id="rrgstno" type="STRING" size="256"/>
  667. <Column id="retrflag" type="STRING" size="256"/>
  668. </ColumnInfo>
  669. <Rows>
  670. <Row>
  671. <Col id="instcd"/>
  672. <Col id="name"/>
  673. <Col id="rrgstno"/>
  674. <Col id="retrflag"/>
  675. </Row>
  676. </Rows>
  677. </Dataset>
  678. <Dataset id="ds_hidden_prntlist_dayworkerprntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  679. <ColumnInfo>
  680. <Column id="chk" type="STRING" size="256" sumtext="기관코드"/>
  681. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  682. <Column id="unsldd" type="STRING" size="256" sumtext="미결전표일자"/>
  683. <Column id="unslno" type="STRING" size="256" sumtext="미결전표번호"/>
  684. <Column id="unslseqno" type="STRING" size="256" sumtext="미결전표일련번호"/>
  685. <Column id="sanctslipdd" type="STRING" size="256" sumtext="결재전표일자"/>
  686. <Column id="sanctslipno" type="STRING" size="256" sumtext="결재전표번호"/>
  687. <Column id="sanctslipseqno" type="STRING" size="256" sumtext="결재전표일련번호"/>
  688. <Column id="seqno" type="STRING" size="256" sumtext="일련번호"/>
  689. <Column id="detlseqno" type="STRING" size="256" sumtext="세부일련번호"/>
  690. <Column id="profflag" type="STRING" size="256" sumtext="증빙구분"/>
  691. <Column id="posyear" type="STRING" size="256" sumtext="귀속년도"/>
  692. <Column id="posdd" type="STRING" size="256" sumtext="출금요청일"/>
  693. <Column id="defrayreqdd" type="STRING" size="256" sumtext="출금요청일"/>
  694. <Column id="quadno" type="STRING" size="256" sumtext="지급분기"/>
  695. <Column id="payinst" type="STRING" size="256" sumtext="사원번호"/>
  696. <Column id="payinstnm" type="STRING" size="256" sumtext="사원번호"/>
  697. <Column id="dutunitcd" type="STRING" size="256" sumtext="사원번호"/>
  698. <Column id="dutunitnm" type="STRING" size="256" sumtext="사원번호"/>
  699. <Column id="emplno" type="STRING" size="256" sumtext="사원번호"/>
  700. <Column id="jobnm" type="STRING" size="256" sumtext="직급직종"/>
  701. <Column id="name" type="STRING" size="256" sumtext="성명"/>
  702. <Column id="name" type="STRING" size="256" sumtext="성명"/>
  703. <Column id="entrregno" type="STRING" size="256" sumtext="사업자등록번호"/>
  704. <Column id="custnm" type="STRING" size="256" sumtext="상호"/>
  705. <Column id="rrgstno" type="STRING" size="256" sumtext="주민등록번호"/>
  706. <Column id="incmflag" type="STRING" size="256" sumtext="소득구분코드"/>
  707. <Column id="induflag" type="STRING" size="256" sumtext="업종코드"/>
  708. <Column id="address" type="STRING" size="256" sumtext="주소"/>
  709. <Column id="supaddr" type="STRING" size="256" sumtext="상위주소"/>
  710. <Column id="infaddr" type="STRING" size="256" sumtext="하위주소"/>
  711. <Column id="zipcd" type="STRING" size="256" sumtext="우편번호"/>
  712. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호1 "/>
  713. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호2 "/>
  714. <Column id="dayno" type="BIGDECIMAL" size="256" sumtext="지급일수"/>
  715. <Column id="dypay" type="STRING" size="256" sumtext="일급"/>
  716. <Column id="totamt" type="STRING" size="256" sumtext="총액"/>
  717. <Column id="paytotamt" type="STRING" size="256" sumtext="지급총액"/>
  718. <Column id="taxrate" type="STRING" size="256" sumtext="세율"/>
  719. <Column id="incmtax" type="STRING" size="256" sumtext="소득세"/>
  720. <Column id="resdntax" type="STRING" size="256" sumtext="주민세"/>
  721. <Column id="sumamt" type="STRING" size="256" sumtext="원천세"/>
  722. <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
  723. <Column id="deployeeentrregno" type="STRING" size="256" sumtext="지급자사업자등록번호"/>
  724. <Column id="deployeecustnm" type="STRING" size="256" sumtext="지급자거래처명"/>
  725. <Column id="deployeeprsdnm" type="STRING" size="256" sumtext="지급자대표자명"/>
  726. <Column id="deployeeaddress" type="STRING" size="256" sumtext="지급자주소"/>
  727. <Column id="deployeerrgstno" type="STRING" size="256" sumtext="지급자주민(법인)등록번호"/>
  728. <Column id="acntyy" type="STRING" size="256" sumtext="회계년도"/>
  729. <Column id="payapplyn" type="STRING" size="256" sumtext="급여반영여부"/>
  730. <Column id="payappldd" type="STRING" size="256" sumtext="급여반영일시"/>
  731. <Column id="slipyn" type="STRING" size="256" sumtext=""/>
  732. <Column id="ionatiflag" type="STRING" size="256" sumtext="외국인구분"/>
  733. <Column id="datete" type="STRING" size="256" sumtext="오늘날짜"/>
  734. <Column id="cntctel" type="STRING" size="256" sumtext="전화번호"/>
  735. <Column id="nontaxpay" type="STRING" size="256" sumtext="소득공제"/>
  736. <Column id="taxpay" type="STRING" size="256" sumtext="과세표준"/>
  737. <Column id="caltax" type="STRING" size="256" sumtext="산출세액"/>
  738. <Column id="taxgj" type="STRING" size="256" sumtext="공제세액"/>
  739. <Column id="realpay" type="STRING" size="256" sumtext="실수령액"/>
  740. <Column id="pumno" type="STRING" size="256" sumtext="품의번호"/>
  741. <Column id="chkyn" type="STRING" size="256" sumtext="확인구분"/>
  742. <Column id="chknm" type="STRING" size="256" sumtext="확인구분"/>
  743. <Column id="paydd" type="STRING" size="256" sumtext="지급일자"/>
  744. <Column id="getdd" type="STRING" size="256" sumtext="귀속년월"/>
  745. </ColumnInfo>
  746. </Dataset>
  747. <Dataset id="ds_hidden_incmpsn" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  748. <ColumnInfo>
  749. <Column id="instcd" type="STRING" size="256" sumtext="기관코드"/>
  750. <Column id="rrgstno" type="STRING" size="256" sumtext="주민등록번호"/>
  751. <Column id="name" type="STRING" size="256" sumtext="성명"/>
  752. <Column id="ionatiflag" type="STRING" size="256" sumtext="내외국인구분"/>
  753. <Column id="residentflag" type="STRING" size="256" sumtext="거주지구분"/>
  754. <Column id="residncnati" type="STRING" size="256" sumtext="거주지국"/>
  755. <Column id="incmpsnflag" type="STRING" size="256" sumtext="소득자구분"/>
  756. <Column id="entrregno" type="STRING" size="256" sumtext="사업자등록번호"/>
  757. <Column id="custnm" type="STRING" size="256" sumtext="상호"/>
  758. <Column id="zipcd" type="STRING" size="256" sumtext="우편번호"/>
  759. <Column id="zipcd1" type="STRING" size="256" sumtext="우편번호1"/>
  760. <Column id="zipcd2" type="STRING" size="256" sumtext="우편번호2"/>
  761. <Column id="zipcdseqno" type="STRING" size="256" sumtext="우편번호일련번호"/>
  762. <Column id="supaddr" type="STRING" size="256" sumtext="상위주소"/>
  763. <Column id="infaddr" type="STRING" size="256" sumtext="하위주소"/>
  764. <Column id="cntctel" type="STRING" size="256" sumtext="전화번호"/>
  765. <Column id="emailaddr" type="STRING" size="256" sumtext="이메일주소"/>
  766. <Column id="induflag" type="STRING" size="256" sumtext="업종구분"/>
  767. <Column id="incmflag" type="STRING" size="256" sumtext="소득구분"/>
  768. <Column id="aactno" type="STRING" size="256" sumtext="계좌번호"/>
  769. <Column id="bankcd" type="STRING" size="256" sumtext="은행코드"/>
  770. <Column id="depor" type="STRING" size="256" sumtext="예금주"/>
  771. <Column id="passportno" type="STRING" size="256" sumtext="여권번호"/>
  772. <Column id="cmt" type="STRING" size="256" sumtext="비고"/>
  773. <Column id="status" type="STRING" size="256" sumtext="상태"/>
  774. </ColumnInfo>
  775. </Dataset>
  776. <Dataset id="ds_hidden_prntlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
  777. <Dataset id="ds_hidden_incmpsntemp" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
  778. <ColumnInfo>
  779. <Column id="name" type="STRING" size="256"/>
  780. <Column id="rrgstno" type="STRING" size="256"/>
  781. <Column id="entrregno" type="STRING" size="256"/>
  782. <Column id="custnm" type="STRING" size="256"/>
  783. <Column id="zipcd" type="STRING" size="256"/>
  784. <Column id="zipcd1" type="STRING" size="256"/>
  785. <Column id="zipcd2" type="STRING" size="256"/>
  786. <Column id="zipcdseqno" type="STRING" size="256"/>
  787. <Column id="supaddr" type="STRING" size="256"/>
  788. <Column id="infaddr" type="STRING" size="256"/>
  789. <Column id="cntctel" type="STRING" size="256"/>
  790. <Column id="emailaddr" type="STRING" size="256"/>
  791. <Column id="cmt" type="STRING" size="256"/>
  792. <Column id="ionatiflag" type="STRING" size="256"/>
  793. <Column id="induflag" type="STRING" size="256"/>
  794. <Column id="incmflag" type="STRING" size="256"/>
  795. </ColumnInfo>
  796. <Rows>
  797. <Row>
  798. <Col id="name"/>
  799. <Col id="rrgstno"/>
  800. <Col id="entrregno"/>
  801. <Col id="custnm"/>
  802. <Col id="zipcd"/>
  803. <Col id="zipcd1"/>
  804. <Col id="zipcd2"/>
  805. <Col id="zipcdseqno"/>
  806. <Col id="supaddr"/>
  807. <Col id="infaddr"/>
  808. <Col id="cntctel"/>
  809. <Col id="emailaddr"/>
  810. <Col id="cmt"/>
  811. <Col id="ionatiflag"/>
  812. <Col id="induflag"/>
  813. <Col id="incmflag"/>
  814. </Row>
  815. </Rows>
  816. </Dataset>
  817. </Objects>
  818. <Bind>
  819. <BindItem id="item0" compid="cmb_gruptype" propid="value" datasetid="ds_send_retrparams" columnid="groupid"/>
  820. <BindItem id="item1" compid="grp_sea.cmb_instcd" propid="value" datasetid="ds_send_retrparams" columnid="instcd"/>
  821. <BindItem id="item2" compid="grp_sea.cmb_day" propid="value" datasetid="ds_send_retrparams" columnid="dayflag"/>
  822. <BindItem id="item3" compid="grp_sea.ipt_frym" propid="value" datasetid="ds_send_retrparams" columnid="frdd"/>
  823. <BindItem id="item4" compid="grp_sea.ipt_toym" propid="value" datasetid="ds_send_retrparams" columnid="todd"/>
  824. <BindItem id="item5" compid="grp_sea.ipt_rrgstno" propid="value" datasetid="ds_send_retrparams" columnid="rrgstno"/>
  825. <BindItem id="item6" compid="grp_sea.rdo_retrkind" propid="value" datasetid="ds_send_retrparams" columnid="retrkind"/>
  826. <BindItem id="item7" compid="grp_sea.ipt_name" propid="value" datasetid="ds_send_retrparams" columnid="name"/>
  827. <BindItem id="item8" compid="opt_zipcd" propid="value" datasetid="ds_hidden_zipcd" columnid="zipcd1"/>
  828. <BindItem id="item9" compid="opt_temp" propid="value" datasetid="ds_hidden_zipcd" columnid="zipcd2"/>
  829. <BindItem id="item10" compid="output8" propid="value" datasetid="ds_send_printparams" columnid="payTotAmt"/>
  830. <BindItem id="item11" compid="output5" propid="value" datasetid="ds_send_printparams" columnid="incmTax"/>
  831. <BindItem id="item12" compid="output1" propid="value" datasetid="ds_send_printparams" columnid="resdnTax"/>
  832. <BindItem id="item13" compid="output3" propid="value" datasetid="ds_send_printparams" columnid="isumAmt"/>
  833. </Bind>
  834. <Script type="xscript4.0"><![CDATA[/***************************************************************************************
  835. * System Name :
  836. * Job Name :
  837. * Creator :
  838. * Make Date : 2017-06-19
  839. * Description :
  840. *---------------------------------------------------------------------------------------
  841. * Modify Date Modifier Modify Description
  842. *---------------------------------------------------------------------------------------
  843. * 2017-06-19 Live Converter TF->XP
  844. *
  845. *---------------------------------------------------------------------------------------
  846. ****************************************************************************************/
  847. include "com_commonxp::comm_main.xjs";
  848. include "mis_miscommonxp::MIS.xjs";
  849. include "mis_acntcommonxp::RAD001.xjs";
  850. function SMRAT00600_oninit(obj:Form, e:InitEventInfo)
  851. {
  852. frmf_initForm(obj);
  853. }
  854. var gPopflag = "";
  855. function SMRAT00600_onload(obj:Form, e:LoadEventInfo)
  856. {
  857. grdf_initGrid(grd_orchlist);
  858. grdf_setRowTypeIcon(grd_orchlist, 0);
  859. try
  860. {
  861. ds_pop6data.copyData(arg_ds_pop6data);
  862. }
  863. catch(e)
  864. {
  865. }
  866. gPopflag = ds_pop6data.getColumn(0, "pumno");
  867. fInitialize();
  868. ds_send_retrparams.setColumn(0, "dayflag", "P");
  869. if(!utlf_isNull(gPopflag))
  870. {
  871. grp_sea.cmb_instcd.enable = false;
  872. btn_close.visible = true;
  873. ds_send_retrparams.setColumn(0, "pumno", ds_pop6data.getColumn(0, "pumno"));
  874. grp_sea.btn_search.click();
  875. ds_send_retrparams.setColumn(0, "pumno", "");
  876. }
  877. }
  878. function fInitialize()
  879. {
  880. var oParam = {};
  881. oParam.id = "TRRAI00301";
  882. oParam.service = "accountinfoapp.AccountInfo";
  883. oParam.method = "reqGetAuthchk";
  884. oParam.inds = "req=ds_send";
  885. oParam.outds = "ds_temp_authchk_userauth=userauth";
  886. oParam.async = false;
  887. oParam.callback = "cf_TRRAI00301";
  888. tranf_submit(oParam);
  889. ds_main_list_orchlist.clearData();
  890. //misfMsterDetailSet(grd_orchlist, null, "TRRAT00601", "Y");
  891. misfComboComCdListMulti("Z0007,", "grp_sea.cmb_instcd");
  892. ds_send_retrparams.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  893. ds_send_retrparams.setColumn(0, "frdd", utlf_getCurrentDate());
  894. ds_send_retrparams.setColumn(0, "todd", utlf_getCurrentDate());
  895. ds_send_rertparams2.setColumn(0, "instcd", sysf_getUserInfo("dutplceinstcd"));
  896. ds_send_retrparams.setColumn(0, "retrkind", "all");
  897. grd_orchlist.setCellProperty("Body", grd_orchlist.getBindCellIndex("Body", "paytotamt"), "edittype", "none");
  898. }
  899. function cf_TRRAI00301(sSvcId, nErrorCode, sErrorMsg)
  900. {
  901. if(nErrorCode < 0)
  902. {
  903. grp_sea.enable = true;
  904. return;
  905. }
  906. else
  907. {
  908. if(ds_temp_authchk_userauth.getColumn(0, "etctax") != "Y")
  909. {
  910. sysf_messageBox("해당 프로그램의 사용 권한이 없습니다. " + "\n\n" +
  911. "권한 부여에 관해서는 재무파트의 담당자에게 문의바랍니다. ", "E000");
  912. grp_sea.enable = false;
  913. return;
  914. }
  915. }
  916. }
  917. function grp_sea_cmb_instcd_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  918. {
  919. if( obj.value != sysf_getUserInfo("dutplceinstcd") )
  920. {
  921. btn_save.enable = false;
  922. btn_print.enable = false;
  923. btn_openpsn.enable = false;
  924. btn_addrow.enable = false;
  925. btn_delrow.enable = false;
  926. }
  927. else
  928. {
  929. btn_save.enable = true;
  930. btn_print.enable = true;
  931. btn_openpsn.enable = true;
  932. btn_addrow.enable = true;
  933. btn_delrow.enable = true;
  934. }
  935. ds_send_rertparams2.setColumn(0, "instcd", obj.value);
  936. fRetrieve();
  937. }
  938. function fRetrieve()
  939. {
  940. dsf_setFixVal(ds_send_retrparams, "prtflag:1");
  941. var oParam = {};
  942. oParam.id = "TRRAT00601";
  943. oParam.service = "addtaxapp.Addtax";
  944. oParam.method = "reqGetDayWorkOrchList";
  945. oParam.inds = "req=ds_send_retrparams";
  946. oParam.outds = "ds_main_list_orchlist=orchlist ds_main_list_prtorchlist=prtorchlist";
  947. oParam.async = false;
  948. //oParam.callback = "cf_TRRAT00601";
  949. tranf_submit(oParam);
  950. ds_main_list_orchlist.updatecontrol = false;
  951. for(var i = 0; i < ds_main_list_orchlist.rowcount; i++)
  952. {
  953. dsf_makeValue(ds_main_list_orchlist, "Popflag", "string", gPopflag, 0);
  954. if(ds_main_list_orchlist.getColumn(i, "chkyn") == "Y")
  955. {
  956. ds_main_list_orchlist.setColumn(i, "chknm", "확인");
  957. }
  958. }
  959. ds_main_list_orchlist.updatecontrol = true;
  960. fSetPrintNodeList();
  961. }
  962. function fSetPrintNodeList()
  963. {
  964. ds_hidden_prntlist_dayworkerprntlist.copyData(ds_main_list_orchlist)
  965. }
  966. function grp_sea_cmb_day_onitemchanged(obj:Combo, e:ItemChangeEventInfo)
  967. {
  968. if(obj.value == "G")
  969. {
  970. grp_sea.ipt_frym.dateformat = "yyyy-MM";
  971. grp_sea.ipt_frym.editformat = "yyyy-MM";
  972. grp_sea.ipt_toym.dateformat = "yyyy-MM";
  973. grp_sea.ipt_toym.editformat = "yyyy-MM";
  974. }
  975. if(obj.value == "P")
  976. {
  977. grp_sea.ipt_frym.dateformat = "yyyy-MM-dd";
  978. grp_sea.ipt_frym.editformat = "yyyy-MM-dd";
  979. grp_sea.ipt_toym.dateformat = "yyyy-MM-dd";
  980. grp_sea.ipt_toym.editformat = "yyyy-MM-dd";
  981. }
  982. }
  983. function grp_sea_ipt_rrgstno_onkeydown(obj:MaskEdit, e:KeyEventInfo)
  984. {
  985. if(e.keycode == 13)
  986. {
  987. obj.updateToDataset();
  988. grp_sea.ipt_name.setFocus();
  989. }
  990. }
  991. function ds_send_retrparams_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  992. {
  993. if(e.columnid == "rrgstno")
  994. {
  995. if(utlf_isNull(e.newvalue))
  996. {
  997. obj.setColumn(0, "name", "");
  998. return;
  999. }
  1000. ds_send_rertparams2.setColumn(0, "name", "");
  1001. ds_send_rertparams2.setColumn(0, "rrgstno", e.newvalue);
  1002. ds_send_rertparams2.setColumn(0, "retrflag", "code");
  1003. var oParam = {};
  1004. oParam.id = "TRRAC00611";
  1005. oParam.service = "acntbaseinfoapp.AcntBaseInfo";
  1006. oParam.method = "reqGetIncmPsn";
  1007. oParam.inds = "req=ds_send_rertparams2";
  1008. oParam.outds = "ds_hidden_incmpsn=incmpsn";
  1009. oParam.async = false;
  1010. oParam.callback = "cf_TRRAC00611";
  1011. tranf_submit(oParam);
  1012. fRetrieve();
  1013. }
  1014. if(e.columnid == "name")
  1015. {
  1016. if(utlf_isNull(e.newvalue))
  1017. {
  1018. obj.setColumn(0, "rrgstno", "");
  1019. return;
  1020. }
  1021. ds_send_rertparams2.setColumn(0, "rrgstno", "");
  1022. ds_send_rertparams2.setColumn(0, "name", e.newvalue);
  1023. ds_send_rertparams2.setColumn(0, "retrflag", "name");
  1024. var oParam = {};
  1025. oParam.id = "TRRAC00611";
  1026. oParam.service = "acntbaseinfoapp.AcntBaseInfo";
  1027. oParam.method = "reqGetIncmPsn";
  1028. oParam.inds = "req=ds_send_rertparams2";
  1029. oParam.outds = "ds_hidden_incmpsn=incmpsn";
  1030. oParam.async = false;
  1031. oParam.callback = "cf_TRRAC00611";
  1032. tranf_submit(oParam);
  1033. fRetrieve();
  1034. }
  1035. }
  1036. function cf_TRRAC00611(sSvcId, nErrorCode, sErrorMsg)
  1037. {
  1038. if(nErrorCode < 0)
  1039. {
  1040. return;
  1041. }
  1042. else
  1043. {
  1044. dsf_setFixVal(ds_hidden_incmpsn, "status:-");
  1045. if(ds_hidden_incmpsn.rowcount > 0)
  1046. {
  1047. ds_send_retrparams.setColumn(0, "name", ds_hidden_incmpsn.getColumn(0, "name"));
  1048. ds_send_retrparams.setColumn(0, "rrgstno", ds_hidden_incmpsn.getColumn(0, "rrgstno"));
  1049. }
  1050. else
  1051. {
  1052. ds_send_retrparams.setColumn(0, "name", "");
  1053. ds_send_retrparams.setColumn(0, "rrgstno", "");
  1054. }
  1055. }
  1056. }
  1057. function grp_sea_ipt_name_onkeydown(obj:Edit, e:KeyEventInfo)
  1058. {
  1059. if(e.keycode == 13)
  1060. {
  1061. obj.updateToDataset();
  1062. grp_sea.btn_search.setFocus();
  1063. }
  1064. }
  1065. function grp_sea_btn_search_onclick(obj:Button, e:ClickEventInfo)
  1066. {
  1067. fRetrieve();
  1068. }
  1069. function btn_close_onclick(obj:Button, e:ClickEventInfo)
  1070. {
  1071. this.close();
  1072. }
  1073. function btn_print_onclick(obj:Button, e:ClickEventInfo)
  1074. {
  1075. var flag = true;
  1076. var orchCnt = ds_main_list_orchlist.rowcount;
  1077. for( var i = 0; i < orchCnt ; i++ )
  1078. {
  1079. if(ds_main_list_orchlist.getColumn(0, "name") != ds_main_list_orchlist.getColumn(i, "name"))
  1080. {
  1081. flag = false;
  1082. }
  1083. }
  1084. if( flag == true )
  1085. {
  1086. fPrint();
  1087. }
  1088. else
  1089. {
  1090. sysf_messageBox("소득자 기준으로 조회해야 출력 가능합니다. 소득자를 조회해주십시오.", "E000", "");
  1091. }
  1092. }
  1093. function fPrint()
  1094. {
  1095. var iLength = ds_main_list_prtorchlist.rowcount;
  1096. ds_hidden_prntlist_dayworkerprntlist.clearData();
  1097. ds_hidden_prntlist.clearData();
  1098. if(grdf_getSelectedRows(grd_orchlist).length > 0)
  1099. {
  1100. for(var a = 0 ; a < grdf_getSelectedRows(grd_orchlist).length; a++ )
  1101. {
  1102. var addRow = ds_hidden_prntlist_dayworkerprntlist.addRow();
  1103. ds_hidden_prntlist_dayworkerprntlist.copyRow(addRow, ds_main_list_orchlist, a);
  1104. }
  1105. }
  1106. else
  1107. {
  1108. for(var i = 0; i < iLength; i++)
  1109. {
  1110. var addRow = ds_hidden_prntlist_dayworkerprntlist.addRow();
  1111. ds_hidden_prntlist_dayworkerprntlist.copyRow(addRow, ds_main_list_prtorchlist, i);
  1112. }
  1113. }
  1114. dsf_makeValue(ds_hidden_prntlist, "prtflag", "string", "1", 0);
  1115. var objDOM = rptf_createDOM();
  1116. rptf_setNodeListToDOM(objDOM, "/root/hidden/prntlist/dayworkerprntlist", ds_hidden_prntlist_dayworkerprntlist);
  1117. rptf_setNodeListToDOM(objDOM, "/root/hidden/prntlist", ds_hidden_prntlist);
  1118. var objParam = new Object();
  1119. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1120. var option = "";
  1121. rptf_exeReportPreview30(["RPRAD00215"],[objParam], option);
  1122. dsf_makeValue(ds_hidden_prntlist, "prtflag", "string", "2", 0);
  1123. var objDOM = rptf_createDOM();
  1124. rptf_setNodeListToDOM(objDOM, "/root/hidden/prntlist/dayworkerprntlist", ds_hidden_prntlist_dayworkerprntlist);
  1125. rptf_setNodeListToDOM(objDOM, "/root/hidden/prntlist", ds_hidden_prntlist);
  1126. var objParam = new Object();
  1127. objParam.xml_data_XML1 = objDOM.documentElement.source;
  1128. var option = "";
  1129. rptf_exeReportPreview30(["RPRAD00215"],[objParam], option);
  1130. }
  1131. function btn_save_onclick(obj:Button, e:ClickEventInfo)
  1132. {
  1133. fSave();
  1134. }
  1135. function fSave()
  1136. {
  1137. for(var i = 0; i < ds_main_list_orchlist.rowcount; i++)
  1138. {
  1139. var sRrgstno = ds_main_list_orchlist.getColumn(i, "rrgstno");
  1140. var sPosYear = ds_main_list_orchlist.getColumn(i, "getdd");
  1141. var sCmt = ds_main_list_orchlist.getColumn(i, "cmt");
  1142. var sDayno = ds_main_list_orchlist.getColumn(i, "dayno");
  1143. var sDypay = ds_main_list_orchlist.getColumn(i, "dypay");
  1144. var sPaytotamt = ds_main_list_orchlist.getColumn(i, "paytotamt");
  1145. var sPumno = ds_main_list_orchlist.getColumn(i, "pumno");
  1146. if(utlf_isNull(sRrgstno))
  1147. {
  1148. sysf_messageBox("소득자를", "C001");
  1149. return;
  1150. }
  1151. if(!utlf_isValidDateTime(sPosYear, "YYYYMM"))
  1152. {
  1153. sysf_messageBox("귀속 일자가 유효하지 않습니다.", "I000");
  1154. return;
  1155. }
  1156. if(utlf_isNull(sDayno))
  1157. {
  1158. sysf_messageBox("지급일수를", "C001");
  1159. return;
  1160. }
  1161. if(utlf_isNull(sDypay))
  1162. {
  1163. sysf_messageBox("일급을", "C001");
  1164. return;
  1165. }
  1166. if(utlf_isNull(sPaytotamt) || sPaytotamt == "0")
  1167. {
  1168. sysf_messageBox("지급액을", "C001");
  1169. return;
  1170. }
  1171. if(String(sPumno).length != 12)
  1172. {
  1173. if(ds_main_list_orchlist.getRowType(i) == 2 && ds_main_list_orchlist.getRowType(i) == 4)
  1174. {
  1175. sysf_messageBox("품의번호를 12자리 형태 ( 예 : 20150203-0017 ) 로" , "C001");
  1176. return;
  1177. }
  1178. }
  1179. }
  1180. var oParam = {};
  1181. oParam.id = "TXRAT00601";
  1182. oParam.service = "addtaxapp.Addtax";
  1183. oParam.method = "reqExeSaveOrchList";
  1184. oParam.inds = "req=ds_main_list_orchlist:u";
  1185. oParam.outds = "";
  1186. oParam.async = false;
  1187. //oParam.callback = "cf_TXRAT00601";
  1188. tranf_submit(oParam);
  1189. fRetrieve();
  1190. }
  1191. function btn_openpsn_onclick(obj:Button, e:ClickEventInfo)
  1192. {
  1193. var objArg = new Object();
  1194. objArg.arg_ds_target = ds_hidden_incmpsntemp;
  1195. frmf_modal("SPRAC00611", "SPRAC00611", objArg, "", "", "", "", "", "", "", "", "", "M");
  1196. }
  1197. function btn_addrow_onclick(obj:Button, e:ClickEventInfo)
  1198. {
  1199. var addRow = ds_main_list_orchlist.addRow();
  1200. var dayno = utlf_getCurrentDate();
  1201. ds_main_list_orchlist.setColumn(addRow, "chrgflag", "A");
  1202. ds_main_list_orchlist.setColumn(addRow, "taxrate", "6");
  1203. ds_main_list_orchlist.setColumn(addRow, "paydd", dayno);
  1204. ds_main_list_orchlist.setColumn(addRow, "getdd", String(dayno).substr(0,6));
  1205. dsf_makeValue(ds_main_list_orchlist, "Popflag", "string", gPopflag, 0);
  1206. if (!utlf_isNull(gPopflag))
  1207. {
  1208. ds_main_list_orchlist.setColumn(addRow, "pumno", ds_pop6data.getColumn(0, "pumno"));
  1209. }
  1210. }
  1211. function btn_delrow_onclick(obj:Button, e:ClickEventInfo)
  1212. {
  1213. var iLength = grdf_getSelectedRows(grd_orchlist).length;
  1214. for(var i = 0; i < iLength; i++)
  1215. {
  1216. var iRowIdx = iLength[i];
  1217. if(ds_main_list_orchlist.getColumn(iRowIdx, "chkyn") == "Y")
  1218. {
  1219. sysf_messageBox(" 확인(체크)된 원천징수내역은 수정불가합니다.", "E999", "");
  1220. return;
  1221. }
  1222. if(ds_main_list_orchlist.getColumn(iRowIdx, "slipyn") != "Y")
  1223. {
  1224. if(ds_main_list_orchlist.getRowType(iRowIdx) == 8)
  1225. {
  1226. ds_main_list_orchlist.updatecontrol = false;
  1227. ds_main_list_orchlist.setRowType(iRowIdx, "");
  1228. ds_main_list_orchlist.updatecontrol = true;
  1229. }
  1230. else if(ds_main_list_orchlist.getRowType(iRowIdx) == 2)
  1231. {
  1232. ds_main_list_orchlist.deleteRow(ds_main_list_orchlist.rowposition);
  1233. }
  1234. else
  1235. {
  1236. ds_main_list_orchlist.updatecontrol = false;
  1237. ds_main_list_orchlist.setRowType(iRowIdx, "d");
  1238. ds_main_list_orchlist.updatecontrol = true;
  1239. }
  1240. }
  1241. }
  1242. }
  1243. function btn_excel_onclick(obj:Button, e:ClickEventInfo)
  1244. {
  1245. var sTitle = "일용근로소득 " + utlf_transEmptyToNull(String(ds_send_retrparams.getColumn(0, "frdd")).substr(2, 2)) + "-" + utlf_transEmptyToNull(String(ds_send_retrparams.getColumn(0, "todd")).substr(4, 2)) + utlf_transEmptyToNull(String(ds_send_retrparams.getColumn(0, "todd")).substr(6, 2));
  1246. grdf_exportExcel(grd_excel, sTitle, "see", "false");
  1247. }
  1248. function grd_orchlist_onexpanddown(obj:Grid, e:GridMouseEventInfo)
  1249. {
  1250. ds_hidden_incmpsn.clearData();
  1251. ds_hidden_incmpsn.copyData(ds_hidden_incmpsntemp);
  1252. misfOpenPopUpList("31", ds_hidden_zipcd, "", "rrgstno,name,entrregno,custnm,zipcd,zipcd1,zipcd2,zipcdseqno,supaddr,infaddr,cntctel,emailaddr,cmt,ionatiflag,incmflag", "");
  1253. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "name", ds_hidden_incmpsn.getColumn(0, "name"));
  1254. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "rrgstno", ds_hidden_incmpsn.getColumn(0, "rrgstno"));
  1255. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "posyear", utlf_getCurrentDate());
  1256. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "zipcd", (utlf_isNull(ds_hidden_incmpsn.getColumn(0, "zipcd1")) ? "" : ds_hidden_incmpsn.getColumn(0, "zipcd1")+ "-" + ds_hidden_incmpsn.getColumn(0, "zipcd1")));
  1257. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "zipcd1", ds_hidden_incmpsn.getColumn(0, "zipcd1"));
  1258. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "zipcd2", ds_hidden_incmpsn.getColumn(0, "zipcd2"));
  1259. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "zipcdseqno", ds_hidden_incmpsn.getColumn(0, "zipcdseqno"));
  1260. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "supaddr", ds_hidden_incmpsn.getColumn(0, "supaddr"));
  1261. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "infaddr", ds_hidden_incmpsn.getColumn(0, "infaddr"));
  1262. }
  1263. function ds_main_list_orchlist_oncolumnchanged(obj:Dataset, e:DSColChangeEventInfo)
  1264. {
  1265. if(e.columnid == "name" || e.columnid == "rrgstno")
  1266. {
  1267. ds_send_rertparams2.setColumn(0, "instcd", ds_send_retrparams.getColumn(0, "instcd"));
  1268. if(e.columnid == "name")
  1269. {
  1270. ds_send_rertparams2.setColumn(0, "name", e.newvalue);
  1271. ds_send_rertparams2.setColumn(0, "rrgstno", "");
  1272. ds_send_rertparams2.setColumn(0, "retrflag", "name");
  1273. }
  1274. else if(e.columnid == "rrgstno")
  1275. {
  1276. ds_send_rertparams2.setColumn(0, "name", "");
  1277. ds_send_rertparams2.setColumn(0, "rrgstno", e.newvalue);
  1278. ds_send_rertparams2.setColumn(0, "retrflag", "code");
  1279. }
  1280. var oParam = {};
  1281. oParam.id = "TRRAC00611";
  1282. oParam.service = "acntbaseinfoapp.AcntBaseInfo";
  1283. oParam.method = "reqGetIncmPsn";
  1284. oParam.inds = "req=ds_send_rertparams2";
  1285. oParam.outds = "ds_hidden_incmpsn=incmpsn";
  1286. oParam.async = false;
  1287. oParam.callback = "cf_TRRAC00611_1";
  1288. tranf_submit(oParam);
  1289. }
  1290. else if(e.columnid == "dayno" || e.columnid == "dypay")
  1291. {
  1292. fPayCalc();
  1293. }
  1294. else if(e.columnid == "incmtax" || e.columnid == "resdntax")
  1295. {
  1296. var iIncmTax = "";
  1297. var iResdnTax = "";
  1298. if(e.columnid == "incmtax")
  1299. {
  1300. iIncmTax = parseInt(utlf_isNull(e.newvalue) ? 0 : e.newvalue, 10);
  1301. }
  1302. if(e.columnid == "resdntax")
  1303. {
  1304. iResdnTax = parseInt(utlf_isNull(e.newvalue) ? 0 : e.newvalue, 10);
  1305. }
  1306. obj.setColumn(e.row, "sumamt", iIncmTax + iResdnTax);
  1307. }
  1308. }
  1309. function cf_TRRAC00611_1(sSvcId, nErrorCode, sErrorMsg)
  1310. {
  1311. if(nErrorCode < 0)
  1312. {
  1313. return;
  1314. }
  1315. else
  1316. {
  1317. if(ds_hidden_incmpsn.rowcount < 1)
  1318. {
  1319. alert("등록된 소득자가 없습니다.");
  1320. }
  1321. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "name", ds_hidden_incmpsn.getColumn(0, "name"));
  1322. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "rrgstno", ds_hidden_incmpsn.getColumn(0, "rrgstno"));
  1323. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "posyear", utlf_getCurrentDate());
  1324. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "zipcd", (utlf_isNull(ds_hidden_incmpsn.getColumn(0, "zipcd1")) ? "" : ds_hidden_incmpsn.getColumn(0, "zipcd1")+ "-" + ds_hidden_incmpsn.getColumn(0, "zipcd1")));
  1325. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "zipcd1", ds_hidden_incmpsn.getColumn(0, "zipcd1"));
  1326. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "zipcd2", ds_hidden_incmpsn.getColumn(0, "zipcd2"));
  1327. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "zipcdseqno", ds_hidden_incmpsn.getColumn(0, "zipcdseqno"));
  1328. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "supaddr", ds_hidden_incmpsn.getColumn(0, "supaddr"));
  1329. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "infaddr", ds_hidden_incmpsn.getColumn(0, "infaddr"));
  1330. }
  1331. }
  1332. function fPayCalc()
  1333. {
  1334. var dayno = parseFloat(ds_main_list_orchlist.getColumn(ds_main_list_orchlist.rowposition, "dayno"));
  1335. var dypay = parseFloat(ds_main_list_orchlist.getColumn(ds_main_list_orchlist.rowposition, "dypay"));
  1336. var weight = 0;
  1337. if(dypay >= 0)
  1338. {
  1339. weight = 100000;
  1340. }
  1341. else
  1342. {
  1343. weight = -100000;
  1344. }
  1345. if (dayno != 0 && dypay != 0)
  1346. {
  1347. var taxpay = (dypay > 100000 || dypay < -100000) ? parseFloat((dypay * dayno) - (weight * dayno)) : 0;
  1348. var nontaxpay = parseFloat((dypay * dayno) - taxpay);
  1349. var caltax = parseFloat(taxpay * 0.06);
  1350. var taxgj = parseFloat(caltax * 0.55);
  1351. var incmtax = parseInt((caltax - taxgj) / 10, 10) * 10;
  1352. var resdntax = parseInt((incmtax * 0.1) / 10, 10) * 10;
  1353. if (incmtax < 1000 && incmtax > -1000)
  1354. {
  1355. incmtax = 0;
  1356. resdntax = 0;
  1357. }
  1358. var realpay = parseInt(dayno * dypay, 10) - ( incmtax + resdntax );
  1359. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "paytotamt", parseInt(dayno * dypay, 10));
  1360. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "incmtax", parseInt(incmtax, 10));
  1361. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "resdntax", parseInt(resdntax, 10));
  1362. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "taxpay", parseInt(taxpay, 10));
  1363. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "caltax", parseInt(caltax, 10));
  1364. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "taxgj", parseInt(taxgj, 10));
  1365. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "realpay", parseInt(realpay, 10));
  1366. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "nontaxpay", parseInt(nontaxpay, 10));
  1367. ds_main_list_orchlist.setColumn(ds_main_list_orchlist.rowposition, "sumamt", parseInt(incmtax + resdntax, 10));
  1368. }
  1369. }
  1370. function grp_sea_btn_entregnohelp_onclick(obj:Button, e:ClickEventInfo)
  1371. {
  1372. misfOpenPopUpList("31", ds_send_retrparams, "", "rrgstno,name");
  1373. }
  1374. ]]></Script>
  1375. </Form>
  1376. </FDL>