%@ LANGUAGE = "VBScript" %> <%Response.Buffer = False%> <% Session.Timeout = 120 Server.ScriptTimeout = 5000 busca=request.QueryString("busca") doc=request.QueryString("doc") origen=request.QueryString("origen") Date_ini=Request.Form("Date_ini") Date_end=Request.Form("Date_end") lvende=Request.Form("cvende") criterio22=Request.Form("criterio22") if criterio22="" then xcriterio22=" Todos " end if if Date_ini="" or Date_ini=null then 'Date_ini=date()-(day(date()))+1 Date_ini=date()-1 Date_end=date()-1 end if dia1=right("00"&day(Date_ini),2) mes1=right("00"&month(Date_ini),2) anno1=right("00"&year(Date_ini),4) 'Date_inii=cdate(dia1+"/"+mes1+"/"+anno1) cfechai=cdbl(anno1+mes1+dia1) dia2=right("00"&day(Date_end),2) mes2=right("00"&month(Date_end),2) anno2=right("00"&year(Date_end),4) 'cfechaf=cdate((dia2+"/"+mes2+"/"+anno2)) cfechaf=cdbl(anno2+mes2+dia2) '''''''''''calcula strday = Right("00" & Day(Date_ini), 2) strmonth = Right("00" & Month(Date_ini), 2) stryear = Right("00" & Year(Date_ini), 4) strday2 = Right("00" & Day(Date_end), 2) strmonth2 = Right("00" & Month(Date_end), 2) stryear2 = Right("00" & Year(Date_end), 4) fechainicial = CStr(stryear + strmonth + strday) fechafinal = CStr(stryear2 + strmonth2 + strday2) 'response.write(fechainicial)&" FI " ' response.write(fechafinal)&" Ff " '''''''''''''''''''''''''''''''''''''' %>
CORRUGATOR I |
|||||||||||||||
| PROD DATE(JOBYMD) | SHIFT (JOBJO) | ORDER NO.(SUJUNO) | CUSTOMER(CUST) | BOX ITEM(BOX_NM) | FLUTE(GOL) | PAPER COMBINATION(JIJG) | LENGTH(JANG) | WIDTH(WPOK) | TARGET(QTY) | PROD QTY(PQTY) | TOTAL LENGTH (M) | TOTAL M2 | Bad Qty(EQTY) | Work Hr | Stop Hr |
| <%= Rscorr("JOBYMD")%> | <%= Rscorr("JOBJO")%> | <%= Rscorr("SUJUNO")%> | <%= Rscorr("CUST")%> | <%= Rscorr("BOX_NM")%> | <%= Rscorr("GOL")%> | <%= Rscorr("JIJG")%> | <%= Rscorr("JANG")%> | <%= Rscorr("WPOK")%> | <%= Rscorr("QTY")%> | <%= Rscorr("PQTY")%> | <%= formatnumber((Rscorr("JANG")*Rscorr("PQTY")/1000),0)%> | <%= formatnumber((Rscorr("JANG")*Rscorr("WPOK")*Rscorr("PQTY")/1000000),0) %> | <% totalTiempo = Rscorr("dtime") hores = int((totalTiempo/3600)) aux = int(totalTiempo-(3600*hores)) minuts = int(aux/60) segons = totalTiempo-hores*3600-minuts*60 Downtime = hores&":"&right("00"&minuts,2)&":"&right("00"&segons,2) Tiempo2 = Rscorr("jtime") hores2 = int((Tiempo2/3600)) aux2 = int(Tiempo2-(3600*hores2)) minuts2 = int(aux2/60) segons2 = Tiempo2-hores2*3600-minuts2*60 Worktime = hores2&":"&right("00"&minuts2,2)&":"&right("00"&segons2,2) %><%= Rscorr("EQTY")%> | <%= worktime%> | <%= downtime%> |
<%=FORMATNUMBER(TOTTARGET,0)%> |
<%=FORMATNUMBER(TOTPROD,0) %> |
<%=FORMATNUMBER(TOTML,0) %> M |
<%=FORMATNUMBER(TOTM2,0) %> M2 |
<%=FORMATNUMBER(TOTbad,0) %> |
<%=TOTwt %> hrs |
<%=TOTdt %> hrs |
|||||||||