<%' d_cost_code = request("hangmok") p_child_sn = request("p_child_sn") p_sn = request("p_sn") 'response.Write "hangmok : " & d_cost_code &"
" p_depart = Session("Depart_Code") d_cost_type = request("d_cost_type") cost_type = request("cost_type") hangmok_code = request("hangmok") ' Session.CodePage = 65001 '한글 Response.CharSet = "EUC-KR" '한글 Response.AddHeader "Pragma","no-cache" Response.AddHeader "cache-control", "no-staff" Response.Expires = -1 response.write "" & "
" If cost_type = 1 Then query = " select d_cost_code from direct_costcode where d_cost_kind = '" & d_cost_type & "' and id = '" & d_cost_code & "' order by d_cost_kind, d_cost_parents " Else query = " select d_cost_code from direct_costcode where d_cost_kind = '" & d_cost_type & "' and id = '" & d_cost_code & "' order by d_cost_kind, d_cost_parents " End if 'response.write "" & "
" rsp.Open query, adoConn, 1 hangmok_code = 0 If rsp.recordCount > 0 Then hangmok_code = rsp("d_cost_code") End if rsp.close If hangmok_code <> 0 Then query = " select * from direct_costcode where d_cost_kind = '" & d_cost_type & "' and d_cost_parents = '" & hangmok_code & "' and d_cost_useyn = 'Y' order by attribute01 " rsp.Open query, adoConn, 1 If rsp("Id")="129" or rsp("Id")="268" Then response.write "" & "
" response.write "" & "
" Else for i=1 to rsp.recordCount response.write "" & "
" rsp.movenext next End If rsp.close End if %>