Login

Enter the Airway Bill Number of your shipment
More ways to track
Express, Freight,
Shop & Ship, Advanced
 
Customer Resources
List of Banned Items
World Time
Currency Converter
International Holidays
US Zip Code

Shipment Summary

Times given are local to the service area in which the shipment checkpoint is recorded

<% dim rs dim i Dim sawbno Dim sawbno1 Dim sawbno2 Dim mRecFound mRecFound = False 'Response.write (Request("txtawbno")) sawbnos = replace(Request("txtawbno"),chr(13),",") sawbnos = replace(sawbnos,chr(10),",") sawbnos = replace(sawbnos," ",",") 'Response.write (sawbnos) 'Response.end if Mid(sawbnos,len(sawbnos),1) <> "," then sawbnos = sawbnos + "," end if For i = 1 To Len(sawbnos) If Mid(sawbnos, i, 1) <> "," Then 'MsgBox (Mid(sawbnos, i, InStr(i, sawbnos, ",") - i)) sawbno = sawbno & Mid(sawbnos, i, InStr(i, sawbnos, ",") - i) & "," End If i = InStr(i, sawbnos, ",") Next 'Response.write sawbno 'Response.end For j = 1 To Len(sawbno) sawbno1 = Mid(sawbno, j, CInt(InStr(j, sawbno, ",")) - j) Set rs = Server.CreateObject("ADODB.Recordset") sQuery = "select agentawbno1,Agentname1,Awbno,OrgName,DestName,recvrnam,DelvDt,DelvTM,custname,Custadd1,Custadd2,Custadd3,Custadd4,Custpin,Custtel,cnsgname,cnsgadd1,cnsgadd2,cnsgadd3,cnsgadd4,cnsgpin,cnsgtel from IccWebMast WHERE " sQuery = sQuery & " awbno ='" & sawbno1 & "'" rs.open sQuery,Conn IF not rs.BOF THEN mRecFound = True Do while Not rs.eof %>
From To Current Status
" class="nodecoration-gray"><%=rs.fields("orgname")%>   " class="nodecoration-gray"><%=rs.fields("Destname")%>
<%if not isnull(rs.fields("DelvDt")) and rs.fields("DelvDt")<>"" then%> <%=rs.fields("recvrnam")%>
Shipment Delivered at <%=monthname(month(rs.fields("DelvDt")))&" "&day(rs.fields("DelvDt"))&", "&year(rs.fields("DelvDt"))&" "& rs.fields("DelvTM")%>

<%END IF%> <% if Trim(UCASE(rs.fields("Agentname1")))=UCASE("DHL WORLDWIDE") THEN if not isnull(rs.fields("agentawbno1")) then if len(rs.fields("agentawbno1"))>4 then %> "><%Response.Write("DHL - "&rs.fields("agentawbno1"))%>
<% end if end if end if %> <% if Trim(UCASE(rs.fields("Agentname1")))=UCASE("UPS") THEN if not isnull(rs.fields("agentawbno1")) then if len(rs.fields("agentawbno1"))>4 then %> &ignore=&track.x=18&track.y=9"><%Response.Write("UPS - "&rs.fields("agentawbno1"))%>
<% end if end if end if %> <% if Trim(UCASE(rs.fields("Agentname1")))=UCASE("UBX EXPRESS") THEN if not isnull(rs.fields("agentawbno1")) then if len(rs.fields("agentawbno1"))>4 then %>
"> <%Response.Write("UBX - "&rs.fields("agentawbno1"))%>
<% end if end if end if %> <% if Trim(UCASE(rs.fields("Agentname1")))=UCASE("FEDEX") THEN if not isnull(rs.fields("agentawbno1")) then if len(rs.fields("agentawbno1"))>4 then %> "><%Response.Write("FEDEX - "&rs.fields("agentawbno1"))%>
<% end if end if end if %> <% if Trim(UCASE(rs.fields("Agentname1")))=UCASE("ARAMEX COURIER") THEN if not isnull(rs.fields("agentawbno1")) then if len(rs.fields("agentawbno1"))>4 then %> &TrackType=EXP&lstCountry="><%Response.Write("ARAMEX - "&rs.fields("agentawbno1"))%>
<% end if end if end if %> <% if Trim(UCASE(rs.fields("Agentname1")))=UCASE("CITYLINK COURIER - UK") THEN if not isnull(rs.fields("agentawbno1")) then if len(rs.fields("agentawbno1"))>4 then %> &hidebanners="><%Response.Write("CITY-LINK - "&rs.fields("agentawbno1"))%>
<% end if end if end if %> <% if Trim(UCASE(rs.fields("Agentname1")))=UCASE("GLOBAL ACCESS") THEN if not isnull(rs.fields("agentawbno1")) then if len(rs.fields("agentawbno1"))>4 then %> &vend=<%=rs.fields("agentname1")%>')"><%="GLOBAL - "&rs.fields("agentawbno1")%>
<% end if end if end if %> <% if Trim(UCASE(rs.fields("Agentname1")))=UCASE("DPEX INTL.") THEN if not isnull(rs.fields("agentawbno1")) then if len(rs.fields("agentawbno1"))>4 then %> &vend=<%=rs.fields("agentname1")%>')"><%="DPEX - "&rs.fields("agentawbno1")%>
<% end if end if end if %> <% if Trim(UCASE(rs.fields("Agentname1")))=UCASE("U.S POSTAL SERVICE") THEN if not isnull(rs.fields("agentawbno1")) then if len(rs.fields("agentawbno1"))>4 then %> &vend=<%=rs.fields("agentname1")%>')"><%="USPS - "&rs.fields("agentawbno1")%>
<% end if end if end if %> <% if Trim(UCASE(rs.fields("Agentname1")))=UCASE("BLUE DART") THEN if not isnull(rs.fields("agentawbno1")) then if len(rs.fields("agentawbno1"))>4 then %> &vend=<%=rs.fields("agentname1")%>')"><%="BLUE DART - "&rs.fields("agentawbno1")%>
<% end if end if end if %> <% if Trim(UCASE(rs.fields("Agentname1")))=UCASE("INDIA ONTIME") THEN if not isnull(rs.fields("agentawbno1")) then if len(rs.fields("agentawbno1"))>4 then %> &vend=<%=rs.fields("agentname1")%>')"><%="INDIA ONTIME - "&rs.fields("agentawbno1")%>
<% end if end if end if %> <% if Trim(UCASE(rs.fields("Agentname1")))=UCASE("FIRST FLIGHT") Then if not isnull(rs.fields("agentawbno1")) then if len(rs.fields("agentawbno1"))>4 then %> "><%Response.Write("FIRST FLIGHT - "&rs.fields("agentawbno1"))%>
<% end if end if end if %> <% if Trim(UCASE(rs.fields("Agentname1")))=UCASE("TNT INTERNTIONAL") Then if not isnull(rs.fields("agentawbno1")) then if len(rs.fields("agentawbno1"))>4 then %> "><%Response.Write("TNT INTERNTIONAL - "&rs.fields("agentawbno1"))%>
<% end if end if end if %> <% if Trim(UCASE(rs.fields("Agentname1")))=UCASE("SKYCOM") Then if not isnull(rs.fields("agentawbno1")) then if len(rs.fields("agentawbno1"))>4 then %>
" /> <%Response.Write("SKYCOMEX - "&rs.fields("agentawbno1"))%>
<% end if end if end if %> <% if Trim(UCASE(rs.fields("Agentname1")))=UCASE("LINEX SOLUTIONS") THEN if not isnull(rs.fields("agentawbno1")) then if len(rs.fields("agentawbno1"))>4 then %>
" /> <%Response.Write("LINEX SOLUTIONS - "&rs.fields("agentawbno1"))%>
<% end if end if end if %>
<% rs.movenext %> <%loop rs.close set rs = nothing%> <% else %>
Tracking / Airwaybill Number : <%=sawbno1%>
From To Current Status
Airway Bill Number Not Found
<% End if j = InStr(j, sawbno, ",") next %>
<% 'Response.write (Request("txtawbno")) sawbno = "" sawbnos = replace(Request("txtawbno"),chr(13),",") sawbnos = replace(sawbnos,chr(10),",") 'sawbnos = replace(sawbnos," ",",") 'Response.write (sawbnos) 'Response.end if Mid(sawbnos,len(sawbnos),1) <> "," then sawbnos = sawbnos + "," end if For i = 1 To Len(sawbnos) If Mid(sawbnos, i, 1) <> "," Then 'MsgBox (Mid(sawbnos, i, InStr(i, sawbnos, ",") - i)) sawbno = sawbno & Mid(sawbnos, i, InStr(i, sawbnos, ",") - i) & "," End If i = InStr(i, sawbnos, ",") Next %>
<% 'Response.write (sawbno) For j = 1 To Len(sawbno) sawbno1 = Mid(sawbno, j, CInt(InStr(j, sawbno, ",")) - j) Set rs = Server.CreateObject("ADODB.Recordset") sQuery = "select agentawbno1,Agentname1,Awbno,OrgName,DestName,recvrnam,DelvDt,DelvTM,custname,Custadd1,Custadd2,Custadd3,Custadd4,Custpin,Custtel,cnsgname,cnsgadd1,cnsgadd2,cnsgadd3,cnsgadd4,cnsgpin,cnsgtel from IccWebMast WHERE " sQuery = sQuery & " awbno ='" & sawbno1 & "'" rs.open sQuery,Conn IF not rs.BOF THEN Do while Not rs.eof %> <% Response.Write "" Response.Write "    " & sawbno1 & " - Detailed Report " Response.Write "" %>

Customer


<%=rs.fields("custname")%>
<%=rs.fields("OrgName")%>

Consignee


<%=rs.fields("cnsgname")%>
<%=rs.fields("DestName")%>
 
<% Set RsShipprogress = Server.createobject("ADODB.RECORDSET") RsShipprogress.Open "Select AwbNo,actiondate,actiontime,location,Exception from iccShipProgress where Awbno = '"& sawbno1 & "' Order by ActionDate Desc,ActionTime Desc",Conn IF NOT RsShipprogress.EOF THEN %>
<% Do while not RsShipprogress.EOF %> <% RsShipprogress.movenext Loop RsShipprogress.close %>
Date Time Location Service Area Details
<%=monthname(month(RsShipprogress.fields("actiondate")))&" "&day(RsShipprogress.fields("actiondate"))&", "&year(RsShipprogress.fields("actiondate"))%> <%=RsShipprogress.fields("actiontime")%> <%=RsShipprogress.fields("location")%> <%=RsShipprogress.fields("Exception")%>
 
<% End if rs.movenext loop rs.close set rs = nothing End if j = InStr(j, sawbno, ",") next %>
<% IF mRecFound = True Then %> <% End If %>


<% Conn.close Set Conn=Nothing %>