12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020 |
- <?xml version="1.0" encoding="utf-8"?>
- <FDL version="1.5">
- <TypeDefinition url="..\..\..\default_typedef.xml"/>
- <Form id="SMADT12008" classname="SMADT12000_통합마약조회" inheritanceid="" position="absolute 0 0 1179 880" titletext="New Form" onkeyup="SMADT12000_onkeyup" oninit="SMADT12008_oninit" onload="SMADT12008_onload">
- <Layouts>
- <Layout>
- <Shape id="line00" class="line_10" position="absolute 0 305 1178 311"/>
- <Static id="caption6" text=" 통합 마약 관리 일반" class="tit_1" position="absolute 0 0 160 25" onclick="caption6_onclick"/>
- <Static id="caption00" text="처방정보" class="tit_2" position="absolute 0 33 82 54"/>
- <Static id="caption01" text="조제 재고 정보" class="tit_2" position="absolute 0 289 138 310"/>
- <Shape id="line01" class="line_10" position="absolute 0 49 1178 55"/>
- <Grid id="grd_narclist00" class="grd_orderlist" taborder="21" binddataset="ds_adnmstoclist" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" position="absolute 610 261 744 328" visible="false">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="77" band="left"/>
- <Column size="67" band="left"/>
- <Column size="123" band="left"/>
- <Column size="34" band="left"/>
- <Column size="24" band="left"/>
- <Column size="70" band="left"/>
- <Column size="109"/>
- <Column size="69"/>
- <Column size="28"/>
- <Column size="13"/>
- <Column size="36"/>
- <Column size="29"/>
- <Column size="35"/>
- <Column size="31"/>
- <Column size="40"/>
- <Column size="28"/>
- <Column size="40"/>
- <Column size="29"/>
- <Column size="54"/>
- <Column size="32"/>
- <Column size="69"/>
- <Column size="28"/>
- <Column size="29"/>
- <Column size="32"/>
- <Column size="35"/>
- <Column size="8"/>
- <Column size="70"/>
- <Column size="8"/>
- <Column size="70"/>
- <Column size="8"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="7"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="7"/>
- <Column size="85"/>
- <Column size="7"/>
- <Column size="85"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell text="처방 코드" wordwrap="char"/>
- <Cell col="1" text="입고구분" wordwrap="char"/>
- <Cell col="2" text="제품번호" wordwrap="char"/>
- <Cell col="3" colspan="2" taborder="undefined">
- <Cell/>
- <Cell col="1"/>
- </Cell>
- <Cell col="5" text="유효기간" wordwrap="char"/>
- <Cell col="6" text="제조번호" wordwrap="char"/>
- <Cell col="7" text="일련번호" wordwrap="char"/>
- <Cell col="8" colspan="2" text="seq" wordwrap="char" taborder="undefined"/>
- <Cell col="10" colspan="2" text="바코드_RFID" wordwrap="char" taborder="undefined"/>
- <Cell col="12" colspan="2" text="저장소_NO" wordwrap="char" taborder="undefined"/>
- <Cell col="14" colspan="2" text="유통수량" wordwrap="char" taborder="undefined"/>
- <Cell col="16" colspan="2" text="낱개수량" wordwrap="char" taborder="undefined"/>
- <Cell col="18" text="입고수량" wordwrap="char"/>
- <Cell col="19" colspan="2" text="입고일자" wordwrap="char" taborder="undefined"/>
- <Cell col="21" colspan="2" text="반환횟수" wordwrap="char" taborder="undefined"/>
- <Cell col="23" colspan="2" text="반환수량" wordwrap="char" taborder="undefined"/>
- <Cell col="25" style="align:left;padding:0 0 0 8;" text="불출신청일자" wordwrap="char"/>
- <Cell col="26" text="불출 신청자" wordwrap="char"/>
- <Cell col="27" style="align:left;padding:0 0 0 8;" text="조제일시" wordwrap="char"/>
- <Cell col="28" text="조제 약사" wordwrap="char"/>
- <Cell col="29" style="align:left;padding:0 0 0 8;" text="투약일시" wordwrap="char"/>
- <Cell col="30" text="투약 약사" wordwrap="char"/>
- <Cell col="31" text="수령일시" wordwrap="char"/>
- <Cell col="32" text="수령 담당자" wordwrap="char"/>
- <Cell col="33" style="align:left;padding:0 0 0 8;" text="병동수령일시" wordwrap="char"/>
- <Cell col="34" text="부서확인 간호사" wordwrap="char"/>
- <Cell col="35" style="align:left;padding:0 0 0 8;" text="간호투약일시" wordwrap="char"/>
- <Cell col="36" text="간호투약 간호사" wordwrap="char"/>
- <Cell col="37" style="align:left;padding:0 0 0 8;" text="반환신청일시" wordwrap="char"/>
- <Cell col="38" text="반환신청 간호사" wordwrap="char"/>
- <Cell col="39" text="반환일시" wordwrap="char"/>
- <Cell col="40" text="반환 담당자" wordwrap="char"/>
- <Cell col="41" style="align:left;padding:0 0 0 8;" text="반환확인일시" wordwrap="char"/>
- <Cell col="42" text="반환확인 약사" wordwrap="char"/>
- <Cell col="43" text="반환사유" wordwrap="char"/>
- <Cell col="44" style="align:left;padding:0 0 0 8;" text="잔량반납 신청일시" wordwrap="char"/>
- <Cell col="45" text="잔량반납신청 간호사" wordwrap="char"/>
- <Cell col="46" style="align:left;padding:0 0 0 8;" text="잔량반납 확인일시" wordwrap="char"/>
- <Cell col="47" text="잔량반납확인 약사" wordwrap="char"/>
- <Cell col="48" text="prcpno"/>
- <Cell col="49" text="prcphistno"/>
- <Cell col="50" text="drugdd"/>
- <Cell col="51" text="drugno"/>
- <Cell col="52" text="ioflag"/>
- <Cell col="53" text="instcd"/>
- <Cell col="54" text="narcflag"/>
- <Cell col="55" text="prntflag"/>
- <Cell col="56" text="orddd"/>
- <Cell col="57" text="orddeptcd"/>
- <Cell col="58" text="prcpgenrflag"/>
- <Cell col="59" text="prntdt"/>
- <Cell col="60" text="caption1"/>
- <Cell col="61" text="반납반환 표시여부"/>
- <Cell col="62" text="투약기록 완료여부"/>
- <Cell col="63" text="간호 실시횟수"/>
- <Cell col="64" text="간호 반환횟수"/>
- <Cell col="65" text="투약x반환불가 횟수"/>
- <Cell col="66"/>
- <Cell col="67"/>
- </Band>
- <Band id="body">
- <Cell style="align:center top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="1" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:infg" wordwrap="char" mask="expr:utlf_isNull(prcpdd) || prcpdd=='-' ? '' : '####/##/##'" autosizerow="limitmin"/>
- <Cell col="2" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:gtin" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="3" text="bind:seq"/>
- <Cell col="4" text="bind:histno"/>
- <Cell col="5" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:prd_valid_de" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" displaytype="text" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:mnf_no" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" displaytype="text" style="align:left top;padding:4 2 1 2;background2:#f0f0f0ff;" text="bind:mnf_seq" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="8" colspan="2" style="background2:#f0f0f0ff;" text="bind:seq" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:seq"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit"/>
- </Cell>
- <Cell col="10" colspan="2" style="background2:#f0f0f0ff;" text="bind:prd_sgtin" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:dayprcpqty"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:dayprcpqtyunit"/>
- </Cell>
- <Cell col="12" colspan="2" style="background2:#f0f0f0ff;" text="bind:storge_no" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prcpqty2"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit2"/>
- </Cell>
- <Cell col="14" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prd_min_distb_qy"/>
- <Cell col="15" style="background2:#f0f0f0ff;" text="bind:prd_min_distb_unit"/>
- <Cell col="16" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prd_tot_pce_qy"/>
- <Cell col="17" style="background2:#f0f0f0ff;" text="bind:prd_pce_unit"/>
- <Cell col="18" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:in_pce_qy"/>
- <Cell col="19" colspan="2" style="background2:#f0f0f0ff;" text="bind:indd" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:spreqty"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpvolunit"/>
- </Cell>
- <Cell col="21" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:rtnqty" mask="99999999999"/>
- <Cell col="22" style="background2:#f0f0f0ff;" text="bind:rtnunit"/>
- <Cell col="23" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:returnqty"/>
- <Cell col="24" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit"/>
- <Cell col="25" style="background2:#f0f0f0ff;" text="bind:reqdt" mask="expr:utlf_isNull(reqdt) || reqdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="26" style="background2:#f0f0f0ff;" text="bind:reqidnm"/>
- <Cell col="27" style="background2:#f0f0f0ff;" text="bind:prcpdt" mask="expr:utlf_isNull(prcpdt) || prcpdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="28" style="background2:#f0f0f0ff;" text="bind:prcpidnm"/>
- <Cell col="29" style="background2:#f0f0f0ff;" text="bind:drugdt" mask="expr:utlf_isNull(drugdt) || drugdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="30" style="background2:#f0f0f0ff;" text="bind:drugidnm"/>
- <Cell col="31" style="background2:#f0f0f0ff;" text="bind:delivedt" mask="expr:utlf_isNull(delivedt) || delivedt=='-' ? '' : '####/##/##'"/>
- <Cell col="32" style="background2:#f0f0f0ff;" text="bind:deliveidnm"/>
- <Cell col="33" style="background2:#f0f0f0ff;" text="bind:acptdt" mask="expr:utlf_isNull(acptdt) || acptdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="34" style="background2:#f0f0f0ff;" text="bind:acptidnm"/>
- <Cell col="35" style="background2:#f0f0f0ff;" text="bind:nrexecdt" mask="expr:utlf_isNull(nrexecdt) || nrexecdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="36" style="background2:#f0f0f0ff;" text="bind:nrexecridnm"/>
- <Cell col="37" style="background2:#f0f0f0ff;" text="bind:rtnappdt" mask="expr:utlf_isNull(rtnappdt) || rtnappdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="38" style="background2:#f0f0f0ff;" text="bind:rtnappidnm"/>
- <Cell col="39" style="background2:#f0f0f0ff;" text="bind:rtndt" mask="expr:utlf_isNull(rtndt) || rtndt=='-' ? '' : '####/##/##''"/>
- <Cell col="40" style="background2:#f0f0f0ff;" text="bind:rtnidnm"/>
- <Cell col="41" style="background2:#f0f0f0ff;" text="bind:rtncnfmdt" mask="expr:utlf_isNull(rtncnfmdt) || rtncnfmdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="42" style="background2:#f0f0f0ff;" text="bind:rtncnfmidnm"/>
- <Cell col="43" displaytype="text" style="background2:#f0f0f0ff;" text="bind:rtnresn"/>
- <Cell col="44" style="background2:#f0f0f0ff;" text="bind:spredt" mask="expr:utlf_isNull(spredt) || spredt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="45" style="background2:#f0f0f0ff;" text="bind:spreidnm"/>
- <Cell col="46" style="background2:#f0f0f0ff;" text="bind:sprecnfmdt" mask="expr:utlf_isNull(sprecnfmdt) || sprecnfmdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="47" style="background2:#f0f0f0ff;" text="bind:sprecnfmidnm"/>
- <Cell col="48" text="bind:prcpno"/>
- <Cell col="49" text="bind:prcphistno"/>
- <Cell col="50" text="bind:drugdd"/>
- <Cell col="51" text="bind:drugno"/>
- <Cell col="52" text="bind:ioflag"/>
- <Cell col="53" text="bind:instcd"/>
- <Cell col="54" text="bind:narcflag"/>
- <Cell col="55" text="bind:prntflag"/>
- <Cell col="56" text="bind:orddd"/>
- <Cell col="57" text="bind:orddeptcd"/>
- <Cell col="58" text="bind:prcpgenrflag"/>
- <Cell col="59" text="bind:prntdt"/>
- <Cell col="60" text="bind:presqty2"/>
- <Cell col="61" text="bind:statvisible"/>
- <Cell col="62" text="bind:medrendyn"/>
- <Cell col="63" text="bind:medrqty"/>
- <Cell col="64" text="bind:medrtims"/>
- <Cell col="65" text="bind:medrx"/>
- <Cell col="66" text="bind:drugseqno"/>
- <Cell col="67"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_narclist01" class="grd_orderlist" taborder="22" binddataset="ds_adnmstocorder" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" position="absolute 0 310 1178 879" onheadclick="grd_narclist01_onheadclick">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27" band="left"/>
- <Column size="20" band="left"/>
- <Column size="58" band="left"/>
- <Column size="60" band="left"/>
- <Column size="54" band="left"/>
- <Column size="80" band="left"/>
- <Column size="99" band="left"/>
- <Column size="125" band="left"/>
- <Column size="66" band="left"/>
- <Column size="136"/>
- <Column size="120"/>
- <Column size="30"/>
- <Column size="19"/>
- <Column size="49"/>
- <Column size="73"/>
- <Column size="69"/>
- <Column size="68"/>
- <Column size="16"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:flag"/>
- <Cell col="2" text=" 등록번호"/>
- <Cell col="3" text="환자명"/>
- <Cell col="4" text="투약번호"/>
- <Cell col="5" text="처방 코드" wordwrap="char"/>
- <Cell col="6" text="LabelNo"/>
- <Cell col="7" text="제품번호" wordwrap="char"/>
- <Cell col="8" text="유효기간" wordwrap="char"/>
- <Cell col="9" text="제조번호" wordwrap="char"/>
- <Cell col="10" text="일련번호" wordwrap="char"/>
- <Cell col="11" colspan="2" text="seq" taborder="undefined">
- <Cell text="seq" wordwrap="char" taborder="undefined"/>
- <Cell col="1"/>
- </Cell>
- <Cell col="13" text="잔량"/>
- <Cell col="14" text="불출일자"/>
- <Cell col="15" text="반환일자"/>
- <Cell col="16" text="잔량일자"/>
- <Cell col="17"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox" text="bind:flag" expr="expr:(flag == 'Y' || flag == '1') ? '1' : '0'"/>
- <Cell col="2" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:pid"/>
- <Cell col="3" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:pat_nm"/>
- <Cell col="4" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:drugno"/>
- <Cell col="5" style="align:center top;padding:4 2 3 2;background:EXPR(seq == '1' ? 'yellow' : '');background2:EXPR(seq == '1' ? 'yellow' : '');" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" style="background:EXPR(seq == '1' ? 'yellow' : '');background2:EXPR(seq == '1' ? 'yellow' : '');" text="bind:labelno" mask="@@@@-@@-@@ @@@"/>
- <Cell col="7" style="align:left top;padding:4 2 3 2;background:EXPR(seq == '1' ? 'yellow' : '');background2:EXPR(seq == '1' ? 'yellow' : '');" text="bind:gtin" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="8" style="align:center;padding:4 2 3 2;background:EXPR(seq == '1' ? 'yellow' : '');background2:EXPR(seq == '1' ? 'yellow' : '');" text="bind:prd_valid_de" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="9" displaytype="text" style="align:left top;padding:4 2 3 2;background:EXPR(seq == '1' ? 'yellow' : '');background2:EXPR(seq == '1' ? 'yellow' : '');" text="bind:mnf_no" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="10" displaytype="text" style="align:left top;padding:4 2 1 2;background:EXPR(seq == '1' ? 'yellow' : '');background2:EXPR(seq == '1' ? 'yellow' : '');" text="bind:mnf_seq" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="11" style="background:EXPR(seq == '1' ? 'yellow' : '');background2:EXPR(seq == '1' ? 'yellow' : '');" text="bind:seq" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:seq"/>
- </Cell>
- <Cell col="12" style="background:EXPR(EXPR( seq == '1' ? 'yellow' : ''));background2:EXPR(EXPR( seq == '1' ? 'yellow' : ''));" text="bind:histno"/>
- <Cell col="13" text="bind:spreqy"/>
- <Cell col="14" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:outdd"/>
- <Cell col="15" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:rtndd"/>
- <Cell col="16" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:spredd"/>
- <Cell col="17" text="bind:infg"/>
- </Band>
- </Format>
- <Format id="format_copy"/>
- <Format id="format_copy_2"/>
- </Formats>
- </Grid>
- <Button id="but_ok" taborder="23" text="불출승인" position="absolute 1092 283 1178 305" class="btn3" onclick="but_ok_onclick" onkeyup="but_ok_onkeyup"/>
- <Button id="Button00" taborder="24" text="화면닫기" position="absolute 1098 27 1178 49" onclick="Button00_onclick" class="btn4"/>
- <Grid id="grd_narclist02" class="grd_orderlist" taborder="25" binddataset="ds_main_narclist_narclist" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" position="absolute 0 54 1178 281" anchor="all">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="30" band="left"/>
- <Column size="20" band="left"/>
- <Column size="26" band="left"/>
- <Column size="67" band="left"/>
- <Column size="44" band="left"/>
- <Column size="82" band="left"/>
- <Column size="36" band="left"/>
- <Column size="57" band="left"/>
- <Column size="46" band="left"/>
- <Column size="74"/>
- <Column size="151"/>
- <Column size="28"/>
- <Column size="30"/>
- <Column size="27"/>
- <Column size="30"/>
- <Column size="28"/>
- <Column size="31"/>
- <Column size="40"/>
- <Column size="31"/>
- <Column size="40"/>
- <Column size="31"/>
- <Column size="28"/>
- <Column size="39"/>
- <Column size="27"/>
- <Column size="28"/>
- <Column size="29"/>
- <Column size="32"/>
- <Column size="33"/>
- <Column size="8"/>
- <Column size="70"/>
- <Column size="8"/>
- <Column size="70"/>
- <Column size="8"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="7"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="7"/>
- <Column size="85"/>
- <Column size="7"/>
- <Column size="85"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="24"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" displaytype="checkbox" edittype="checkbox"/>
- <Cell col="2" text="처방 상태" wordwrap="char"/>
- <Cell col="3" text="처방일자" wordwrap="char"/>
- <Cell col="4" text="투약번호" wordwrap="char"/>
- <Cell col="5" text="수행부서" wordwrap="char"/>
- <Cell col="6" text="병실" wordwrap="char"/>
- <Cell col="7" text="환자번호" wordwrap="char"/>
- <Cell col="8" text="환자명" wordwrap="char"/>
- <Cell col="9" text="약품코드" wordwrap="char"/>
- <Cell col="10" text="약품명" wordwrap="char"/>
- <Cell col="11" colspan="2" text="총량" wordwrap="char" taborder="undefined"/>
- <Cell col="13" colspan="2" text="일수량" wordwrap="char" taborder="undefined"/>
- <Cell col="15" colspan="2" text="1회수량" wordwrap="char" taborder="undefined"/>
- <Cell col="17" colspan="2" text="일용량" wordwrap="char" taborder="undefined"/>
- <Cell col="19" colspan="2" text="1회용량" wordwrap="char" taborder="undefined"/>
- <Cell col="21" text="횟수" wordwrap="char"/>
- <Cell col="22" colspan="2" text="잔량" wordwrap="char" taborder="undefined"/>
- <Cell col="24" colspan="2" text="반환횟수" wordwrap="char" taborder="undefined"/>
- <Cell col="26" colspan="2" text="반환수량" wordwrap="char" taborder="undefined"/>
- <Cell col="28" style="align:left;padding:0 0 0 8;" text="불출신청일자" wordwrap="char"/>
- <Cell col="29" text="불출 신청자" wordwrap="char"/>
- <Cell col="30" style="align:left;padding:0 0 0 8;" text="조제일시" wordwrap="char"/>
- <Cell col="31" text="조제 약사" wordwrap="char"/>
- <Cell col="32" style="align:left;padding:0 0 0 8;" text="투약일시" wordwrap="char"/>
- <Cell col="33" text="투약 약사" wordwrap="char"/>
- <Cell col="34" text="수령일시" wordwrap="char"/>
- <Cell col="35" text="수령 담당자" wordwrap="char"/>
- <Cell col="36" style="align:left;padding:0 0 0 8;" text="병동수령일시" wordwrap="char"/>
- <Cell col="37" text="부서확인 간호사" wordwrap="char"/>
- <Cell col="38" style="align:left;padding:0 0 0 8;" text="간호투약일시" wordwrap="char"/>
- <Cell col="39" text="간호투약 간호사" wordwrap="char"/>
- <Cell col="40" style="align:left;padding:0 0 0 8;" text="반환신청일시" wordwrap="char"/>
- <Cell col="41" text="반환신청 간호사" wordwrap="char"/>
- <Cell col="42" text="반환일시" wordwrap="char"/>
- <Cell col="43" text="반환 담당자" wordwrap="char"/>
- <Cell col="44" style="align:left;padding:0 0 0 8;" text="반환확인일시" wordwrap="char"/>
- <Cell col="45" text="반환확인 약사" wordwrap="char"/>
- <Cell col="46" text="반환사유" wordwrap="char"/>
- <Cell col="47" style="align:left;padding:0 0 0 8;" text="잔량반납 신청일시" wordwrap="char"/>
- <Cell col="48" text="잔량반납신청 간호사" wordwrap="char"/>
- <Cell col="49" style="align:left;padding:0 0 0 8;" text="잔량반납 확인일시" wordwrap="char"/>
- <Cell col="50" text="잔량반납확인 약사" wordwrap="char"/>
- <Cell col="51" text="prcpno"/>
- <Cell col="52" text="prcphistno"/>
- <Cell col="53" text="drugdd"/>
- <Cell col="54" text="drugno"/>
- <Cell col="55" text="ioflag"/>
- <Cell col="56" text="instcd"/>
- <Cell col="57" text="narcflag"/>
- <Cell col="58" text="prntflag"/>
- <Cell col="59" text="orddd"/>
- <Cell col="60" text="orddeptcd"/>
- <Cell col="61" text="prcpgenrflag"/>
- <Cell col="62" text="prntdt"/>
- <Cell col="63" text="caption1"/>
- <Cell col="64" text="반납반환 표시여부"/>
- <Cell col="65" text="투약기록 완료여부"/>
- <Cell col="66" text="간호 실시횟수"/>
- <Cell col="67" text="간호 반환횟수"/>
- <Cell col="68" text="투약x반환불가 횟수"/>
- <Cell col="69"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow+1"/>
- <Cell col="1" displaytype="checkbox" edittype="expr:utlf_isNull(getColumn(currow, 'narcstat')) || getColumn(currow, 'narcstat') == '1' ? 'none' : 'checkbox'" style="background:EXPR(sel = 'Y' ? f0f0f0ff'' : '');background2:#f0f0f0ff;controlbackground:EXPR(utlf_isNull(getColumn(currow, 'narcstat')) || getColumn(currow, 'narcstat') == '1' ? 'silver' : '');controlborder:EXPR(utlf_isNull(getColumn(currow, 'narcstat')) || getColumn(currow, 'narcstat') == '1' ? '1 solid #708090cc' : ''));" text="bind:sel" expr="expr:(sel=="Y"||sel==1)?1:0"/>
- <Cell col="2" style="align:center top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcphistcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="3" style="align:left top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpdd" wordwrap="char" mask="expr:utlf_isNull(prcpdd) || prcpdd=='-' ? '' : '####/##/##'" autosizerow="limitmin"/>
- <Cell col="4" displaytype="text" style="align:center top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:drugno" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="5" style="align:left top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:issdeptcdnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" style="align:left top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:roomcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" style="align:left top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:pid" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="8" style="align:left top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:patnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="9" displaytype="text" style="align:left top;padding:4 2 3 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="10" displaytype="text" style="align:left top;padding:4 2 1 2;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:drugnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="11" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:totdrugqty"/>
- <Cell col="12" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpqtyunit"/>
- <Cell col="13" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:dayprcpqty"/>
- <Cell col="14" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:dayprcpqtyunit"/>
- <Cell col="15" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpqty2"/>
- <Cell col="16" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpqtyunit2"/>
- <Cell col="17" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpvol"/>
- <Cell col="18" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpvolunit"/>
- <Cell col="19" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpvol2"/>
- <Cell col="20" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpvolunit2"/>
- <Cell col="21" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcptims"/>
- <Cell col="22" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:spreqty"/>
- <Cell col="23" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpvolunit"/>
- <Cell col="24" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:rtnqty" mask="99999999999"/>
- <Cell col="25" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:rtnunit"/>
- <Cell col="26" style="align:right;padding:0 2 0 0;background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:returnqty"/>
- <Cell col="27" style="background:EXPR(sel == 'Y' ? 'yellow' : '');background2:EXPR(sel == 'Y' ? 'yellow' : '');" text="bind:prcpqtyunit"/>
- <Cell col="28" style="background2:#f0f0f0ff;" text="bind:reqdt" mask="expr:utlf_isNull(reqdt) || reqdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="29" style="background2:#f0f0f0ff;" text="bind:reqidnm"/>
- <Cell col="30" style="background2:#f0f0f0ff;" text="bind:prcpdt" mask="expr:utlf_isNull(prcpdt) || prcpdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="31" style="background2:#f0f0f0ff;" text="bind:prcpidnm"/>
- <Cell col="32" style="background2:#f0f0f0ff;" text="bind:drugdt" mask="expr:utlf_isNull(drugdt) || drugdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="33" style="background2:#f0f0f0ff;" text="bind:drugidnm"/>
- <Cell col="34" style="background2:#f0f0f0ff;" text="bind:delivedt" mask="expr:utlf_isNull(delivedt) || delivedt=='-' ? '' : '####/##/##'"/>
- <Cell col="35" style="background2:#f0f0f0ff;" text="bind:deliveidnm"/>
- <Cell col="36" style="background2:#f0f0f0ff;" text="bind:acptdt" mask="expr:utlf_isNull(acptdt) || acptdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="37" style="background2:#f0f0f0ff;" text="bind:acptidnm"/>
- <Cell col="38" style="background2:#f0f0f0ff;" text="bind:nrexecdt" mask="expr:utlf_isNull(nrexecdt) || nrexecdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="39" style="background2:#f0f0f0ff;" text="bind:nrexecridnm"/>
- <Cell col="40" style="background2:#f0f0f0ff;" text="bind:rtnappdt" mask="expr:utlf_isNull(rtnappdt) || rtnappdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="41" style="background2:#f0f0f0ff;" text="bind:rtnappidnm"/>
- <Cell col="42" style="background2:#f0f0f0ff;" text="bind:rtndt" mask="expr:utlf_isNull(rtndt) || rtndt=='-' ? '' : '####/##/##''"/>
- <Cell col="43" style="background2:#f0f0f0ff;" text="bind:rtnidnm"/>
- <Cell col="44" style="background2:#f0f0f0ff;" text="bind:rtncnfmdt" mask="expr:utlf_isNull(rtncnfmdt) || rtncnfmdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="45" style="background2:#f0f0f0ff;" text="bind:rtncnfmidnm"/>
- <Cell col="46" displaytype="text" style="background2:#f0f0f0ff;" text="bind:rtnresn"/>
- <Cell col="47" style="background2:#f0f0f0ff;" text="bind:spredt" mask="expr:utlf_isNull(spredt) || spredt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="48" style="background2:#f0f0f0ff;" text="bind:spreidnm"/>
- <Cell col="49" style="background2:#f0f0f0ff;" text="bind:sprecnfmdt" mask="expr:utlf_isNull(sprecnfmdt) || sprecnfmdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="50" style="background2:#f0f0f0ff;" text="bind:sprecnfmidnm"/>
- <Cell col="51" text="bind:prcpno"/>
- <Cell col="52" text="bind:prcphistno"/>
- <Cell col="53" text="bind:drugdd"/>
- <Cell col="54" text="bind:drugno"/>
- <Cell col="55" text="bind:ioflag"/>
- <Cell col="56" text="bind:instcd"/>
- <Cell col="57" text="bind:narcflag"/>
- <Cell col="58" text="bind:prntflag"/>
- <Cell col="59" text="bind:orddd"/>
- <Cell col="60" text="bind:orddeptcd"/>
- <Cell col="61" text="bind:prcpgenrflag"/>
- <Cell col="62" text="bind:prntdt"/>
- <Cell col="63" text="bind:presqty2"/>
- <Cell col="64" text="bind:statvisible"/>
- <Cell col="65" text="bind:medrendyn"/>
- <Cell col="66" text="bind:medrqty"/>
- <Cell col="67" text="bind:medrtims"/>
- <Cell col="68" text="bind:medrx"/>
- <Cell col="69" text="bind:drugseqno"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_narclist03" class="grd_sumlist" taborder="26" binddataset="ds_sumlist" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" position="absolute 918 692 1157 856">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="84" band="left"/>
- <Column size="43" band="left"/>
- <Column size="43"/>
- <Column size="43"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell text="처방코드"/>
- <Cell col="1" text="처방수"/>
- <Cell col="2" text="확인수"/>
- <Cell col="3" text="재고수"/>
- </Band>
- <Band id="body">
- <Cell style="align:left;" text="bind:code"/>
- <Cell col="1" text="bind:order"/>
- <Cell col="2" text="bind:outsum"/>
- <Cell col="3" text="bind:jaegosum"/>
- </Band>
- </Format>
- <Format id="format_copy"/>
- </Formats>
- </Grid>
- <Grid id="grd_narclist04" class="grd_orderlist" taborder="27" binddataset="ds_adnmstocordermachi" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" position="absolute 976 268 1069 309" visible="false">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27" band="left"/>
- <Column size="78" band="left"/>
- <Column size="94" band="left"/>
- <Column size="96" band="left"/>
- <Column size="69" band="left"/>
- <Column size="114"/>
- <Column size="108"/>
- <Column size="34"/>
- <Column size="26"/>
- <Column size="69"/>
- <Column size="45"/>
- <Column size="63"/>
- <Column size="51"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방 코드" wordwrap="char"/>
- <Cell col="2" text="LabelNo"/>
- <Cell col="3" text="제품번호" wordwrap="char"/>
- <Cell col="4" text="유효기간" wordwrap="char"/>
- <Cell col="5" text="제조번호" wordwrap="char"/>
- <Cell col="6" text="일련번호" wordwrap="char"/>
- <Cell col="7" colspan="2" text="seq" taborder="undefined">
- <Cell text="seq" wordwrap="char" taborder="undefined"/>
- <Cell col="1"/>
- </Cell>
- <Cell col="9" text="불출일자"/>
- <Cell col="10" text="저장소"/>
- <Cell col="11" text="둥록번호"/>
- <Cell col="12" text="투약번호"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" style="align:center top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="2" text="bind:labelno" mask="@@@@-@@-@@ @@@"/>
- <Cell col="3" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:gtin" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="4" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:prd_valid_de" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="5" displaytype="text" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:mnf_no" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" displaytype="text" style="align:left top;padding:4 2 1 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:mnf_seq" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:seq" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:seq"/>
- </Cell>
- <Cell col="8" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:histno"/>
- <Cell col="9" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:outdd"/>
- <Cell col="10" text="bind:storge_no"/>
- <Cell col="11" text="bind:pid"/>
- <Cell col="12" displaytype="text" edittype="text" text="bind:drugno"/>
- </Band>
- </Format>
- <Format id="format_copy"/>
- </Formats>
- </Grid>
- <Grid id="grd_narclist05" class="grd_orderlist" taborder="28" binddataset="ds_adnmstoclistmachi" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" visible="false" position="absolute 466 261 600 328">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="77" band="left"/>
- <Column size="67" band="left"/>
- <Column size="123" band="left"/>
- <Column size="34" band="left"/>
- <Column size="24" band="left"/>
- <Column size="70" band="left"/>
- <Column size="109"/>
- <Column size="69"/>
- <Column size="28"/>
- <Column size="13"/>
- <Column size="36"/>
- <Column size="29"/>
- <Column size="35"/>
- <Column size="31"/>
- <Column size="40"/>
- <Column size="28"/>
- <Column size="40"/>
- <Column size="29"/>
- <Column size="54"/>
- <Column size="32"/>
- <Column size="69"/>
- <Column size="28"/>
- <Column size="29"/>
- <Column size="32"/>
- <Column size="35"/>
- <Column size="8"/>
- <Column size="70"/>
- <Column size="8"/>
- <Column size="70"/>
- <Column size="8"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="9"/>
- <Column size="70"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="7"/>
- <Column size="70"/>
- <Column size="100"/>
- <Column size="7"/>
- <Column size="85"/>
- <Column size="7"/>
- <Column size="85"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="0"/>
- <Column size="40"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell text="처방 코드" wordwrap="char"/>
- <Cell col="1" text="입고구분" wordwrap="char"/>
- <Cell col="2" text="제품번호" wordwrap="char"/>
- <Cell col="3" colspan="2" taborder="undefined">
- <Cell/>
- <Cell col="1"/>
- </Cell>
- <Cell col="5" text="유효기간" wordwrap="char"/>
- <Cell col="6" text="제조번호" wordwrap="char"/>
- <Cell col="7" text="일련번호" wordwrap="char"/>
- <Cell col="8" colspan="2" text="seq" wordwrap="char" taborder="undefined"/>
- <Cell col="10" colspan="2" text="바코드_RFID" wordwrap="char" taborder="undefined"/>
- <Cell col="12" colspan="2" text="저장소_NO" wordwrap="char" taborder="undefined"/>
- <Cell col="14" colspan="2" text="유통수량" wordwrap="char" taborder="undefined"/>
- <Cell col="16" colspan="2" text="낱개수량" wordwrap="char" taborder="undefined"/>
- <Cell col="18" text="입고수량" wordwrap="char"/>
- <Cell col="19" colspan="2" text="입고일자" wordwrap="char" taborder="undefined"/>
- <Cell col="21" colspan="2" text="반환횟수" wordwrap="char" taborder="undefined"/>
- <Cell col="23" colspan="2" text="반환수량" wordwrap="char" taborder="undefined"/>
- <Cell col="25" style="align:left;padding:0 0 0 8;" text="불출신청일자" wordwrap="char"/>
- <Cell col="26" text="불출 신청자" wordwrap="char"/>
- <Cell col="27" style="align:left;padding:0 0 0 8;" text="조제일시" wordwrap="char"/>
- <Cell col="28" text="조제 약사" wordwrap="char"/>
- <Cell col="29" style="align:left;padding:0 0 0 8;" text="투약일시" wordwrap="char"/>
- <Cell col="30" text="투약 약사" wordwrap="char"/>
- <Cell col="31" text="수령일시" wordwrap="char"/>
- <Cell col="32" text="수령 담당자" wordwrap="char"/>
- <Cell col="33" style="align:left;padding:0 0 0 8;" text="병동수령일시" wordwrap="char"/>
- <Cell col="34" text="부서확인 간호사" wordwrap="char"/>
- <Cell col="35" style="align:left;padding:0 0 0 8;" text="간호투약일시" wordwrap="char"/>
- <Cell col="36" text="간호투약 간호사" wordwrap="char"/>
- <Cell col="37" style="align:left;padding:0 0 0 8;" text="반환신청일시" wordwrap="char"/>
- <Cell col="38" text="반환신청 간호사" wordwrap="char"/>
- <Cell col="39" text="반환일시" wordwrap="char"/>
- <Cell col="40" text="반환 담당자" wordwrap="char"/>
- <Cell col="41" style="align:left;padding:0 0 0 8;" text="반환확인일시" wordwrap="char"/>
- <Cell col="42" text="반환확인 약사" wordwrap="char"/>
- <Cell col="43" text="반환사유" wordwrap="char"/>
- <Cell col="44" style="align:left;padding:0 0 0 8;" text="잔량반납 신청일시" wordwrap="char"/>
- <Cell col="45" text="잔량반납신청 간호사" wordwrap="char"/>
- <Cell col="46" style="align:left;padding:0 0 0 8;" text="잔량반납 확인일시" wordwrap="char"/>
- <Cell col="47" text="잔량반납확인 약사" wordwrap="char"/>
- <Cell col="48" text="prcpno"/>
- <Cell col="49" text="prcphistno"/>
- <Cell col="50" text="drugdd"/>
- <Cell col="51" text="drugno"/>
- <Cell col="52" text="ioflag"/>
- <Cell col="53" text="instcd"/>
- <Cell col="54" text="narcflag"/>
- <Cell col="55" text="prntflag"/>
- <Cell col="56" text="orddd"/>
- <Cell col="57" text="orddeptcd"/>
- <Cell col="58" text="prcpgenrflag"/>
- <Cell col="59" text="prntdt"/>
- <Cell col="60" text="caption1"/>
- <Cell col="61" text="반납반환 표시여부"/>
- <Cell col="62" text="투약기록 완료여부"/>
- <Cell col="63" text="간호 실시횟수"/>
- <Cell col="64" text="간호 반환횟수"/>
- <Cell col="65" text="투약x반환불가 횟수"/>
- <Cell col="66"/>
- <Cell col="67"/>
- </Band>
- <Band id="body">
- <Cell style="align:center top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="1" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:infg" wordwrap="char" mask="expr:utlf_isNull(prcpdd) || prcpdd=='-' ? '' : '####/##/##'" autosizerow="limitmin"/>
- <Cell col="2" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:gtin" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="3" text="bind:seq"/>
- <Cell col="4" text="bind:histno"/>
- <Cell col="5" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:prd_valid_de" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" displaytype="text" style="align:left top;padding:4 2 3 2;background2:#f0f0f0ff;" text="bind:mnf_no" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" displaytype="text" style="align:left top;padding:4 2 1 2;background2:#f0f0f0ff;" text="bind:mnf_seq" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="8" colspan="2" style="background2:#f0f0f0ff;" text="bind:seq" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:seq"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit"/>
- </Cell>
- <Cell col="10" colspan="2" style="background2:#f0f0f0ff;" text="bind:prd_sgtin" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:dayprcpqty"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:dayprcpqtyunit"/>
- </Cell>
- <Cell col="12" colspan="2" style="background2:#f0f0f0ff;" text="bind:storge_no" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prcpqty2"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit2"/>
- </Cell>
- <Cell col="14" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prd_min_distb_qy"/>
- <Cell col="15" style="background2:#f0f0f0ff;" text="bind:prd_min_distb_unit"/>
- <Cell col="16" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:prd_tot_pce_qy"/>
- <Cell col="17" style="background2:#f0f0f0ff;" text="bind:prd_pce_unit"/>
- <Cell col="18" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:in_pce_qy"/>
- <Cell col="19" colspan="2" style="background2:#f0f0f0ff;" text="bind:indd" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:spreqty"/>
- <Cell col="1" style="background2:#f0f0f0ff;" text="bind:prcpvolunit"/>
- </Cell>
- <Cell col="21" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:rtnqty" mask="99999999999"/>
- <Cell col="22" style="background2:#f0f0f0ff;" text="bind:rtnunit"/>
- <Cell col="23" style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:returnqty"/>
- <Cell col="24" style="background2:#f0f0f0ff;" text="bind:prcpqtyunit"/>
- <Cell col="25" style="background2:#f0f0f0ff;" text="bind:reqdt" mask="expr:utlf_isNull(reqdt) || reqdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="26" style="background2:#f0f0f0ff;" text="bind:reqidnm"/>
- <Cell col="27" style="background2:#f0f0f0ff;" text="bind:prcpdt" mask="expr:utlf_isNull(prcpdt) || prcpdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="28" style="background2:#f0f0f0ff;" text="bind:prcpidnm"/>
- <Cell col="29" style="background2:#f0f0f0ff;" text="bind:drugdt" mask="expr:utlf_isNull(drugdt) || drugdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="30" style="background2:#f0f0f0ff;" text="bind:drugidnm"/>
- <Cell col="31" style="background2:#f0f0f0ff;" text="bind:delivedt" mask="expr:utlf_isNull(delivedt) || delivedt=='-' ? '' : '####/##/##'"/>
- <Cell col="32" style="background2:#f0f0f0ff;" text="bind:deliveidnm"/>
- <Cell col="33" style="background2:#f0f0f0ff;" text="bind:acptdt" mask="expr:utlf_isNull(acptdt) || acptdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="34" style="background2:#f0f0f0ff;" text="bind:acptidnm"/>
- <Cell col="35" style="background2:#f0f0f0ff;" text="bind:nrexecdt" mask="expr:utlf_isNull(nrexecdt) || nrexecdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="36" style="background2:#f0f0f0ff;" text="bind:nrexecridnm"/>
- <Cell col="37" style="background2:#f0f0f0ff;" text="bind:rtnappdt" mask="expr:utlf_isNull(rtnappdt) || rtnappdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="38" style="background2:#f0f0f0ff;" text="bind:rtnappidnm"/>
- <Cell col="39" style="background2:#f0f0f0ff;" text="bind:rtndt" mask="expr:utlf_isNull(rtndt) || rtndt=='-' ? '' : '####/##/##''"/>
- <Cell col="40" style="background2:#f0f0f0ff;" text="bind:rtnidnm"/>
- <Cell col="41" style="background2:#f0f0f0ff;" text="bind:rtncnfmdt" mask="expr:utlf_isNull(rtncnfmdt) || rtncnfmdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="42" style="background2:#f0f0f0ff;" text="bind:rtncnfmidnm"/>
- <Cell col="43" displaytype="text" style="background2:#f0f0f0ff;" text="bind:rtnresn"/>
- <Cell col="44" style="background2:#f0f0f0ff;" text="bind:spredt" mask="expr:utlf_isNull(spredt) || spredt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="45" style="background2:#f0f0f0ff;" text="bind:spreidnm"/>
- <Cell col="46" style="background2:#f0f0f0ff;" text="bind:sprecnfmdt" mask="expr:utlf_isNull(sprecnfmdt) || sprecnfmdt=='-' ? '' : '####/##/## ##:##'"/>
- <Cell col="47" style="background2:#f0f0f0ff;" text="bind:sprecnfmidnm"/>
- <Cell col="48" text="bind:prcpno"/>
- <Cell col="49" text="bind:prcphistno"/>
- <Cell col="50" text="bind:drugdd"/>
- <Cell col="51" text="bind:drugno"/>
- <Cell col="52" text="bind:ioflag"/>
- <Cell col="53" text="bind:instcd"/>
- <Cell col="54" text="bind:narcflag"/>
- <Cell col="55" text="bind:prntflag"/>
- <Cell col="56" text="bind:orddd"/>
- <Cell col="57" text="bind:orddeptcd"/>
- <Cell col="58" text="bind:prcpgenrflag"/>
- <Cell col="59" text="bind:prntdt"/>
- <Cell col="60" text="bind:presqty2"/>
- <Cell col="61" text="bind:statvisible"/>
- <Cell col="62" text="bind:medrendyn"/>
- <Cell col="63" text="bind:medrqty"/>
- <Cell col="64" text="bind:medrtims"/>
- <Cell col="65" text="bind:medrx"/>
- <Cell col="66" text="bind:drugseqno"/>
- <Cell col="67"/>
- </Band>
- </Format>
- </Formats>
- </Grid>
- <Grid id="grd_narclist06" class="grd_orderlist" taborder="29" binddataset="ds_adnmstoclistmachi_old" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" position="absolute 896 272 966 310" visible="false">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27" band="left"/>
- <Column size="78" band="left"/>
- <Column size="94" band="left"/>
- <Column size="62" band="left"/>
- <Column size="100"/>
- <Column size="99"/>
- <Column size="34"/>
- <Column size="30"/>
- <Column size="60"/>
- <Column size="40"/>
- <Column size="43"/>
- <Column size="56"/>
- <Column size="44"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방 코드" wordwrap="char"/>
- <Cell col="2" text="LabelNo"/>
- <Cell col="3" text="유효기간" wordwrap="char"/>
- <Cell col="4" text="제조번호" wordwrap="char"/>
- <Cell col="5" text="일련번호" wordwrap="char"/>
- <Cell col="6" colspan="2" text="seq" taborder="undefined">
- <Cell text="seq" wordwrap="char" taborder="undefined"/>
- <Cell col="1"/>
- </Cell>
- <Cell col="8" text="이송일자"/>
- <Cell col="9" text="이전"/>
- <Cell col="10" text="저장소"/>
- <Cell col="11" text="등록번호"/>
- <Cell col="12" text="투약번호"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" style="align:center top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="2" text="bind:labelno" mask="@@@@-@@-@@ @@@"/>
- <Cell col="3" style="align:center;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:prd_valid_de" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="4" displaytype="text" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:mnf_no" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="5" displaytype="text" style="align:left top;padding:4 2 1 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:mnf_seq" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:seq" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:seq"/>
- </Cell>
- <Cell col="7" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:histno"/>
- <Cell col="8" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:indd"/>
- <Cell col="9" text="bind:opp_storge_no"/>
- <Cell col="10" text="bind:storge_no"/>
- <Cell col="11" text="bind:in_pid"/>
- <Cell col="12" displaytype="text" edittype="text" text="bind:in_drugno"/>
- </Band>
- </Format>
- <Format id="format_copy"/>
- </Formats>
- </Grid>
- <Button id="But_Create" taborder="30" text="데이타 생성" position="absolute 892 27 992 49" onclick="But_Create_onclick" visible="false" class="btn4"/>
- <Button id="But_View" taborder="31" text="데이타 조회" visible="true" position="absolute 995 27 1095 49" onclick="But_View_onclick" class="btn4"/>
- <Grid id="grd_narclist07" class="grd_orderlist" taborder="32" binddataset="ds_adnmstocmoveerr" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" position="absolute 832 272 879 309" visible="false">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27" band="left"/>
- <Column size="72" band="left"/>
- <Column size="49" band="left"/>
- <Column size="51" band="left"/>
- <Column size="59" band="left"/>
- <Column size="45"/>
- <Column size="29"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방 코드" wordwrap="char"/>
- <Cell col="2" text="등록번호"/>
- <Cell col="3" text="환자명" wordwrap="char"/>
- <Cell col="4" text="투약일자" wordwrap="char"/>
- <Cell col="5" text="투약번호" wordwrap="char"/>
- <Cell col="6" text="수량"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" style="align:center top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="2" text="bind:pid"/>
- <Cell col="3" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:patnm" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="4" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:drugdd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="5" displaytype="text" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:drugno" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" text="bind:qty"/>
- </Band>
- </Format>
- <Format id="format_copy"/>
- </Formats>
- </Grid>
- <Button id="But_BatcodePrt" taborder="33" text="LabelNo 바코드출력" position="absolute 299 283 432 305" onclick="But_BatcodePrt_onclick" class="btn2"/>
- <Grid id="grd_stocmove" class="grd_orderlist" taborder="35" binddataset="ds_adnmstocordermove" autoenter="key" useinputpanel="false" selecttype="multirow" cellsizingtype="col" cellsizebandtype="allband" cellclickbound="cell" onrbuttonup="switch1_case1_grd_narclist_onrbuttonup" onkeyup="switch1_grd_onkeyup" onheadclick="switch1_case1_grd_narclist_onheadclick" oncelldblclick="switch1_case1_grd_narclist_oncelldblclick" position="absolute 757 284 812 298" visible="false">
- <Formats>
- <Format id="default">
- <Columns>
- <Column size="27" band="left"/>
- <Column size="78" band="left"/>
- <Column size="94" band="left"/>
- <Column size="96" band="left"/>
- <Column size="69" band="left"/>
- <Column size="114"/>
- <Column size="108"/>
- <Column size="34"/>
- <Column size="26"/>
- <Column size="69"/>
- <Column size="45"/>
- <Column size="63"/>
- <Column size="51"/>
- </Columns>
- <Rows>
- <Row size="30" band="head"/>
- <Row size="22"/>
- </Rows>
- <Band id="head">
- <Cell/>
- <Cell col="1" text="처방 코드" wordwrap="char"/>
- <Cell col="2" text="LabelNo"/>
- <Cell col="3" text="제품번호" wordwrap="char"/>
- <Cell col="4" text="유효기간" wordwrap="char"/>
- <Cell col="5" text="제조번호" wordwrap="char"/>
- <Cell col="6" text="일련번호" wordwrap="char"/>
- <Cell col="7" colspan="2" text="seq" taborder="undefined">
- <Cell text="seq" wordwrap="char" taborder="undefined"/>
- <Cell col="1"/>
- </Cell>
- <Cell col="9" text="불출일자"/>
- <Cell col="10" text="저장소"/>
- <Cell col="11" text="둥록번호"/>
- <Cell col="12" text="투약번호"/>
- </Band>
- <Band id="body">
- <Cell celltype="head" text="expr:currow + 1"/>
- <Cell col="1" style="align:center top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:drugcd" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="2" text="bind:labelno" mask="@@@@-@@-@@ @@@"/>
- <Cell col="3" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:gtin" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="4" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:prd_valid_de" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="5" displaytype="text" style="align:left top;padding:4 2 3 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:mnf_no" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="6" displaytype="text" style="align:left top;padding:4 2 1 2;background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:mnf_seq" wordwrap="char" autosizerow="limitmin"/>
- <Cell col="7" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:seq" taborder="undefined">
- <Cell style="align:right;padding:0 2 0 0;background2:#f0f0f0ff;" text="bind:seq"/>
- </Cell>
- <Cell col="8" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:histno"/>
- <Cell col="9" style="background:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));background2:EXPR(EXPR( fnshfg == '1' ? 'yellow' : ''));" text="bind:outdd"/>
- <Cell col="10" text="bind:storge_no"/>
- <Cell col="11" text="bind:pid"/>
- <Cell col="12" displaytype="text" edittype="text" text="bind:drugno"/>
- </Band>
- </Format>
- <Format id="format_copy"/>
- </Formats>
- </Grid>
- </Layout>
- </Layouts>
- <Bind>
- <BindItem id="item12" compid="SMADT12008" propid="text" datasetid="ds_main_prntlist_patinfo" columnid=""/>
- </Bind>
- <Objects>
- <Dataset id="ds_srchbarcode" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="barcode" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_senddata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="type" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_finddrugno" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="drugdd" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="prcphistno" type="STRING" size="256"/>
- <Column id="drugseqno" type="STRING" size="256"/>
- <Column id="drugkind" type="STRING" size="256"/>
- <Column id="drugflag" type="STRING" size="256"/>
- <Column id="drugstat" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_prntinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_main_prntlist_patinfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="orddd" type="STRING" size="256"/>
- <Column id="prcpdd" type="STRING" size="256"/>
- <Column id="drugfl" type="STRING" size="256"/>
- <Column id="rcprcpdd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="prcphistno" type="STRING" size="256"/>
- <Column id="drugdd" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- <Column id="sumdt" type="STRING" size="256"/>
- <Column id="orddrnm" type="STRING" size="256"/>
- <Column id="orddeptnm" type="STRING" size="256"/>
- <Column id="wardnm" type="STRING" size="256"/>
- <Column id="roomcd" type="STRING" size="256"/>
- <Column id="isdeptcdnm" type="STRING" size="256"/>
- <Column id="sex" type="STRING" size="256"/>
- <Column id="age" type="STRING" size="256"/>
- <Column id="patbdwt" type="STRING" size="256"/>
- <Column id="patbdht" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="rrgstno" type="STRING" size="256"/>
- <Column id="addr" type="STRING" size="256"/>
- <Column id="medispclidnm" type="STRING" size="256"/>
- <Column id="medispclid_licnsno" type="STRING" size="256"/>
- <Column id="atdoctidnm" type="STRING" size="256"/>
- <Column id="atdoctid_licnsno" type="STRING" size="256"/>
- <Column id="psptno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_main_prntlist_diaginfo" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="diagcd1" type="STRING" size="512"/>
- <Column id="diagcd" type="STRING" size="256"/>
- <Column id="icd10cd" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_main_narclist_narclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_req" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false"/>
- <Dataset id="ds_send_stoc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drugcd" type="STRING" size="256"/>
- <Column id="storge_no" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="seltype" type="STRING" size="256"/>
- <Column id="drugdd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="boxflag" type="STRING" size="256"/>
- <Column id="gtin" type="STRING" size="256"/>
- <Column id="prd_valid_de" type="STRING" size="256"/>
- <Column id="mnf_no" type="STRING" size="256"/>
- <Column id="mnf_seq" type="STRING" size="256"/>
- <Column id="workflag" type="STRING" size="256"/>
- <Column id="ioflag" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_adnmstoclist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="instcd" type="STRING" size="256"/>
- <column id="drugcd" type="STRING" size="256"/>
- <column id="infg" type="STRING" size="256"/>
- <column id="histno" type="STRING" size="256"/>
- <column id="gtin" type="STRING" size="256"/>
- <column id="prd_valid_de" type="STRING" size="256"/>
- <column id="mnf_no" type="STRING" size="256"/>
- <column id="mnf_seq" type="STRING" size="256"/>
- <column id="seq" type="STRING" size="256"/>
- <column id="prd_sgtin" type="STRING" size="256"/>
- <column id="storge_no" type="STRING" size="256"/>
- <column id="prtm_se_nm" type="STRING" size="256"/>
- <column id="prd_min_distb_qy" type="STRING" size="256"/>
- <column id="prd_min_distb_unit" type="STRING" size="256"/>
- <column id="prd_tot_pce_qy" type="STRING" size="256"/>
- <column id="prd_pce_unit" type="STRING" size="256"/>
- <column id="in_pce_qy" type="STRING" size="256"/>
- <column id="indd" type="STRING" size="256"/>
- <column id="opp_bssh_cd" type="STRING" size="256"/>
- <column id="opp_bssh_nm" type="STRING" size="256"/>
- <column id="opp_storge_no" type="STRING" size="256"/>
- <column id="in_dtl_cd" type="STRING" size="256"/>
- <column id="in_trnsfe_se_cd" type="STRING" size="256"/>
- <column id="out_fg" type="STRING" size="256"/>
- <column id="out_pce_qy" type="STRING" size="256"/>
- <column id="fnshfg" type="STRING" size="256"/>
- <column id="prcpno" type="STRING" size="256"/>
- <column id="drugdd" type="STRING" size="256"/>
- <column id="drugno" type="STRING" size="256"/>
- <column id="ioflag" type="STRING" size="256"/>
- <column id="drugseqno" type="STRING" size="256"/>
- <column id="pat_id_no_ty_cd" type="STRING" size="256"/>
- <column id="pat_id_no" type="STRING" size="256"/>
- <column id="pat_in" type="STRING" size="256"/>
- <column id="lcns_asort_cd" type="STRING" size="256"/>
- <column id="lcns_no" type="STRING" size="256"/>
- <column id="prsc_doc_nm" type="STRING" size="256"/>
- <column id="prsc_ord_no" type="STRING" size="256"/>
- <column id="diss_code" type="STRING" size="256"/>
- <column id="once_qy" type="FLOAT" size="256"/>
- <column id="ade_cnt" type="FLOAT" size="256"/>
- <column id="tot_dcnt" type="FLOAT" size="256"/>
- <column id="sum_qy" type="FLOAT" size="256"/>
- <column id="aft_dsuse_qy" type="FLOAT" size="256"/>
- <column id="dsuse_se_cd" type="STRING" size="256"/>
- <column id="dsuse_prv_cd" type="STRING" size="256"/>
- <column id="dsuse_mth_cd" type="STRING" size="256"/>
- <column id="dsuse_loc" type="STRING" size="256"/>
- <column id="dsuse_de" type="STRING" size="256"/>
- <column id="dsuse_instt_cd" type="STRING" size="256"/>
- <column id="dsuse_doc_de" type="STRING" size="256"/>
- <column id="outdd" type="STRING" size="256"/>
- <column id="out_bssh_cd" type="STRING" size="256"/>
- <column id="out_bssh_nm" type="STRING" size="256"/>
- <column id="out_storge_no" type="STRING" size="256"/>
- <column id="out_dtl_cd" type="STRING" size="256"/>
- <column id="out_trnsfr_se_cd" type="STRING" size="256"/>
- <column id="insendfg" type="STRING" size="256"/>
- <column id="outsendfg" type="STRING" size="256"/>
- <column id="spreqy" type="STRING" size="256"/>
- <column id="spredd" type="STRING" size="256"/>
- <column id="spredt" type="STRING" size="256"/>
- <column id="rtnfg" type="STRING" size="256"/>
- <column id="rtndd" type="STRING" size="256"/>
- <column id="rtndt" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indt" type="STRING" size="256"/>
- <Column id="outdt" type="STRING" size="256"/>
- <column id="in_prcpno" type="STRING" size="256"/>
- <column id="in_drugdd" type="STRING" size="256"/>
- <column id="in_drugno" type="STRING" size="256"/>
- <column id="in_ioflag" type="STRING" size="256"/>
- <column id="in_pid" type="STRING" size="256"/>
- <Column id="sprefg" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_adnmstocorder" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="flag" type="STRING" size="256"/>
- <column id="instcd" type="STRING" size="256"/>
- <column id="drugcd" type="STRING" size="256"/>
- <column id="infg" type="STRING" size="256"/>
- <column id="histno" type="STRING" size="256"/>
- <column id="gtin" type="STRING" size="256"/>
- <column id="prd_valid_de" type="STRING" size="256"/>
- <column id="mnf_no" type="STRING" size="256"/>
- <column id="mnf_seq" type="STRING" size="256"/>
- <column id="seq" type="STRING" size="256"/>
- <column id="prd_sgtin" type="STRING" size="256"/>
- <column id="storge_no" type="STRING" size="256"/>
- <column id="prtm_se_nm" type="STRING" size="256"/>
- <column id="prd_min_distb_qy" type="STRING" size="256"/>
- <column id="prd_min_distb_unit" type="STRING" size="256"/>
- <column id="prd_tot_pce_qy" type="STRING" size="256"/>
- <column id="prd_pce_unit" type="STRING" size="256"/>
- <column id="in_pce_qy" type="STRING" size="256"/>
- <column id="indd" type="STRING" size="256"/>
- <column id="opp_bssh_cd" type="STRING" size="256"/>
- <column id="opp_bssh_nm" type="STRING" size="256"/>
- <column id="opp_storge_no" type="STRING" size="256"/>
- <column id="in_dtl_cd" type="STRING" size="256"/>
- <column id="in_trnsfe_se_cd" type="STRING" size="256"/>
- <column id="out_fg" type="STRING" size="256"/>
- <column id="out_pce_qy" type="STRING" size="256"/>
- <column id="fnshfg" type="STRING" size="256"/>
- <column id="prcpno" type="STRING" size="256"/>
- <column id="drugdd" type="STRING" size="256"/>
- <column id="drugno" type="STRING" size="256"/>
- <column id="ioflag" type="STRING" size="256"/>
- <column id="drugseqno" type="STRING" size="256"/>
- <column id="pat_id_no_ty_cd" type="STRING" size="256"/>
- <column id="pat_id_no" type="STRING" size="256"/>
- <column id="pat_nm" type="STRING" size="256"/>
- <column id="lcns_asort_cd" type="STRING" size="256"/>
- <column id="lcns_no" type="STRING" size="256"/>
- <column id="prsc_doc_nm" type="STRING" size="256"/>
- <column id="prsc_ord_no" type="STRING" size="256"/>
- <column id="diss_code" type="STRING" size="256"/>
- <column id="once_qty" type="FLOAT" size="256"/>
- <column id="ade_cnt" type="FLOAT" size="256"/>
- <column id="tot_dcnt" type="FLOAT" size="256"/>
- <column id="sum_qy" type="FLOAT" size="256"/>
- <column id="aft_dsuse_qy" type="FLOAT" size="256"/>
- <column id="dsuse_se_cd" type="STRING" size="256"/>
- <column id="dsuse_prv_cd" type="STRING" size="256"/>
- <column id="dsuse_mth_cd" type="STRING" size="256"/>
- <column id="dsuse_loc" type="STRING" size="256"/>
- <column id="dsuse_de" type="STRING" size="256"/>
- <column id="dsuse_instt_cd" type="STRING" size="256"/>
- <column id="dsuse_doc_de" type="STRING" size="256"/>
- <column id="outdd" type="STRING" size="256"/>
- <column id="out_bssh_cd" type="STRING" size="256"/>
- <column id="out_bssh_nm" type="STRING" size="256"/>
- <column id="out_storge_no" type="STRING" size="256"/>
- <column id="out_dtl_cd" type="STRING" size="256"/>
- <column id="out_trnsfr_se_cd" type="STRING" size="256"/>
- <column id="insendfg" type="STRING" size="256"/>
- <column id="outsendfg" type="STRING" size="256"/>
- <column id="spreqy" type="STRING" size="256"/>
- <column id="spredd" type="STRING" size="256"/>
- <column id="spredt" type="STRING" size="256"/>
- <column id="rtnfg" type="STRING" size="256"/>
- <column id="rtndd" type="STRING" size="256"/>
- <column id="rtndt" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="labelno" type="STRING" size="256"/>
- <Column id="indt" type="STRING" size="256"/>
- <Column id="outdt" type="STRING" size="256"/>
- <column id="in_prcpno" type="STRING" size="256"/>
- <column id="in_drugdd" type="STRING" size="256"/>
- <column id="in_drugno" type="STRING" size="256"/>
- <column id="in_ioflag" type="STRING" size="256"/>
- <column id="in_pid" type="STRING" size="256"/>
- <Column id="sprefg" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_sendstocupdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="instcd" type="STRING" size="255" value=""/>
- <Column id="infg" type="STRING" size="255" value=""/>
- <Column id="histno" type="STRING" size="255" value=""/>
- <Column id="gtin" type="STRING" size="255" value=""/>
- <Column id="prd_valid_de" type="STRING" size="255" value=""/>
- <Column id="mnf_no" type="STRING" size="255" value=""/>
- <Column id="mnf_seq" type="STRING" size="255" value=""/>
- <Column id="seq" type="STRING" size="255" value=""/>
- <Column id="prcpno" type="STRING" size="255" value=""/>
- <Column id="drugdd" type="STRING" size="255" value=""/>
- <Column id="drugno" type="STRING" size="255" value=""/>
- <Column id="ioflag" type="STRING" size="255" value=""/>
- <Column id="drugseqno" type="STRING" size="255" value=""/>
- <Column id="pat_id_no_ty_cd" type="STRING" size="255" value=""/>
- <Column id="pat_id_no" type="STRING" size="255" value=""/>
- <Column id="pat_nm" type="STRING" size="255" value=""/>
- <Column id="lcns_asort_cd" type="STRING" size="255" value=""/>
- <Column id="lcns_no" type="STRING" size="255" value=""/>
- <Column id="prsc_doc_nm" type="STRING" size="255" value=""/>
- <Column id="prsc_ord_no" type="STRING" size="255" value=""/>
- <Column id="diss_code" type="STRING" size="255" value=""/>
- <Column id="once_qy" type="FLOAT" size="255" value=""/>
- <Column id="ade_cnt" type="FLOAT" size="255" value=""/>
- <Column id="tot_dcnt" type="FLOAT" size="255" value=""/>
- <Column id="sum_qy" type="FLOAT" size="255" value=""/>
- <Column id="spreqy" type="FLOAT" size="256"/>
- <Column id="rtnqy" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="storge_no" type="STRING" size="256"/>
- <Column id="in_prcpno" type="STRING" size="256"/>
- <Column id="in_drugno" type="STRING" size="256"/>
- <Column id="in_drugdd" type="STRING" size="256"/>
- <Column id="in_ioflag" type="STRING" size="256"/>
- <Column id="in_pid" type="STRING" size="256"/>
- <Column id="out_storge_no" type="STRING" size="256"/>
- <Column id="new_storge_no" type="STRING" size="256"/>
- <Column id="indt" type="STRING" size="256"/>
- <Column id="outdt" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_sumlist" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="code" type="STRING" size="256"/>
- <Column id="order" type="STRING" size="256"/>
- <Column id="outsum" type="STRING" size="256"/>
- <Column id="jaegosum" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_selstoc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drugcd" type="STRING" size="256"/>
- <Column id="prcpno" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- <Column id="pat_id_no" type="STRING" size="256"/>
- <Column id="seltype" type="STRING" size="256"/>
- <Column id="drugdd" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_adnmstoclistmachi" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="instcd" type="STRING" size="256"/>
- <column id="drugcd" type="STRING" size="256"/>
- <column id="infg" type="STRING" size="256"/>
- <column id="histno" type="STRING" size="256"/>
- <column id="gtin" type="STRING" size="256"/>
- <column id="prd_valid_de" type="STRING" size="256"/>
- <column id="mnf_no" type="STRING" size="256"/>
- <column id="mnf_seq" type="STRING" size="256"/>
- <column id="seq" type="STRING" size="256"/>
- <column id="prd_sgtin" type="STRING" size="256"/>
- <column id="storge_no" type="STRING" size="256"/>
- <column id="prtm_se_nm" type="STRING" size="256"/>
- <column id="prd_min_distb_qy" type="STRING" size="256"/>
- <column id="prd_min_distb_unit" type="STRING" size="256"/>
- <column id="prd_tot_pce_qy" type="STRING" size="256"/>
- <column id="prd_pce_unit" type="STRING" size="256"/>
- <column id="in_pce_qy" type="STRING" size="256"/>
- <column id="indd" type="STRING" size="256"/>
- <column id="opp_bssh_cd" type="STRING" size="256"/>
- <column id="opp_bssh_nm" type="STRING" size="256"/>
- <column id="opp_storge_no" type="STRING" size="256"/>
- <column id="in_dtl_cd" type="STRING" size="256"/>
- <column id="in_trnsfe_se_cd" type="STRING" size="256"/>
- <column id="out_fg" type="STRING" size="256"/>
- <column id="out_pce_qy" type="STRING" size="256"/>
- <column id="fnshfg" type="STRING" size="256"/>
- <column id="prcpno" type="STRING" size="256"/>
- <column id="drugdd" type="STRING" size="256"/>
- <column id="drugno" type="STRING" size="256"/>
- <column id="ioflag" type="STRING" size="256"/>
- <column id="drugseqno" type="STRING" size="256"/>
- <column id="pat_id_no_ty_cd" type="STRING" size="256"/>
- <column id="pat_id_no" type="STRING" size="256"/>
- <column id="pat_in" type="STRING" size="256"/>
- <column id="lcns_asort_cd" type="STRING" size="256"/>
- <column id="lcns_no" type="STRING" size="256"/>
- <column id="prsc_doc_nm" type="STRING" size="256"/>
- <column id="prsc_ord_no" type="STRING" size="256"/>
- <column id="diss_code" type="STRING" size="256"/>
- <column id="once_qy" type="FLOAT" size="256"/>
- <column id="ade_cnt" type="FLOAT" size="256"/>
- <column id="tot_dcnt" type="FLOAT" size="256"/>
- <column id="sum_qy" type="FLOAT" size="256"/>
- <column id="aft_dsuse_qy" type="FLOAT" size="256"/>
- <column id="dsuse_se_cd" type="STRING" size="256"/>
- <column id="dsuse_prv_cd" type="STRING" size="256"/>
- <column id="dsuse_mth_cd" type="STRING" size="256"/>
- <column id="dsuse_loc" type="STRING" size="256"/>
- <column id="dsuse_de" type="STRING" size="256"/>
- <column id="dsuse_instt_cd" type="STRING" size="256"/>
- <column id="dsuse_doc_de" type="STRING" size="256"/>
- <column id="outdd" type="STRING" size="256"/>
- <column id="out_bssh_cd" type="STRING" size="256"/>
- <column id="out_bssh_nm" type="STRING" size="256"/>
- <column id="out_storge_no" type="STRING" size="256"/>
- <column id="out_dtl_cd" type="STRING" size="256"/>
- <column id="out_trnsfr_se_cd" type="STRING" size="256"/>
- <column id="insendfg" type="STRING" size="256"/>
- <column id="outsendfg" type="STRING" size="256"/>
- <column id="spreqy" type="STRING" size="256"/>
- <column id="spredd" type="STRING" size="256"/>
- <column id="spredt" type="STRING" size="256"/>
- <column id="rtnfg" type="STRING" size="256"/>
- <column id="rtndd" type="STRING" size="256"/>
- <column id="rtndt" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indt" type="STRING" size="256"/>
- <Column id="outdt" type="STRING" size="256"/>
- <column id="in_prcpno" type="STRING" size="256"/>
- <column id="in_drugdd" type="STRING" size="256"/>
- <column id="in_drugno" type="STRING" size="256"/>
- <column id="in_ioflag" type="STRING" size="256"/>
- <column id="in_pid" type="STRING" size="256"/>
- <Column id="ar_storge_no" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_adnmstocordermachi" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="instcd" type="STRING" size="256"/>
- <column id="drugcd" type="STRING" size="256"/>
- <column id="infg" type="STRING" size="256"/>
- <column id="histno" type="STRING" size="256"/>
- <column id="gtin" type="STRING" size="256"/>
- <column id="prd_valid_de" type="STRING" size="256"/>
- <column id="mnf_no" type="STRING" size="256"/>
- <column id="mnf_seq" type="STRING" size="256"/>
- <column id="seq" type="STRING" size="256"/>
- <column id="prd_sgtin" type="STRING" size="256"/>
- <column id="storge_no" type="STRING" size="256"/>
- <column id="prtm_se_nm" type="STRING" size="256"/>
- <column id="prd_min_distb_qy" type="STRING" size="256"/>
- <column id="prd_min_distb_unit" type="STRING" size="256"/>
- <column id="prd_tot_pce_qy" type="STRING" size="256"/>
- <column id="prd_pce_unit" type="STRING" size="256"/>
- <column id="in_pce_qy" type="STRING" size="256"/>
- <column id="indd" type="STRING" size="256"/>
- <column id="opp_bssh_cd" type="STRING" size="256"/>
- <column id="opp_bssh_nm" type="STRING" size="256"/>
- <column id="opp_storge_no" type="STRING" size="256"/>
- <column id="in_dtl_cd" type="STRING" size="256"/>
- <column id="in_trnsfe_se_cd" type="STRING" size="256"/>
- <column id="out_fg" type="STRING" size="256"/>
- <column id="out_pce_qy" type="STRING" size="256"/>
- <column id="fnshfg" type="STRING" size="256"/>
- <column id="prcpno" type="STRING" size="256"/>
- <column id="drugdd" type="STRING" size="256"/>
- <column id="drugno" type="STRING" size="256"/>
- <column id="ioflag" type="STRING" size="256"/>
- <column id="drugseqno" type="STRING" size="256"/>
- <column id="pat_id_no_ty_cd" type="STRING" size="256"/>
- <column id="pat_id_no" type="STRING" size="256"/>
- <column id="pat_nm" type="STRING" size="256"/>
- <column id="lcns_asort_cd" type="STRING" size="256"/>
- <column id="lcns_no" type="STRING" size="256"/>
- <column id="prsc_doc_nm" type="STRING" size="256"/>
- <column id="prsc_ord_no" type="STRING" size="256"/>
- <column id="diss_code" type="STRING" size="256"/>
- <column id="once_qty" type="FLOAT" size="256"/>
- <column id="ade_cnt" type="FLOAT" size="256"/>
- <column id="tot_dcnt" type="FLOAT" size="256"/>
- <column id="sum_qy" type="FLOAT" size="256"/>
- <column id="aft_dsuse_qy" type="FLOAT" size="256"/>
- <column id="dsuse_se_cd" type="STRING" size="256"/>
- <column id="dsuse_prv_cd" type="STRING" size="256"/>
- <column id="dsuse_mth_cd" type="STRING" size="256"/>
- <column id="dsuse_loc" type="STRING" size="256"/>
- <column id="dsuse_de" type="STRING" size="256"/>
- <column id="dsuse_instt_cd" type="STRING" size="256"/>
- <column id="dsuse_doc_de" type="STRING" size="256"/>
- <column id="outdd" type="STRING" size="256"/>
- <column id="out_bssh_cd" type="STRING" size="256"/>
- <column id="out_bssh_nm" type="STRING" size="256"/>
- <column id="out_storge_no" type="STRING" size="256"/>
- <column id="out_dtl_cd" type="STRING" size="256"/>
- <column id="out_trnsfr_se_cd" type="STRING" size="256"/>
- <column id="insendfg" type="STRING" size="256"/>
- <column id="outsendfg" type="STRING" size="256"/>
- <column id="spreqy" type="STRING" size="256"/>
- <column id="spredd" type="STRING" size="256"/>
- <column id="spredt" type="STRING" size="256"/>
- <column id="rtnfg" type="STRING" size="256"/>
- <column id="rtndd" type="STRING" size="256"/>
- <column id="rtndt" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="labelno" type="STRING" size="256"/>
- <Column id="indt" type="STRING" size="256"/>
- <Column id="outdt" type="STRING" size="256"/>
- <column id="in_prcpno" type="STRING" size="256"/>
- <column id="in_drugdd" type="STRING" size="256"/>
- <column id="in_drugno" type="STRING" size="256"/>
- <column id="in_ioflag" type="STRING" size="256"/>
- <column id="in_pid" type="STRING" size="256"/>
- <Column id="ar_storge_no" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_adnmstoclistmachi_old" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="instcd" type="STRING" size="256"/>
- <column id="drugcd" type="STRING" size="256"/>
- <column id="infg" type="STRING" size="256"/>
- <column id="histno" type="STRING" size="256"/>
- <column id="gtin" type="STRING" size="256"/>
- <column id="prd_valid_de" type="STRING" size="256"/>
- <column id="mnf_no" type="STRING" size="256"/>
- <column id="mnf_seq" type="STRING" size="256"/>
- <column id="seq" type="STRING" size="256"/>
- <column id="prd_sgtin" type="STRING" size="256"/>
- <column id="storge_no" type="STRING" size="256"/>
- <column id="prtm_se_nm" type="STRING" size="256"/>
- <column id="prd_min_distb_qy" type="STRING" size="256"/>
- <column id="prd_min_distb_unit" type="STRING" size="256"/>
- <column id="prd_tot_pce_qy" type="STRING" size="256"/>
- <column id="prd_pce_unit" type="STRING" size="256"/>
- <column id="in_pce_qy" type="STRING" size="256"/>
- <column id="indd" type="STRING" size="256"/>
- <column id="opp_bssh_cd" type="STRING" size="256"/>
- <column id="opp_bssh_nm" type="STRING" size="256"/>
- <column id="opp_storge_no" type="STRING" size="256"/>
- <column id="in_dtl_cd" type="STRING" size="256"/>
- <column id="in_trnsfe_se_cd" type="STRING" size="256"/>
- <column id="out_fg" type="STRING" size="256"/>
- <column id="out_pce_qy" type="STRING" size="256"/>
- <column id="fnshfg" type="STRING" size="256"/>
- <column id="prcpno" type="STRING" size="256"/>
- <column id="drugdd" type="STRING" size="256"/>
- <column id="drugno" type="STRING" size="256"/>
- <column id="ioflag" type="STRING" size="256"/>
- <column id="drugseqno" type="STRING" size="256"/>
- <column id="pat_id_no_ty_cd" type="STRING" size="256"/>
- <column id="pat_id_no" type="STRING" size="256"/>
- <column id="pat_in" type="STRING" size="256"/>
- <column id="lcns_asort_cd" type="STRING" size="256"/>
- <column id="lcns_no" type="STRING" size="256"/>
- <column id="prsc_doc_nm" type="STRING" size="256"/>
- <column id="prsc_ord_no" type="STRING" size="256"/>
- <column id="diss_code" type="STRING" size="256"/>
- <column id="once_qy" type="FLOAT" size="256"/>
- <column id="ade_cnt" type="FLOAT" size="256"/>
- <column id="tot_dcnt" type="FLOAT" size="256"/>
- <column id="sum_qy" type="FLOAT" size="256"/>
- <column id="aft_dsuse_qy" type="FLOAT" size="256"/>
- <column id="dsuse_se_cd" type="STRING" size="256"/>
- <column id="dsuse_prv_cd" type="STRING" size="256"/>
- <column id="dsuse_mth_cd" type="STRING" size="256"/>
- <column id="dsuse_loc" type="STRING" size="256"/>
- <column id="dsuse_de" type="STRING" size="256"/>
- <column id="dsuse_instt_cd" type="STRING" size="256"/>
- <column id="dsuse_doc_de" type="STRING" size="256"/>
- <column id="outdd" type="STRING" size="256"/>
- <column id="out_bssh_cd" type="STRING" size="256"/>
- <column id="out_bssh_nm" type="STRING" size="256"/>
- <column id="out_storge_no" type="STRING" size="256"/>
- <column id="out_dtl_cd" type="STRING" size="256"/>
- <column id="out_trnsfr_se_cd" type="STRING" size="256"/>
- <column id="insendfg" type="STRING" size="256"/>
- <column id="outsendfg" type="STRING" size="256"/>
- <column id="spreqy" type="STRING" size="256"/>
- <column id="spredd" type="STRING" size="256"/>
- <column id="spredt" type="STRING" size="256"/>
- <column id="rtnfg" type="STRING" size="256"/>
- <column id="rtndd" type="STRING" size="256"/>
- <column id="rtndt" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indt" type="STRING" size="256"/>
- <Column id="outdt" type="STRING" size="256"/>
- <column id="in_prcpno" type="STRING" size="256"/>
- <column id="in_drugdd" type="STRING" size="256"/>
- <column id="in_drugno" type="STRING" size="256"/>
- <column id="in_ioflag" type="STRING" size="256"/>
- <column id="in_pid" type="STRING" size="256"/>
- <Column id="ar_storge_no" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_adnmprdt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drugcd" type="STRING" size="256"/>
- <Column id="ordnm" type="STRING" size="256"/>
- <Column id="hngnm" type="STRING" size="256"/>
- <Column id="gtin" type="STRING" size="256"/>
- <Column id="prtm_se_nm" type="STRING" size="256"/>
- <Column id="prd_min_distb_qy" type="STRING" size="256"/>
- <Column id="prd_min_distb_unit" type="STRING" size="256"/>
- <Column id="prd_tot_pce_qy" type="STRING" size="256"/>
- <Column id="prd_pce_unit" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_sendadnmprdt" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="basedd" type="STRING" size="256"/>
- <Column id="srchcnts" type="STRING" size="256"/>
- <Column id="srchflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_adnmstocbox" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drugcd" type="STRING" size="256"/>
- <Column id="gtin" type="STRING" size="256"/>
- <Column id="prd_valid_de" type="STRING" size="256"/>
- <Column id="mnf_no" type="STRING" size="256"/>
- <Column id="mnf_seq" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_storge_no" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="storg_no" type="STRING" size="256"/>
- <Column id="storg_nm" type="STRING" size="256"/>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- <Column id="moveflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_send_deptcd" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="deptcd" type="STRING" size="256"/>
- <Column id="deptnm" type="STRING" size="256"/>
- <Column id="workflag" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_adnmstocmoveerr" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="instcd" type="STRING" size="256"/>
- <column id="drugcd" type="STRING" size="256"/>
- <column id="prcpno" type="STRING" size="256"/>
- <column id="drugdd" type="STRING" size="256"/>
- <column id="drugno" type="STRING" size="256"/>
- <column id="ioflag" type="STRING" size="256"/>
- <column id="pid" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="qty" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_mainprtdata" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="patnm" type="STRING" size="256"/>
- <Column id="drugcd" type="STRING" size="256"/>
- <Column id="drugnm" type="STRING" size="256"/>
- <Column id="drugno" type="STRING" size="256"/>
- <Column id="drugdd" type="STRING" size="256"/>
- <Column id="storge_no" type="STRING" size="256"/>
- <Column id="labelno" type="STRING" size="256"/>
- <Column id="prd_valid_de" type="STRING" size="256"/>
- <Column id="mnf_no" type="STRING" size="256"/>
- <Column id="mnf_seq" type="STRING" size="256"/>
- <Column id="seq" type="STRING" size="256"/>
- </ColumnInfo>
- </Dataset>
- <Dataset id="ds_adnmstocordermove" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="instcd" type="STRING" size="256"/>
- <column id="drugcd" type="STRING" size="256"/>
- <column id="infg" type="STRING" size="256"/>
- <column id="histno" type="STRING" size="256"/>
- <column id="gtin" type="STRING" size="256"/>
- <column id="prd_valid_de" type="STRING" size="256"/>
- <column id="mnf_no" type="STRING" size="256"/>
- <column id="mnf_seq" type="STRING" size="256"/>
- <column id="seq" type="STRING" size="256"/>
- <column id="prd_sgtin" type="STRING" size="256"/>
- <column id="storge_no" type="STRING" size="256"/>
- <column id="prtm_se_nm" type="STRING" size="256"/>
- <column id="prd_min_distb_qy" type="STRING" size="256"/>
- <column id="prd_min_distb_unit" type="STRING" size="256"/>
- <column id="prd_tot_pce_qy" type="STRING" size="256"/>
- <column id="prd_pce_unit" type="STRING" size="256"/>
- <column id="in_pce_qy" type="STRING" size="256"/>
- <column id="indd" type="STRING" size="256"/>
- <column id="opp_bssh_cd" type="STRING" size="256"/>
- <column id="opp_bssh_nm" type="STRING" size="256"/>
- <column id="opp_storge_no" type="STRING" size="256"/>
- <column id="in_dtl_cd" type="STRING" size="256"/>
- <column id="in_trnsfe_se_cd" type="STRING" size="256"/>
- <column id="out_fg" type="STRING" size="256"/>
- <column id="out_pce_qy" type="STRING" size="256"/>
- <column id="fnshfg" type="STRING" size="256"/>
- <column id="prcpno" type="STRING" size="256"/>
- <column id="drugdd" type="STRING" size="256"/>
- <column id="drugno" type="STRING" size="256"/>
- <column id="ioflag" type="STRING" size="256"/>
- <column id="drugseqno" type="STRING" size="256"/>
- <column id="pat_id_no_ty_cd" type="STRING" size="256"/>
- <column id="pat_id_no" type="STRING" size="256"/>
- <column id="pat_nm" type="STRING" size="256"/>
- <column id="lcns_asort_cd" type="STRING" size="256"/>
- <column id="lcns_no" type="STRING" size="256"/>
- <column id="prsc_doc_nm" type="STRING" size="256"/>
- <column id="prsc_ord_no" type="STRING" size="256"/>
- <column id="diss_code" type="STRING" size="256"/>
- <column id="once_qty" type="FLOAT" size="256"/>
- <column id="ade_cnt" type="FLOAT" size="256"/>
- <column id="tot_dcnt" type="FLOAT" size="256"/>
- <column id="sum_qy" type="FLOAT" size="256"/>
- <column id="aft_dsuse_qy" type="FLOAT" size="256"/>
- <column id="dsuse_se_cd" type="STRING" size="256"/>
- <column id="dsuse_prv_cd" type="STRING" size="256"/>
- <column id="dsuse_mth_cd" type="STRING" size="256"/>
- <column id="dsuse_loc" type="STRING" size="256"/>
- <column id="dsuse_de" type="STRING" size="256"/>
- <column id="dsuse_instt_cd" type="STRING" size="256"/>
- <column id="dsuse_doc_de" type="STRING" size="256"/>
- <column id="outdd" type="STRING" size="256"/>
- <column id="out_bssh_cd" type="STRING" size="256"/>
- <column id="out_bssh_nm" type="STRING" size="256"/>
- <column id="out_storge_no" type="STRING" size="256"/>
- <column id="out_dtl_cd" type="STRING" size="256"/>
- <column id="out_trnsfr_se_cd" type="STRING" size="256"/>
- <column id="insendfg" type="STRING" size="256"/>
- <column id="outsendfg" type="STRING" size="256"/>
- <column id="spreqy" type="STRING" size="256"/>
- <column id="spredd" type="STRING" size="256"/>
- <column id="spredt" type="STRING" size="256"/>
- <column id="rtnfg" type="STRING" size="256"/>
- <column id="rtndd" type="STRING" size="256"/>
- <column id="rtndt" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="labelno" type="STRING" size="256"/>
- <Column id="indt" type="STRING" size="256"/>
- <Column id="outdt" type="STRING" size="256"/>
- <column id="in_prcpno" type="STRING" size="256"/>
- <column id="in_drugdd" type="STRING" size="256"/>
- <column id="in_drugno" type="STRING" size="256"/>
- <column id="in_ioflag" type="STRING" size="256"/>
- <column id="in_pid" type="STRING" size="256"/>
- <Column id="ar_storge_no" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_adnmstoclistmove" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <column id="instcd" type="STRING" size="256"/>
- <column id="drugcd" type="STRING" size="256"/>
- <column id="infg" type="STRING" size="256"/>
- <column id="histno" type="STRING" size="256"/>
- <column id="gtin" type="STRING" size="256"/>
- <column id="prd_valid_de" type="STRING" size="256"/>
- <column id="mnf_no" type="STRING" size="256"/>
- <column id="mnf_seq" type="STRING" size="256"/>
- <column id="seq" type="STRING" size="256"/>
- <column id="prd_sgtin" type="STRING" size="256"/>
- <column id="storge_no" type="STRING" size="256"/>
- <column id="prtm_se_nm" type="STRING" size="256"/>
- <column id="prd_min_distb_qy" type="STRING" size="256"/>
- <column id="prd_min_distb_unit" type="STRING" size="256"/>
- <column id="prd_tot_pce_qy" type="STRING" size="256"/>
- <column id="prd_pce_unit" type="STRING" size="256"/>
- <column id="in_pce_qy" type="STRING" size="256"/>
- <column id="indd" type="STRING" size="256"/>
- <column id="opp_bssh_cd" type="STRING" size="256"/>
- <column id="opp_bssh_nm" type="STRING" size="256"/>
- <column id="opp_storge_no" type="STRING" size="256"/>
- <column id="in_dtl_cd" type="STRING" size="256"/>
- <column id="in_trnsfe_se_cd" type="STRING" size="256"/>
- <column id="out_fg" type="STRING" size="256"/>
- <column id="out_pce_qy" type="STRING" size="256"/>
- <column id="fnshfg" type="STRING" size="256"/>
- <column id="prcpno" type="STRING" size="256"/>
- <column id="drugdd" type="STRING" size="256"/>
- <column id="drugno" type="STRING" size="256"/>
- <column id="ioflag" type="STRING" size="256"/>
- <column id="drugseqno" type="STRING" size="256"/>
- <column id="pat_id_no_ty_cd" type="STRING" size="256"/>
- <column id="pat_id_no" type="STRING" size="256"/>
- <column id="pat_in" type="STRING" size="256"/>
- <column id="lcns_asort_cd" type="STRING" size="256"/>
- <column id="lcns_no" type="STRING" size="256"/>
- <column id="prsc_doc_nm" type="STRING" size="256"/>
- <column id="prsc_ord_no" type="STRING" size="256"/>
- <column id="diss_code" type="STRING" size="256"/>
- <column id="once_qy" type="FLOAT" size="256"/>
- <column id="ade_cnt" type="FLOAT" size="256"/>
- <column id="tot_dcnt" type="FLOAT" size="256"/>
- <column id="sum_qy" type="FLOAT" size="256"/>
- <column id="aft_dsuse_qy" type="FLOAT" size="256"/>
- <column id="dsuse_se_cd" type="STRING" size="256"/>
- <column id="dsuse_prv_cd" type="STRING" size="256"/>
- <column id="dsuse_mth_cd" type="STRING" size="256"/>
- <column id="dsuse_loc" type="STRING" size="256"/>
- <column id="dsuse_de" type="STRING" size="256"/>
- <column id="dsuse_instt_cd" type="STRING" size="256"/>
- <column id="dsuse_doc_de" type="STRING" size="256"/>
- <column id="outdd" type="STRING" size="256"/>
- <column id="out_bssh_cd" type="STRING" size="256"/>
- <column id="out_bssh_nm" type="STRING" size="256"/>
- <column id="out_storge_no" type="STRING" size="256"/>
- <column id="out_dtl_cd" type="STRING" size="256"/>
- <column id="out_trnsfr_se_cd" type="STRING" size="256"/>
- <column id="insendfg" type="STRING" size="256"/>
- <column id="outsendfg" type="STRING" size="256"/>
- <column id="spreqy" type="STRING" size="256"/>
- <column id="spredd" type="STRING" size="256"/>
- <column id="spredt" type="STRING" size="256"/>
- <column id="rtnfg" type="STRING" size="256"/>
- <column id="rtndd" type="STRING" size="256"/>
- <column id="rtndt" type="STRING" size="256"/>
- <Column id="pid" type="STRING" size="256"/>
- <Column id="indt" type="STRING" size="256"/>
- <Column id="outdt" type="STRING" size="256"/>
- <column id="in_prcpno" type="STRING" size="256"/>
- <column id="in_drugdd" type="STRING" size="256"/>
- <column id="in_drugno" type="STRING" size="256"/>
- <column id="in_ioflag" type="STRING" size="256"/>
- <column id="in_pid" type="STRING" size="256"/>
- <Column id="ar_storge_no" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_drugcd_send" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="drugcd" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- <Dataset id="ds_drugcd_desc" firefirstcount="0" firenextcount="0" useclientlayout="false" updatecontrol="true" enableevent="true" loadkeymode="keep" loadfiltermode="keep" reversesubsum="false">
- <ColumnInfo>
- <Column id="desc" type="STRING" size="256"/>
- </ColumnInfo>
- <Rows>
- <Row/>
- </Rows>
- </Dataset>
- </Objects>
- <Script type="xscript4.0"><![CDATA[/***************************************************************************************
- * System Name :
- * Job Name :
- * Creator :
- * Make Date : 2018-03-08
- * Description :
- ****************************************************************************************/
- //=======================================================================================
- // Lib Include
- //---------------------------------------------------------------------------------------
- include "com_commonxp::comm_main.xjs"
- include "ast_commonxp::AST.xjs"
- var ArSendFlag = "";
- var Arstorge_no = "";
- var ArprdtQty = 0;
- var ArprdtBox = 0;
- var ArprdtComBox = 0;
- var ArprdtFlag = "N";
- var ASgtin = "";
- var ASprd_valid_de = "";
- var ASmnf_no = "";
- var ASmnf_seq = "";
- var TMPASgtin = "";
- var TMPASprd_valid_de = "";
- var TMPASmnf_no = "";
- var TMPASmnf_seq = "";
- var OpenViewFlag = "N";
- var ArMoveflag = "N";
- var ArMoveStorgno = "N";
- var FrFindflag = "N";
- var FCreflag = "N";
- var Ardesc = "";
- function SMADT12008_oninit(obj:Form, e:InitEventInfo)
- {
- frmf_initForm(obj); // 폼 초기화
- }
- function SMADT12008_onload(obj:Form, e:LoadEventInfo)
- {
- ds_main_narclist_narclist.clearData()
- ds_adnmstocorder.clearData();
- ds_adnmstocordermachi.clearData();
- grdf_initGrid(grd_narclist02);
- grdf_initGrid(grd_narclist01);
- grdf_initGrid(grd_narclist04);
- grdf_initGrid(grd_narclist06);
- grdf_initGrid(grd_narclist07);
- grdf_initGrid(grd_narclist03);
- grdf_initGrid(grd_narclist05);
- ds_main_narclist_narclist.copyData(arg_ds_sendnarcstoc);
- ArSendFlag = arg_flag ;
- ds_send_prntinfo.clear();
- dsf_copyColInfo(ds_send_prntinfo,ds_finddrugno);
- ds_send_prntinfo.addRow();
- ////Prcp , Rtn 넘어오는 Flag 값//
- //alert(ArSendFlag) ;
- //저장소 정보 찾기
- var Vdeptcd = ds_main_narclist_narclist.getColumn(0, "stocdeptcd");
- ds_send_deptcd.clearData();
- ds_send_deptcd.addRow();
- ds_send_deptcd.setColumn(0,"deptcd" , Vdeptcd );
- ds_send_deptcd.setColumn(0,"deptnm" , "" );
- ds_send_deptcd.setColumn(0,"workflag" , "Y" );
- var oParam = {};
- oParam.id = "TRADT12014";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetFindStorgno";
- oParam.inds = "req=ds_send_deptcd";
- oParam.outds = "ds_storge_no=storgno";
- oParam.async = false;
- tranf_submit(oParam);
- Arstorge_no = ds_storge_no.getColumn(0, "storge_no");
- //alert(ArSendFlag);
- ///// 화면 Open시 데이타 생성
- // but_ok.enable = true ;
- But_Create.click();
- /////////////////
- }
- function But_Create_onclick(obj:Button, e:ClickEventInfo)
- {
- if (ArSendFlag == "Prcp") {
- but_ok.text = '불출승인'
- // but_ok.enable = false ;
- for(var i = 0; i < ds_main_narclist_narclist.rowcount ; i++){
- ds_adnmstocorder.clearData();
- ds_adnmstocordermachi.clearData();
- FCreflag = "Y";
- var Fpid = ds_main_narclist_narclist.getColumn(i, "pid");
- var Fdrugdd = ds_main_narclist_narclist.getColumn(i, "drugdd");
- var Fprcpdd = ds_main_narclist_narclist.getColumn(i, "prcpdd");
- var Fprcpcd = ds_main_narclist_narclist.getColumn(i, "prcpcd");
- var Forddd = ds_main_narclist_narclist.getColumn(i, "orddd");
- var Fdrugno = ds_main_narclist_narclist.getColumn(i, "drugno");
- var Fprcpno = ds_main_narclist_narclist.getColumn(i, "prcpno");
- var Fioflag = ds_main_narclist_narclist.getColumn(i, "ioflag");
- var Fprcphistno = ds_main_narclist_narclist.getColumn(i, "prcphistno");
- var Fdrugseqno = ds_main_narclist_narclist.getColumn(i, "drugseqno");
- var Fisdeptnm = ds_main_narclist_narclist.getColumn(i, "issdeptcdnm");
- var Forddeptcd = ds_main_narclist_narclist.getColumn(i, "orddeptcd");
- var Ftotdrugqty = parseFloat(ds_main_narclist_narclist.getColumn(i, "totdrugqty"));
- ds_send_stoc.setColumn(0,"pid" , "" );
- ds_send_stoc.setColumn(0,"drugcd" , "" );
- ds_send_stoc.setColumn(0,"drugdd" , "" );
- ds_send_stoc.setColumn(0,"prcpno" , "" );
- ds_send_stoc.setColumn(0,"storge_no" , "" );
- ds_send_stoc.setColumn(0,"boxflag" , "" );
- ds_send_stoc.setColumn(0,"gtin" , "" );
- ds_send_stoc.setColumn(0,"prd_valid_de", "" );
- ds_send_stoc.setColumn(0,"mnf_no" , "" );
- ds_send_stoc.setColumn(0,"mnf_seq" , "" );
- ds_send_stoc.setColumn(0,"ioflag" , "" );
- ds_send_stoc.setColumn(0,"workflag" , "" );
-
- /////////////////데이타 생성유무를 체크하여 재생성을 막는루틴
- ds_send_stoc.setColumn(0,"pid" , Fpid );
- ds_send_stoc.setColumn(0,"drugcd" , Fprcpcd );
- ds_send_stoc.setColumn(0,"drugdd" , Fdrugdd );
- ds_send_stoc.setColumn(0,"prcpno" , Fprcpno );
- var oParam = {};
- oParam.id = "TRADT12007";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetNarcStocOkList";
- oParam.inds = "req=ds_send_stoc";
- oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
- if ( ds_adnmstoclist.rowcount >= Ftotdrugqty ){
- FCreflag = "N";
- }
- //////////////
- ///일반물품 정보 찾기
- // alert('일반물품 정보 찾기');
- ArMoveStorgno = "";
- ArMoveflag = "N";
- ds_drugcd_send.setColumn(0,"drugcd" , Fprcpcd );
- var oParam = {};
- oParam.id = "TRADT12019";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetDrugcdDesc";
- oParam.inds = "req=ds_drugcd_send";
- oParam.outds = "ds_drugcd_desc=desc";
- oParam.async = false;
- tranf_submit(oParam);
- Ardesc = ds_drugcd_desc.getColumn(0, "drugdesc");
- // alert(Ardesc);
- //////// Ardesc == "증점은 무시"
- if ( Ardesc == "일반"){
- ArMoveflag == "N";
- ArMoveStorgno == "";
- }
- /////////
- ds_send_prntinfo.setColumn(0,"pid" , Fpid );
- ds_send_prntinfo.setColumn(0,"drugdd" , Fdrugdd );
- ds_send_prntinfo.setColumn(0,"prcpdd" , Fprcpdd );
- ds_send_prntinfo.setColumn(0,"orddd" , Forddd );
- ds_send_prntinfo.setColumn(0,"drugno" , Fdrugno );
- ds_send_prntinfo.setColumn(0,"prcpno" , Fprcpno );
- ds_send_prntinfo.setColumn(0,"ioflag" , Fioflag );
- ds_send_prntinfo.setColumn(0,"prcphistno" , Fprcphistno );
- ds_send_prntinfo.setColumn(0,"drugseqno" , Fdrugseqno );
- dsf_makeValue(ds_send_prntinfo,"orddeptcd","string",Forddeptcd );
- var oParam = {};
- oParam.id = "TRADT30103";
- oParam.service = "pharmacyprescriptionapp.Narcotics";
- oParam.method = "reqGetNarcPrntData";
- oParam.inds = "req=ds_send_prntinfo";
- oParam.outds = "ds_main_prntlist_patinfo=patinfo ds_main_prntlist_diaginfo=diaginfo ds_main_prntlist_prntlist=prntlist ds_main_prntlist_resn=resn";
- oParam.async = false;
- ///oParam.callback = "cf_TRADT30103";
- tranf_submit(oParam);
- ArprdtFlag = "N";
- var sPrcpcd = ds_main_narclist_narclist.getColumn(i, "prcpcd"); // 처방코드명
- var sPrcpno = ds_main_narclist_narclist.getColumn(i, "prcpno");
- var sDrugdd = ds_main_narclist_narclist.getColumn(i, "drugdd");
- var sPid = ds_main_narclist_narclist.getColumn(i, "pid");
- var sTotdrugqty = parseFloat(ds_main_narclist_narclist.getColumn(i, "totdrugqty"));
- //////// 약품별 박수 수량찾기
- ds_sendadnmprdt.setColumn(0,"basedd" , sDrugdd );
- ds_sendadnmprdt.setColumn(0,"srchcnts" , sPrcpcd );
- ds_sendadnmprdt.setColumn(0,"srchflag" , '1' );
- //마약류 품목 목록 조회
- var oParam = {};
- oParam.id = "TRADT12121";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetPrdList";
- oParam.inds = "req=ds_sendadnmprdt";
- oParam.outds = "ds_adnmprdt=prdlist";
- oParam.async = false;
- tranf_submit(oParam);
- ArprdtQty = ds_adnmprdt.getColumn(0, "prd_tot_pce_qy");
- if ( sTotdrugqty >= ArprdtQty ) {
- ArprdtFlag = "Y";
- ArprdtBox = parseInt( sTotdrugqty / ArprdtQty) ;
- }
- ds_send_stoc.setColumn(0,"drugcd" , sPrcpcd );
- ds_send_stoc.setColumn(0,"storge_no" , Arstorge_no );
- ds_send_stoc.setColumn(0,"prcpno" , sPrcpno );
- ds_send_stoc.setColumn(0,"seltype" , 'A' );
- ds_send_stoc.setColumn(0,"boxflag" , ArprdtFlag );
- ds_send_stoc.setColumn(0,"gtin" , "" );
- ds_send_stoc.setColumn(0,"prd_valid_de" , '' );
- ds_send_stoc.setColumn(0,"mnf_no" , '' );
- ds_send_stoc.setColumn(0,"mnf_seq" , '' );
-
- /////저장소별 코드별 박스수량 찾기
- var oParam = {};
- oParam.id = "TRADT12013";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStocBox";
- oParam.inds = "req=ds_send_stoc";
- oParam.outds = "ds_adnmstocbox=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
- //박스 데이타 만들기
- ASgtin = "";
- ASprd_valid_de = "";
- ASmnf_no = "";
- ASmnf_seq = "";
- ArprdtComBox = 1;
- TMPASgtin = "";
- TMPASprd_valid_de = "";
- TMPASmnf_no = "";
- TMPASmnf_seq = "";
- if ( ArprdtFlag == "Y") {
- for(var ii = 0; ii < ds_adnmstocbox.rowcount ; ii++){
- var Fgtin = ds_adnmstocbox.getColumn(ii, "gtin");
- var Fprd_valid_de = ds_adnmstocbox.getColumn(ii, "prd_valid_de");
- var Fmnf_no = ds_adnmstocbox.getColumn(ii, "mnf_no");
- var Fmnf_seq = ds_adnmstocbox.getColumn(ii, "mnf_seq");
- var Fboxcnt = ds_adnmstocbox.getColumn(ii, "boxcnt");
- if ( Fboxcnt == ArprdtQty ) {
- // alert("ArprdtBox ; " + ArprdtBox );
- if ( ArprdtBox >= ArprdtComBox ) {
- if ( ArprdtComBox == 1 ) {
- ASgtin = ASgtin + Fgtin ;
- ASprd_valid_de = ASprd_valid_de + Fprd_valid_de;
- ASmnf_no = ASmnf_no + Fmnf_no;
- ASmnf_seq = ASmnf_seq + Fmnf_seq ;
- TMPASgtin = ASgtin;
- TMPASprd_valid_de = ASprd_valid_de;
- TMPASmnf_no = ASmnf_no;
- TMPASmnf_seq = ASmnf_seq;
- } else {
- if ( TMPASgtin <> Fgtin) {
- ASgtin = ASgtin + "','" + Fgtin ;
- TMPASgtin = Fgtin;
- }
- if ( TMPASprd_valid_de <> Fprd_valid_de) {
- ASprd_valid_de = ASprd_valid_de + "','" + Fprd_valid_de;
- TMPASprd_valid_de = Fprd_valid_de;
- }
- if ( TMPASmnf_no <> Fmnf_no) {
- ASmnf_no = ASmnf_no + "','" + Fmnf_no;
- TMPASmnf_no = Fmnf_no;
- }
- if ( TMPASmnf_seq <> Fmnf_seq) {
- ASmnf_seq = ASmnf_seq + "','" + Fmnf_seq ;
- TMPASmnf_seq = Fmnf_seq;
- }
- }
- ArprdtComBox = ArprdtComBox + 1;
- // alert("ArprdtComBox ; " + ArprdtComBox );
-
- }
- }
- }
- ds_send_stoc.setColumn(0,"gtin" , ASgtin );
- ds_send_stoc.setColumn(0,"prd_valid_de" , ASprd_valid_de );
- ds_send_stoc.setColumn(0,"mnf_no" , ASmnf_no );
- ds_send_stoc.setColumn(0,"mnf_seq" , ASmnf_seq );
- }
- //////////
- var oParam = {};
- oParam.id = "TRADT12001";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetNarcStocList";
- oParam.inds = "req=ds_send_stoc";
- oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
- // trace ( "총건수 : " + ds_adnmstoclist.rowcount + ds_adnmstoclistmachi.rowcount);
- // trace ( "stco건수 : " + ds_adnmstoclist.rowcount);
- // trace ( "machi건수 : " + ds_adnmstoclistmachi.rowcount);
- ///////대상자별 불출유무를 체크하여 산위단 화면에 노랑생상 넣기
- if ( ds_adnmstoclist.rowcount >= sTotdrugqty ){
- ds_main_narclist_narclist.setColumn(i,"sel" , "Y" );
- }else{
- ds_main_narclist_narclist.setColumn(i,"sel" , "N" );
- }
- if ( ds_adnmstoclist.rowcount <= sTotdrugqty ){
- sTotdrugqty = ds_adnmstoclist.rowcount ;
- }
- // alert(Fpid + ':' + Fdrugdd + ':' + Fdrugno + ':' + sTotdrugqty);
- ///등록된 데이타 수만큼 제한후 부터 처리하기 위해 기존 등록된 데이타 수 찾기
- var scnt = 0 ;
- for (var oo = 0; oo < ds_adnmstocorder.rowcount; oo++){
- var ScCode = ds_adnmstocorder.getColumn(oo, "drugcd");
- var Scfnshfg = ds_adnmstocorder.getColumn(oo, "fnshfg");
- if ( Scfnshfg == '0') {
- if ( sPrcpcd == ScCode) {
- scnt = scnt + 1;
- }
- }
- }
-
- // alert("Fisdeptnm : " + Fisdeptnm);
- for(var k = scnt; k < sTotdrugqty + scnt ; k++){
- var nRow = ds_adnmstocorder.addRow();
- ds_adnmstocorder.copyRow(nRow, ds_adnmstoclist, k);
- ds_adnmstocorder.setColumn(nRow,"prcpno", ds_main_narclist_narclist.getColumn(i, "prcpno"));
- ds_adnmstocorder.setColumn(nRow,"drugdd", ds_main_narclist_narclist.getColumn(i, "drugdd"));
- ds_adnmstocorder.setColumn(nRow,"drugno", ds_main_narclist_narclist.getColumn(i, "drugno"));
- ds_adnmstocorder.setColumn(nRow,"ioflag", ds_main_narclist_narclist.getColumn(i, "ioflag"));
- ds_adnmstocorder.setColumn(nRow,"drugseqno", ds_main_narclist_narclist.getColumn(i, "drugseqno"));
- ds_adnmstocorder.setColumn(nRow,"once_qty", parseFloat(ds_main_narclist_narclist.getColumn(i, "prcpqty")));
- ds_adnmstocorder.setColumn(nRow,"ade_cnt", parseFloat(ds_main_narclist_narclist.getColumn(i, "prcptims")));
- ds_adnmstocorder.setColumn(nRow,"tot_dcnt", parseFloat(ds_main_narclist_narclist.getColumn(i, "prcpdayno")));
- ds_adnmstocorder.setColumn(nRow,"sum_qy", parseFloat(ds_main_narclist_narclist.getColumn(i, "totdrugqty")));
- if(!utlf_isNull(ds_main_narclist_narclist.getColumn(i, "spreqty"))) {
- ds_adnmstocorder.setColumn(nRow,"spreqy", parseFloat(ds_main_narclist_narclist.getColumn(i, "spreqty")));
- } else {
- ds_adnmstocorder.setColumn(nRow,"spreqy", 0);
- }
- var Rrgstno = ds_main_prntlist_patinfo.getColumn(0, "rrgstno");
- var psptno = ds_main_prntlist_patinfo.getColumn(0, "psptno");
- // alert(Rrgstno.substr(7,7) );
- if (Rrgstno.length == 14) {
- var RRrgstno1 = Rrgstno.substr(0,6);
- var RRrgstno2 = Rrgstno.substr(7,7);
- var RRrgstnoall = RRrgstno1 + RRrgstno2;
-
- if(!utlf_isRsrNo(RRrgstnoall)) {
- if(utlf_isForegnResidentNo(RRrgstnoall)) {
- ds_adnmstocorder.setColumn(nRow,"pat_id_no_ty_cd", '02'); //외국인등록번호
- } else {
- if( (!utlf_isNull(psptno) && psptno != '-')) {
- ds_adnmstocorder.setColumn(nRow,"pat_id_no_ty_cd", '03');
- RRrgstnoall = psptno;
- } else {
- if(utlf_getSex(RRrgstnoall) == "M") {
- ds_adnmstocorder.setColumn(nRow,"pat_id_no_ty_cd", '06'); //무명남
- } else {
- ds_adnmstocorder.setColumn(nRow,"pat_id_no_ty_cd", '07'); //무명녀
- }
- }
- }
- } else {
- ds_adnmstocorder.setColumn(nRow,"pat_id_no_ty_cd", '01'); //주민번호
- }
-
- ds_adnmstocorder.setColumn(nRow,"pat_id_no", RRrgstnoall );
- }
-
- ds_adnmstocorder.setColumn(nRow,"pid", ds_main_prntlist_patinfo.getColumn(0, "pid"));
- ds_adnmstocorder.setColumn(nRow,"pat_nm", ds_main_prntlist_patinfo.getColumn(0, "patnm"));
- ds_adnmstocorder.setColumn(nRow,"lcns_asort_cd", '1');
- ds_adnmstocorder.setColumn(nRow,"lcns_no", ds_main_prntlist_patinfo.getColumn(0, "medispclid_licnsno"));
- ds_adnmstocorder.setColumn(nRow,"prsc_doc_nm", ds_main_prntlist_patinfo.getColumn(0, "medispclidnm"));
- ds_adnmstocorder.setColumn(nRow,"prsc_ord_no", ds_main_narclist_narclist.getColumn(i, "drugno"));
- var Diagcnt = ds_main_prntlist_diaginfo.rowcount;
- if ( Diagcnt > 0 ) {
- var sDiss_code = ds_main_prntlist_diaginfo.getColumn(0, "diagcd1");
- var tDiss_code = sDiss_code.indexOf(" ");
- var stDiss_code = sDiss_code.substr(0, tDiss_code);
- ds_adnmstocorder.setColumn(nRow,"diss_code", stDiss_code);
- }
- // trace(ds_adnmstocorder.saveXML());
- /* dsf_makeValue(ds_adnmstocorder,"patnm","string", ds_main_narclist_narclist.getColumn(0, "patnm"),nRow ); */
- }
- ////건당계산
- /////FCreflag Flag = 'Y'일경우 생성 즉 생성된 데이타는 안만듬
- if ( FCreflag == "Y" ) {
- but_ok.click();
- }
- }
- } else if (ArSendFlag == "Rtn") {
- but_ok.text = '반품승인'
- for(var i = 0; i < ds_main_narclist_narclist.rowcount ; i++){
- var Fpid = ds_main_narclist_narclist.getColumn(i, "pid");
- var Fdrugdd = ds_main_narclist_narclist.getColumn(i, "drugdd");
- var Fprcpdd = ds_main_narclist_narclist.getColumn(i, "prcpdd");
- var Forddd = ds_main_narclist_narclist.getColumn(i, "orddd");
- var Fdrugno = ds_main_narclist_narclist.getColumn(i, "drugno");
- var Fprcpno = ds_main_narclist_narclist.getColumn(i, "prcpno");
- var Fioflag = ds_main_narclist_narclist.getColumn(i, "ioflag");
- var Fprcphistno = ds_main_narclist_narclist.getColumn(i, "prcphistno");
- var Fdrugseqno = ds_main_narclist_narclist.getColumn(i, "drugseqno");
- var sPrcpcd = ds_main_narclist_narclist.getColumn(i, "prcpcd");
- var sPrcpno = ds_main_narclist_narclist.getColumn(i, "prcpno");
- var sRtndrurqty = parseFloat(ds_main_narclist_narclist.getColumn(i, "returnqty")); //반환량
- ds_send_selstoc.setColumn(0, "drugcd", "");
- ds_send_selstoc.setColumn(0, "prcpno", "");
- ds_send_selstoc.setColumn(0, "drugno", "");
- ds_send_selstoc.setColumn(0, "pat_id_no", "");
- ds_send_selstoc.setColumn(0, "seltype", "");
- ds_send_selstoc.setColumn(0, "drugdd", "");
- ds_send_selstoc.setColumn(0, "pid", "");
- ds_send_selstoc.setColumn(0,"drugcd" , sPrcpcd );
- ds_send_selstoc.setColumn(0,"prcpno" , Fprcpno );
- ds_send_selstoc.setColumn(0,"drugdd" , Fdrugdd );
- ds_send_selstoc.setColumn(0,"drugno" , Fdrugno );
- ds_send_selstoc.setColumn(0,"pid" , Fpid );
- ds_send_selstoc.setColumn(0,"seltype" , 'R' );
-
- var oParam = {};
- oParam.id = "TRADT12005";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetOrdSelList";
- oParam.inds = "req=ds_send_selstoc";
- oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
-
-
- if (ds_adnmstoclist.rowcount > 0 ) {
- for(var k = 0; k < sRtndrurqty ; k++){
- ///// RTNDD // RTNDT // RTNFG
- var nRow = ds_adnmstocorder.addRow();
- ds_adnmstocorder.copyRow(nRow, ds_adnmstoclist, k);
- }
- }else{
- alert("해당코드는 불출되지 않아 반환데이타를 만들수 없습니다.!")
- ds_main_narclist_narclist.setColumn(i,"sel" , "N" );
- }
- }
-
- } else if (ArSendFlag == "Spre") {
- but_ok.text = '잔량승인'
- /// alert("sprefg");
- for(var i = 0; i < ds_main_narclist_narclist.rowcount ; i++){
- var Fpid = ds_main_narclist_narclist.getColumn(i, "pid");
- var Fdrugdd = ds_main_narclist_narclist.getColumn(i, "drugdd");
- var Fprcpdd = ds_main_narclist_narclist.getColumn(i, "prcpdd");
- var Forddd = ds_main_narclist_narclist.getColumn(i, "orddd");
- var Fdrugno = ds_main_narclist_narclist.getColumn(i, "drugno");
- var Fprcpno = ds_main_narclist_narclist.getColumn(i, "prcpno");
- var Fioflag = ds_main_narclist_narclist.getColumn(i, "ioflag");
- var Fprcphistno = ds_main_narclist_narclist.getColumn(i, "prcphistno");
- var Fdrugseqno = ds_main_narclist_narclist.getColumn(i, "drugseqno");
- var sPrcpcd = ds_main_narclist_narclist.getColumn(i, "prcpcd");
- var sPrcpno = ds_main_narclist_narclist.getColumn(i, "prcpno");
- var sSpreqty = parseFloat(ds_main_narclist_narclist.getColumn(i, "spreqty")); //잔량
- var sPrcptims = parseInt(ds_main_narclist_narclist.getColumn(i, "prcptims")); //횟수
- // alert(sSpreqty) ;
- if ( sSpreqty == 0 || utlf_isNull(sSpreqty)) {
- alert("해당코드는 잔량데이타가 없습니다.!")
- ds_main_narclist_narclist.setColumn(i,"sel" , "N" );
- }else{
- ds_send_selstoc.setColumn(0, "drugcd", "");
- ds_send_selstoc.setColumn(0, "prcpno", "");
- ds_send_selstoc.setColumn(0, "drugno", "");
- ds_send_selstoc.setColumn(0, "pat_id_no", "");
- ds_send_selstoc.setColumn(0, "seltype", "");
- ds_send_selstoc.setColumn(0, "drugdd", "");
- ds_send_selstoc.setColumn(0, "pid", "");
- ds_send_selstoc.setColumn(0,"drugcd" , sPrcpcd );
- ds_send_selstoc.setColumn(0,"prcpno" , Fprcpno );
- ds_send_selstoc.setColumn(0,"drugdd" , Fdrugdd );
- ds_send_selstoc.setColumn(0,"drugno" , Fdrugno );
- ds_send_selstoc.setColumn(0,"pid" , Fpid );
- ds_send_selstoc.setColumn(0,"seltype" , 'S' );
-
- var oParam = {};
- oParam.id = "TRADT12005";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetOrdSelList";
- oParam.inds = "req=ds_send_selstoc";
- oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
-
- if (ds_adnmstoclist.rowcount > 0 ) {
- for(var k = 0; k < sPrcptims ; k++){
- // alert(ds_adnmstoclist.getColumn(k, "sprefg");
- ds_adnmstoclist.setColumn(k,"spreqy", sSpreqty);
- var nRow = ds_adnmstocorder.addRow();
- ds_adnmstocorder.copyRow(nRow, ds_adnmstoclist, k); ///sSpreqty
- // ds_adnmstocorder.setColumn(k,"spreqy" , sSpreqty );
- }
- }else{
- alert("해당코드는 불출되지 않아 잔량데이타를 만들수 없습니다.!")
- ds_main_narclist_narclist.setColumn(i,"sel" , "N" );
- }
- }
- }
- }
-
- }
- function But_View_onclick(obj:Button, e:ClickEventInfo)
- {
- ds_adnmstocorder.clearData();
- ds_adnmstocordermachi.clearData();
- ds_adnmstoclistmachi_old.clearData();
- ds_adnmstocmoveerr.clearData();
- for(var i = 0; i < ds_main_narclist_narclist.rowcount ; i++){
- var Fpid = ds_main_narclist_narclist.getColumn(i, "pid");
- var Fpatnm = ds_main_narclist_narclist.getColumn(i, "patnm");
- var Fdrugdd = ds_main_narclist_narclist.getColumn(i, "drugdd");
- var Fdrugcd = ds_main_narclist_narclist.getColumn(i, "prcpcd");
- var Fprcpcd = ds_main_narclist_narclist.getColumn(i, "prcpcd");
- var Fprcpdd = ds_main_narclist_narclist.getColumn(i, "prcpdd");
- var Forddd = ds_main_narclist_narclist.getColumn(i, "orddd");
- var Fdrugno = ds_main_narclist_narclist.getColumn(i, "drugno");
- var Fprcpno = ds_main_narclist_narclist.getColumn(i, "prcpno");
- var Fioflag = ds_main_narclist_narclist.getColumn(i, "ioflag");
- var Fprcphistno = ds_main_narclist_narclist.getColumn(i, "prcphistno");
- var Fdrugseqno = ds_main_narclist_narclist.getColumn(i, "drugseqno");
- var Fisdeptnm = ds_main_narclist_narclist.getColumn(i, "issdeptcdnm");
- var Ftotdrugqty = parseFloat(ds_main_narclist_narclist.getColumn(i, "totdrugqty")); // 처방코드명
- ds_send_stoc.setColumn(0,"pid" , "" );
- ds_send_stoc.setColumn(0,"drugcd" , "" );
- ds_send_stoc.setColumn(0,"drugdd" , "" );
- ds_send_stoc.setColumn(0,"prcpno" , "" );
- ds_send_stoc.setColumn(0,"storge_no" , "" );
- ds_send_stoc.setColumn(0,"boxflag" , "" );
- ds_send_stoc.setColumn(0,"gtin" , "" );
- ds_send_stoc.setColumn(0,"prd_valid_de", "" );
- ds_send_stoc.setColumn(0,"mnf_no" , "" );
- ds_send_stoc.setColumn(0,"mnf_seq" , "" );
- ds_send_stoc.setColumn(0,"ioflag" , "" );
- ds_send_stoc.setColumn(0,"workflag" , "" );
-
- /////////////////////
- ///부서별 저장소 및 이송유무 찾기
- ////////////////////
- ds_send_deptcd.clearData();
- ds_send_deptcd.addRow();
- ArMoveStorgno = "";
- ArMoveflag = "N";
- ds_send_deptcd.setColumn(0,"deptcd" , "" );
- ds_send_deptcd.setColumn(0,"deptnm" , Fisdeptnm );
- ds_send_deptcd.setColumn(0,"workflag" , "N" );
- var oParam = {};
- oParam.id = "TRADT12014";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetFindStorgno";
- oParam.inds = "req=ds_send_deptcd";
- oParam.outds = "ds_storge_no=storgno";
- oParam.async = false;
- tranf_submit(oParam);
- if ( ds_storge_no.rowcount < 0 ) {
- ArMoveflag = "N";
- } else {
- ArMoveflag = ds_storge_no.getColumn(0, "moveflag");
- ArMoveStorgno = ds_storge_no.getColumn(0, "storge_no");
- }
- //////// 2018년 7월 9일 일반약품은 저장소 이동없음 김민주과 협의
- if ( Ardesc == "일반"){
- ArMoveflag == "N";
- ArMoveStorgno == "";
- }
- /////////
- ////////////////////////////
- ds_send_prntinfo.setColumn(0,"pid" , Fpid );
- ds_send_prntinfo.setColumn(0,"drugdd" , Fdrugdd );
- ds_send_prntinfo.setColumn(0,"prcpdd" , Fprcpdd );
- ds_send_prntinfo.setColumn(0,"orddd" , Forddd );
- ds_send_prntinfo.setColumn(0,"drugno" , Fdrugno );
- ds_send_prntinfo.setColumn(0,"prcpno" , Fprcpno );
- ds_send_prntinfo.setColumn(0,"ioflag" , Fioflag );
- ds_send_prntinfo.setColumn(0,"prcphistno" , Fprcphistno );
- ds_send_prntinfo.setColumn(0,"drugseqno" , Fdrugseqno );
-
- // alert(sPrcpcd);
- ds_send_stoc.setColumn(0,"pid" , Fpid );
- ds_send_stoc.setColumn(0,"drugcd" , Fprcpcd );
- ds_send_stoc.setColumn(0,"drugdd" , Fdrugdd );
- ds_send_stoc.setColumn(0,"prcpno" , Fprcpno );
- var oParam = {};
- oParam.id = "TRADT12007";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetNarcStocOkList";
- oParam.inds = "req=ds_send_stoc";
- oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
- if ( ds_adnmstoclist.rowcount >= Ftotdrugqty ){
- ds_main_narclist_narclist.setColumn(i,"sel" , "Y" );
- }else{
- ds_main_narclist_narclist.setColumn(i,"sel" , "N" );
- }
- for(var k = 0; k < ds_adnmstoclist.rowcount ; k++){
- var nRow = ds_adnmstocorder.addRow();
- ds_adnmstocorder.copyRow(nRow, ds_adnmstoclist, k);
- }
-
- }
- ////////////////합계 만들기
- ds_sumlist.clearData();
- var Vcnt = 0;
- var VCode = "";
- for (var ss = 0; ss < ds_main_narclist_narclist.rowcount ; ss++){
- var VCode = ds_main_narclist_narclist.getColumn(ss, "prcpcd"); // 처방코드명
- if ( ss == 0 ) {
- var sRow = ds_sumlist.addRow();
- ds_sumlist.setColumn(sRow,"code", VCode);
- } else {
- var FCodeFlag = "Y" ;
- var Sdacnt = ds_sumlist.rowcount ;
- for (var se = 0; se < Sdacnt ; se++){
- var VCodeSave = ds_sumlist.getColumn(se, "code"); // 처방코드명
- if ( VCode == VCodeSave ) {
- var FCodeFlag = "N";
- break ;
- }
- }
- if ( FCodeFlag == "Y" ) {
- var nRow = ds_sumlist.addRow();
- ds_sumlist.setColumn(nRow,"code", VCode);
- }
- }
- }
- for ( var sm = 0; sm < ds_sumlist.rowcount ; sm++ ){
- var VSCode = ds_sumlist.getColumn(sm, "code"); // 처방코드명
- // alert (VSCode )
- //// 처방현황 조회
- var VordSum = 0 ;
- var Vorsqty = 0 ;
- for (var sn = 0; sn < ds_main_narclist_narclist.rowcount ; sn++){
- var VNCode = ds_main_narclist_narclist.getColumn(sn, "prcpcd"); // 처방코드명
- var Vordqty = ds_main_narclist_narclist.getColumn(sn, "totdrugqty"); // 처방코드명
- if ( VSCode == VNCode ) {
- // alert (VSCode +" : " + VNCode+" : " + Vordqty)
- VordSum = VordSum + Vordqty ;
- }
- }
- //// 재고불출현황 조회
- var VDrgSum = 0 ;
- for (var sn = 0; sn < ds_adnmstocorder.rowcount ; sn++){
- var VNCode = ds_adnmstocorder.getColumn(sn, "drugcd"); // 처방코드명
- if ( VSCode == VNCode ) {
- // alert (VSCode +" : " + VNCode+" : " + Vordqty)
- VDrgSum = VDrgSum + 1 ;
- }
- }
-
- ds_send_stoc.setColumn(0,"drugcd" , VSCode );
- ds_send_stoc.setColumn(0,"seltype" , "S" );
- ds_send_stoc.setColumn(0,"storge_no" , Arstorge_no );
- var oParam = {};
- oParam.id = "TRADT12002";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetNarcStocCodeList";
- oParam.inds = "req=ds_send_stoc";
- oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
- ds_sumlist.setColumn(sm,"order", VordSum);
- ds_sumlist.setColumn(sm,"outsum", VDrgSum);
- ds_sumlist.setColumn(sm,"jaegosum", ds_adnmstoclist.rowcount);
- }
-
- }
- function but_ok_onclick(obj:Button, e:ClickEventInfo)
- {
- ///조회 조건에 따라
- if (ArSendFlag == "Prcp") {
- // alert(ds_adnmstocorder.rowcount);
- for(var q = 0; q < ds_adnmstocorder.rowcount ; q++){
- var sFnshfg = ds_adnmstocorder.getColumn(q, "fnshfg");
- var sInstcd = ds_adnmstocorder.getColumn(q, "instcd");
- var sInfg = ds_adnmstocorder.getColumn(q, "infg");
- var sHistno = ds_adnmstocorder.getColumn(q, "histno");
- var sGtin = ds_adnmstocorder.getColumn(q, "gtin");
- var sPrd_valid_de = ds_adnmstocorder.getColumn(q, "prd_valid_de");
- var sMnf_no = ds_adnmstocorder.getColumn(q, "mnf_no");
- var sMnf_seq = ds_adnmstocorder.getColumn(q, "mnf_seq");
- var sSeq = ds_adnmstocorder.getColumn(q, "seq");
-
- var sPrcpno = ds_adnmstocorder.getColumn(q, "prcpno");
- var sDrugdd = ds_adnmstocorder.getColumn(q, "drugdd");
- var sDrugno = ds_adnmstocorder.getColumn(q, "drugno");
- var sIoflag = ds_adnmstocorder.getColumn(q, "ioflag");
- var sDrugseqno = ds_adnmstocorder.getColumn(q, "drugseqno");
- var sOnce_qty = parseFloat(ds_adnmstocorder.getColumn(q, "once_qty"));
- var sAde_cnt = parseFloat(ds_adnmstocorder.getColumn(q, "ade_cnt"));
- var sTot_dcnt = parseFloat(ds_adnmstocorder.getColumn(q, "tot_dcnt"));
- var sSum_qy = parseFloat(ds_adnmstocorder.getColumn(q, "sum_qy"));
- var sSpreqy = parseFloat(ds_adnmstocorder.getColumn(q, "spreqy"));
- var sPat_id_no = ds_adnmstocorder.getColumn(q, "pat_id_no");
- var sPid = ds_adnmstocorder.getColumn(q, "pid");
- var sPat_nm = ds_adnmstocorder.getColumn(q, "pat_nm");
- var sLcns_no = ds_adnmstocorder.getColumn(q, "lcns_no");
- var sPrsc_doc_nm = ds_adnmstocorder.getColumn(q, "prsc_doc_nm");
- var sPrsc_ord_no = ds_adnmstocorder.getColumn(q, "prsc_ord_no");
- var sDiss_code = ds_adnmstocorder.getColumn(q, "diss_code");
- var sPat_id_no_ty_cd = ds_adnmstocorder.getColumn(q, "pat_id_no_ty_cd");
-
- //trace(ds_sendstocupdata.saveXML());
- if ( sFnshfg == '1' ) {
- // alert("이미 등록된 데이타 등록하지 않습니다.!")
- } else {
- ds_sendstocupdata.clearData();
- ds_sendstocupdata.addRow();
- ds_sendstocupdata.setColumn(0,"instcd" , sInstcd );
- ds_sendstocupdata.setColumn(0,"infg" , sInfg );
- ds_sendstocupdata.setColumn(0,"histno" , sHistno );
- ds_sendstocupdata.setColumn(0,"gtin" , sGtin );
- ds_sendstocupdata.setColumn(0,"prd_valid_de" , sPrd_valid_de );
- ds_sendstocupdata.setColumn(0,"mnf_no" , sMnf_no );
- ds_sendstocupdata.setColumn(0,"mnf_seq" , sMnf_seq );
- ds_sendstocupdata.setColumn(0,"seq" , sSeq);
- ds_sendstocupdata.setColumn(0,"prcpno" , sPrcpno );
- ds_sendstocupdata.setColumn(0,"drugdd" , sDrugdd );
- ds_sendstocupdata.setColumn(0,"drugno" , sDrugno);
- ds_sendstocupdata.setColumn(0,"ioflag" , sIoflag);
- ds_sendstocupdata.setColumn(0,"drugseqno" , sDrugseqno );
- ds_sendstocupdata.setColumn(0,"pat_id_no_ty_cd" , utlf_isNull(sPat_id_no_ty_cd) ? "05" : sPat_id_no_ty_cd); /// 01. 주민번호
- ds_sendstocupdata.setColumn(0,"pat_id_no" , sPat_id_no );
- ds_sendstocupdata.setColumn(0,"pat_nm" , sPat_nm );
- ds_sendstocupdata.setColumn(0,"lcns_asort_cd" , "1" ); //// 1.의사
- ds_sendstocupdata.setColumn(0,"lcns_no" , sLcns_no );
- ds_sendstocupdata.setColumn(0,"prsc_doc_nm" , sPrsc_doc_nm );
- ds_sendstocupdata.setColumn(0,"prsc_ord_no" , sDrugno );
- ds_sendstocupdata.setColumn(0,"diss_code" , sDiss_code );
- ds_sendstocupdata.setColumn(0,"once_qy" , sOnce_qty );
- ds_sendstocupdata.setColumn(0,"ade_cnt" , sAde_cnt);
- ds_sendstocupdata.setColumn(0,"tot_dcnt" , sTot_dcnt );
- ds_sendstocupdata.setColumn(0,"sum_qy" , sSum_qy );
- ds_sendstocupdata.setColumn(0,"pid" , sPid );
- ds_sendstocupdata.setColumn(0,"spreqy" , sSpreqy );
- dsf_makeValue(ds_sendstocupdata,"ordtype","string", "I" );
- var oParam = {};
- oParam.id = "TXADT12001";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStocUpData";
- oParam.inds = "req=ds_sendstocupdata";
- //oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
- }
- }
- //////////////
- for(var q = 0; q < ds_adnmstocordermachi.rowcount ; q++){
- var smFnshfg = ds_adnmstocordermachi.getColumn(q, "fnshfg");
- var smInstcd = ds_adnmstocordermachi.getColumn(q, "instcd");
- var smInfg = ds_adnmstocordermachi.getColumn(q, "infg");
- var smHistno = ds_adnmstocordermachi.getColumn(q, "histno");
- var smGtin = ds_adnmstocordermachi.getColumn(q, "gtin");
- var smPrd_valid_de = ds_adnmstocordermachi.getColumn(q, "prd_valid_de");
- var smMnf_no = ds_adnmstocordermachi.getColumn(q, "mnf_no");
- var smMnf_seq = ds_adnmstocordermachi.getColumn(q, "mnf_seq");
- var smSeq = ds_adnmstocordermachi.getColumn(q, "seq");
- var smStorge_no = ds_adnmstocordermachi.getColumn(q, "storge_no");
- var smMovestorge_no= ds_adnmstocordermachi.getColumn(q, "ar_storge_no");
-
- //trace(ds_sendstocupdata.saveXML());
- if ( sFnshfg == '1' ) {
- // alert("이미 등록된 데이타 등록하지 않습니다.!")
- } else {
- ds_sendstocupdata.clearData();
- ds_sendstocupdata.addRow();
- ds_sendstocupdata.setColumn(0,"instcd" , smInstcd );
- ds_sendstocupdata.setColumn(0,"infg" , smInfg );
- ds_sendstocupdata.setColumn(0,"histno" , smHistno );
- ds_sendstocupdata.setColumn(0,"gtin" , smGtin );
- ds_sendstocupdata.setColumn(0,"prd_valid_de" , smPrd_valid_de );
- ds_sendstocupdata.setColumn(0,"mnf_no" , smMnf_no );
- ds_sendstocupdata.setColumn(0,"mnf_seq" , smMnf_seq );
- ds_sendstocupdata.setColumn(0,"seq" , smSeq);
- ds_sendstocupdata.setColumn(0,"storge_no" , smStorge_no);
- ds_sendstocupdata.setColumn(0,"out_storge_no" , smMovestorge_no);
- ds_sendstocupdata.setColumn(0,"new_storge_no" , smMovestorge_no);
- //trace(sPrcpno) ;
- ds_sendstocupdata.setColumn(0,"in_prcpno" , sPrcpno);
- ds_sendstocupdata.setColumn(0,"in_drugno" , sDrugno);
- ds_sendstocupdata.setColumn(0,"in_drugdd" , sDrugdd);
- ds_sendstocupdata.setColumn(0,"in_ioflag" , sIoflag);
- ds_sendstocupdata.setColumn(0,"in_pid" , sPid);
- dsf_makeValue(ds_sendstocupdata,"ordtype","string", "I" );
- //trace(ds_sendstocupdata.saveXML());
- var oParam = {};
- oParam.id = "TXADT12002";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStocCreate";
- oParam.inds = "req=ds_sendstocupdata";
- //oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
- ds_sendstocupdata.setColumn(0,"ordtype" , "M");
- //trace(ds_sendstocupdata.saveXML());
- var oParam = {};
- oParam.id = "TXADT12001";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStocUpData";
- oParam.inds = "req=ds_sendstocupdata";
- //oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
-
- }
- }
- //////////////
- } else if (ArSendFlag == "Rtn") {
- for(var q = 0; q < ds_adnmstocorder.rowcount ; q++){
- var Sseq = q + 1;
- var sPid = ds_adnmstocorder.getColumn(q, "pid");
- var sPat_nm = ds_adnmstocorder.getColumn(q, "pat_nm");
- var sDrugno = ds_adnmstocorder.getColumn(q, "drugno");
- var sDrugcd = ds_adnmstocorder.getColumn(q, "drugcd");
- var sFnshfg = ds_adnmstocorder.getColumn(q, "rtnfg");
- var sInstcd = ds_adnmstocorder.getColumn(q, "instcd");
- var sInfg = ds_adnmstocorder.getColumn(q, "infg");
- var sHistno = ds_adnmstocorder.getColumn(q, "histno");
- var sGtin = ds_adnmstocorder.getColumn(q, "gtin");
- var sPrd_valid_de = ds_adnmstocorder.getColumn(q, "prd_valid_de");
- var sMnf_no = ds_adnmstocorder.getColumn(q, "mnf_no");
- var sMnf_seq = ds_adnmstocorder.getColumn(q, "mnf_seq");
- var sSeq = ds_adnmstocorder.getColumn(q, "seq");
- //trace(ds_sendstocupdata.saveXML());
- if ( sFnshfg == '1' ) {
- alert(Sseq+ "번 Row 환자"+ sPid +"("+sPat_nm +") 투약번호:"+sDrugno +" 의 처방("+ sDrugcd + ")은 이미 반환승인되었습니다.!")
- } else {
- ds_sendstocupdata.clearData();
- ds_sendstocupdata.addRow();
- ds_sendstocupdata.setColumn(0,"instcd" , sInstcd );
- ds_sendstocupdata.setColumn(0,"infg" , sInfg );
- ds_sendstocupdata.setColumn(0,"histno" , sHistno );
- ds_sendstocupdata.setColumn(0,"gtin" , sGtin );
- ds_sendstocupdata.setColumn(0,"prd_valid_de" , sPrd_valid_de );
- ds_sendstocupdata.setColumn(0,"mnf_no" , sMnf_no );
- ds_sendstocupdata.setColumn(0,"mnf_seq" , sMnf_seq );
- ds_sendstocupdata.setColumn(0,"seq" , sSeq);
- ds_sendstocupdata.setColumn(0,"storge_no" , Arstorge_no);
- dsf_makeValue(ds_sendstocupdata,"ordtype","string", "R" );
- var oParam = {};
- oParam.id = "TXADT12001";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStocUpData";
- oParam.inds = "req=ds_sendstocupdata";
- //oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
- var oParam = {};
- oParam.id = "TXADT12003";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStocMove";
- oParam.inds = "req=ds_sendstocupdata";
- //oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
- }
- }
- this.reload();
- } else if (ArSendFlag == "Spre") {
- for(var q = 0; q < ds_adnmstocorder.rowcount ; q++){
- var Sseq = q + 1;
- var sPid = ds_adnmstocorder.getColumn(q, "pid");
- var sPat_nm = ds_adnmstocorder.getColumn(q, "pat_nm");
- var sDrugno = ds_adnmstocorder.getColumn(q, "drugno");
- var sDrugcd = ds_adnmstocorder.getColumn(q, "drugcd");
- var sFnshfg = ds_adnmstocorder.getColumn(q, "sprefg");
- var sInstcd = ds_adnmstocorder.getColumn(q, "instcd");
- var sInfg = ds_adnmstocorder.getColumn(q, "infg");
- var sHistno = ds_adnmstocorder.getColumn(q, "histno");
- var sGtin = ds_adnmstocorder.getColumn(q, "gtin");
- var sPrd_valid_de = ds_adnmstocorder.getColumn(q, "prd_valid_de");
- var sMnf_no = ds_adnmstocorder.getColumn(q, "mnf_no");
- var sMnf_seq = ds_adnmstocorder.getColumn(q, "mnf_seq");
- var sSeq = ds_adnmstocorder.getColumn(q, "seq");
- var sSpreqy = parseFloat(ds_adnmstocorder.getColumn(q, "spreqy"));
- //trace(ds_sendstocupdata.saveXML());
- if ( sFnshfg == '1' ) {
- alert(Sseq+ "번 Row 환자"+ sPid +"("+sPat_nm +") 투약번호:"+sDrugno +" 의 처방("+ sDrugcd + ")은 이미 잔량승인되었습니다.!")
- } else {
- ds_sendstocupdata.clearData();
- ds_sendstocupdata.addRow();
- ds_sendstocupdata.setColumn(0,"instcd" , sInstcd );
- ds_sendstocupdata.setColumn(0,"infg" , sInfg );
- ds_sendstocupdata.setColumn(0,"histno" , sHistno );
- ds_sendstocupdata.setColumn(0,"gtin" , sGtin );
- ds_sendstocupdata.setColumn(0,"prd_valid_de" , sPrd_valid_de );
- ds_sendstocupdata.setColumn(0,"mnf_no" , sMnf_no );
- ds_sendstocupdata.setColumn(0,"mnf_seq" , sMnf_seq );
- ds_sendstocupdata.setColumn(0,"seq" , sSeq);
- ds_sendstocupdata.setColumn(0,"spreqy" , sSpreqy);
- dsf_makeValue(ds_sendstocupdata,"ordtype","string", "S" );
- var oParam = {};
- oParam.id = "TXADT12001";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStocUpData";
- oParam.inds = "req=ds_sendstocupdata";
- //oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
- }
- }
- this.reload();
- }
- }
- function Button00_onclick(obj:Button, e:ClickEventInfo)
- {
- this.close();
- }
- function grd_narclist01_onheadclick(obj:Grid, e:GridClickEventInfo)
- {
- // obj.enableevent = false;
- // if(e.col == 1) fn_chkAll(obj);
- // obj.enableevent = true;
- }
- /******************************************************************
- * Argument : fn_chkAll(obj)
- * Description : head checkbox click event
- ******************************************************************/
- function fn_chkAll(obj){
- if( obj.getCellProperty("Head", 1, "displaytype") == "checkbox"){
- if( utlf_isNull(obj.getCellProperty("Head", 1, "text")) ){
- obj.setCellProperty("Head", 1, "text","expr:1");
- for( var i = 0; i < ds_adnmstocorder.rowcount; i++ ){
- var narcstat = ds_adnmstocorder.getColumn(i, "flag");
- if( narcstat == "1"){
- ds_adnmstocorder.setColumn(i, "flag", "0");
- } else {
- ds_adnmstocorder.setColumn(i, "flag", "1");
- }
- }
- } else {
- obj.setCellProperty("Head", 1, "text", "");
- for( var i = 0; i < ds_adnmstocorder.rowcount; i++ ){
- ds_adnmstocorder.setColumn(i, "flag", "0");
- }
- }
- }
- }
- function But_BatcodePrt_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var qq = 0; qq < ds_adnmstocorder.rowcount ; qq++){
- var SFlag = ds_adnmstocorder.getColumn(qq, "flag");
- if ( SFlag == '1'){
- ds_mainprtdata.clearData();
- FrFindflag = "N";
- var Spid = ds_adnmstocorder.getColumn(qq, "pid");
- var Spatnm = ds_adnmstocorder.getColumn(qq, "pat_nm");
- var Sdrugcd = ds_adnmstocorder.getColumn(qq, "drugcd");
- ////////////// 명칭 찾기
- for(var ww = 0; ww < ds_main_narclist_narclist.rowcount ; ww++){
- if (FrFindflag == "N") {
- var Fdrugcd = ds_main_narclist_narclist.getColumn(ww, "prcpcd");
- if (Sdrugcd == Fdrugcd) {
- var Sdrugnm = ds_main_narclist_narclist.getColumn(ww, "drugnm");
- // alert(Sdrugnm);
- FrFindflag = "Y" ;
- }
- }
- }
- var Sdrugno = ds_adnmstocorder.getColumn(qq, "drugno");
- var Sdrugdd = ds_adnmstocorder.getColumn(qq, "drugdd");
- var Sstorge_no = ds_adnmstocorder.getColumn(qq, "storge_no");
- var Slabelno = ds_adnmstocorder.getColumn(qq, "labelno");
- var Sprd_valid_de = ds_adnmstocorder.getColumn(qq, "prd_valid_de");
- var Smnf_no = ds_adnmstocorder.getColumn(qq, "mnf_no");
- var Smnf_seq = ds_adnmstocorder.getColumn(qq, "mnf_seq");
- var Sseq = ds_adnmstocorder.getColumn(qq, "seq");
- dsf_makeValue(ds_mainprtdata,"pid","string", Spid );
- dsf_makeValue(ds_mainprtdata,"patnm","string", Spatnm );
- dsf_makeValue(ds_mainprtdata,"drugcd","string", Sdrugcd );
- dsf_makeValue(ds_mainprtdata,"drugnm","string", Sdrugnm );
- dsf_makeValue(ds_mainprtdata,"drugno","string", Sdrugno );
- dsf_makeValue(ds_mainprtdata,"drugdd","string", Sdrugdd );
- dsf_makeValue(ds_mainprtdata,"storge_no","string", Sstorge_no );
- dsf_makeValue(ds_mainprtdata,"labelno","string", Slabelno );
- dsf_makeValue(ds_mainprtdata,"prd_valid_de","string", Sprd_valid_de );
- dsf_makeValue(ds_mainprtdata,"mnf_no","string", Smnf_no );
- dsf_makeValue(ds_mainprtdata,"mnf_seq","string", Smnf_seq );
- dsf_makeValue(ds_mainprtdata,"seq","string", Sseq );
-
- var posx = "";
- var posy = "";
- var printnm = "";
- var objDOM = rptf_createDOM(); // DOM 객체 설정
- rptf_setNodeListToDOM(objDOM, "/root/main/prtdata", ds_mainprtdata); // 데이터셋 1
- var objParam = new Object();
- objParam.xml_data_XML1 = objDOM.documentElement.source; // 최상의노드 XML 스트링 추출
- var option = "open=0;save=0;directprint=1;printdialog=0;print=0;zoom=0;";
- rptf_exeReportPreview30(["RFADT12004"],[objParam], option);
- }
- }
-
- }
- function But_ReCreat_onclick(obj:Button, e:ClickEventInfo)
- {
- for(var i = 0; i < ds_main_narclist_narclist.rowcount ; i++){
- ds_adnmstocorder.clearData();
- ds_adnmstocordermove.clearData();
- ds_adnmstocordermachi.clearData();
- var Fpid = ds_main_narclist_narclist.getColumn(i, "pid");
- var Fpatnm = ds_main_narclist_narclist.getColumn(i, "patnm");
- var Fdrugdd = ds_main_narclist_narclist.getColumn(i, "drugdd");
- var Fdrugcd = ds_main_narclist_narclist.getColumn(i, "prcpcd");
- var Fprcpcd = ds_main_narclist_narclist.getColumn(i, "prcpcd");
- var Fprcpdd = ds_main_narclist_narclist.getColumn(i, "prcpdd");
- var Forddd = ds_main_narclist_narclist.getColumn(i, "orddd");
- var Fdrugno = ds_main_narclist_narclist.getColumn(i, "drugno");
- var Fprcpno = ds_main_narclist_narclist.getColumn(i, "prcpno");
- var Fioflag = ds_main_narclist_narclist.getColumn(i, "ioflag");
- var Fprcphistno = ds_main_narclist_narclist.getColumn(i, "prcphistno");
- var Fdrugseqno = ds_main_narclist_narclist.getColumn(i, "drugseqno");
- var Fisdeptnm = ds_main_narclist_narclist.getColumn(i, "issdeptcdnm");
- var Ftotdrugqty = parseFloat(ds_main_narclist_narclist.getColumn(i, "totdrugqty")); // 처방코드명
- ds_send_stoc.setColumn(0,"pid" , "" );
- ds_send_stoc.setColumn(0,"drugcd" , "" );
- ds_send_stoc.setColumn(0,"drugdd" , "" );
- ds_send_stoc.setColumn(0,"prcpno" , "" );
- ds_send_stoc.setColumn(0,"storge_no" , "" );
- ds_send_stoc.setColumn(0,"boxflag" , "" );
- ds_send_stoc.setColumn(0,"gtin" , "" );
- ds_send_stoc.setColumn(0,"prd_valid_de", "" );
- ds_send_stoc.setColumn(0,"mnf_no" , "" );
- ds_send_stoc.setColumn(0,"mnf_seq" , "" );
- ds_send_stoc.setColumn(0,"ioflag" , "" );
- ds_send_stoc.setColumn(0,"workflag" , "" );
-
- /////////////////////
- ///부서별 저장소 및 이송유무 찾기
- ////////////////////
- ds_send_deptcd.clearData();
- ds_send_deptcd.addRow();
- ArMoveStorgno = "";
- ArMoveflag = "N";
- ds_send_deptcd.setColumn(0,"deptcd" , "" );
- ds_send_deptcd.setColumn(0,"deptnm" , Fisdeptnm );
- ds_send_deptcd.setColumn(0,"workflag" , "N" );
- var oParam = {};
- oParam.id = "TRADT12014";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetFindStorgno";
- oParam.inds = "req=ds_send_deptcd";
- oParam.outds = "ds_storge_no=storgno";
- oParam.async = false;
- tranf_submit(oParam);
- if ( ds_storge_no.rowcount < 0 ) {
- ArMoveflag = "N";
- } else {
- ArMoveflag = ds_storge_no.getColumn(0, "moveflag");
- ArMoveStorgno = ds_storge_no.getColumn(0, "storge_no");
- }
- //////// 2018년 7월 9일 일반약품은 저장소 이동없음 김민주과 협의
- if ( Ardesc == "일반"){
- ArMoveflag == "N";
- ArMoveStorgno == "";
- }
- /////////
-
- ////////////////////////////
- //////등록된 데이타 찾기
- ds_send_stoc.setColumn(0,"pid" , Fpid );
- ds_send_stoc.setColumn(0,"drugcd" , Fprcpcd );
- ds_send_stoc.setColumn(0,"drugdd" , Fdrugdd );
- ds_send_stoc.setColumn(0,"prcpno" , Fprcpno );
- ds_send_stoc.setColumn(0,"drugno" , Fdrugno );
- ds_send_stoc.setColumn(0,"ioflag" , Fioflag );
- ds_send_stoc.setColumn(0,"workflag" , "OK" );
- var oParam = {};
- oParam.id = "TRADT12007";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetNarcStocOkList";
- oParam.inds = "req=ds_send_stoc";
- oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
- var Fokcnt = ds_adnmstoclist.rowcount ;
- var Fmoveokflag = "N";
- var Fmovecnt = 0;
- if ( Ftotdrugqty > Fokcnt ) {
- Fmoveokflag = "Y";
- Fmovecnt = Ftotdrugqty - Fokcnt;
- }
- //////해당 저장소에 해당물건 찾기
- ds_send_stoc.setColumn(0,"drugcd" , Fprcpcd );
- ds_send_stoc.setColumn(0,"storge_no" , Arstorge_no );
- ds_send_stoc.setColumn(0,"seltype" , "S" );
- var oParam = {};
- oParam.id = "TRADT12001";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetNarcStocList";
- oParam.inds = "req=ds_send_stoc";
- oParam.outds = "ds_adnmstoclistmove=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
- if ( ArMoveflag == "Y" && Fmoveokflag == "Y" ) {
- for(var k = 0 ; k < Fmovecnt ; k++){
- var nRow = ds_adnmstocordermove.addRow();
- ds_adnmstocordermove.copyRow(nRow, ds_adnmstoclistmove, k);
- ds_adnmstocordermove.setColumn(nRow,"ar_storge_no" , ArMoveStorgno );
- }
- }
- for(var q = 0; q < ds_adnmstocordermove.rowcount ; q++){
- var smFnshfg = ds_adnmstocordermove.getColumn(q, "fnshfg");
- var smInstcd = ds_adnmstocordermove.getColumn(q, "instcd");
- var smInfg = ds_adnmstocordermove.getColumn(q, "infg");
- var smHistno = ds_adnmstocordermove.getColumn(q, "histno");
- var smGtin = ds_adnmstocordermove.getColumn(q, "gtin");
- var smPrd_valid_de = ds_adnmstocordermove.getColumn(q,"prd_valid_de");
- var smMnf_no = ds_adnmstocordermove.getColumn(q, "mnf_no");
- var smMnf_seq = ds_adnmstocordermove.getColumn(q, "mnf_seq");
- var smSeq = ds_adnmstocordermove.getColumn(q, "seq");
- var smStorge_no = ds_adnmstocordermove.getColumn(q, "storge_no");
- var smMoveStorge_no= ds_adnmstocordermove.getColumn(q,"ar_storge_no");
- ds_sendstocupdata.clearData();
- ds_sendstocupdata.addRow();
- ds_sendstocupdata.setColumn(0,"instcd" , smInstcd );
- ds_sendstocupdata.setColumn(0,"infg" , smInfg );
- ds_sendstocupdata.setColumn(0,"histno" , smHistno );
- ds_sendstocupdata.setColumn(0,"gtin" , smGtin );
- ds_sendstocupdata.setColumn(0,"prd_valid_de" , smPrd_valid_de );
- ds_sendstocupdata.setColumn(0,"mnf_no" , smMnf_no );
- ds_sendstocupdata.setColumn(0,"mnf_seq" , smMnf_seq );
- ds_sendstocupdata.setColumn(0,"seq" , smSeq);
- ds_sendstocupdata.setColumn(0,"storge_no" , smStorge_no);
- ds_sendstocupdata.setColumn(0,"out_storge_no" , smMoveStorge_no);
- ds_sendstocupdata.setColumn(0,"new_storge_no" , smMoveStorge_no);
- //trace(sPrcpno)
-
- ds_sendstocupdata.setColumn(0,"in_prcpno" , Fprcpno);
- ds_sendstocupdata.setColumn(0,"in_drugno" , Fdrugno);
- ds_sendstocupdata.setColumn(0,"in_drugdd" , Fdrugdd);
- ds_sendstocupdata.setColumn(0,"in_ioflag" , Fioflag);
- ds_sendstocupdata.setColumn(0,"in_pid" , Fpid);
- dsf_makeValue(ds_sendstocupdata,"ordtype","string", "I" );
- trace(ds_sendstocupdata.saveXML());
- var oParam = {};
- oParam.id = "TXADT12002";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStocCreate";
- oParam.inds = "req=ds_sendstocupdata";
- //oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
- ds_sendstocupdata.setColumn(0,"ordtype" , "M");
- trace(ds_sendstocupdata.saveXML());
- var oParam = {};
- oParam.id = "TXADT12001";
- oParam.service = "pharmacydrugsumapp.NarcManagent";
- oParam.method = "reqGetStocUpData";
- oParam.inds = "req=ds_sendstocupdata";
- //oParam.outds = "ds_adnmstoclist=stocdata";
- oParam.async = false;
- tranf_submit(oParam);
- }
- }
-
- }
- ]]></Script>
- </Form>
- </FDL>
|