Преглед на файлове

Remove trailing zeros on decimal imb

pull/8/head
Daniel Covington преди 5 месеца
родител
ревизия
b168f394f4
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. +2
    -2
      ImportService/TrackingDataImport.vbs

+ 2
- 2
ImportService/TrackingDataImport.vbs Целия файл

@@ -319,11 +319,11 @@ While Not InkjetRs.EOF

If Step = 1 Then
oConn.Execute("INSERT INTO KitLabels (KitID,OutboundSerial,OutboundIMBDigits) " &_
"VALUES(" & KitID & ",'" & serialStart & "','" & KitRs("OutBoundSTID").Value & Mid & serialStart & "000000000" & "');")
"VALUES(" & KitID & ",'" & serialStart & "','" & KitRs("OutBoundSTID").Value & Mid & serialStart & "');")

Else
oConn.Execute "INSERT INTO KitLabels (KitID,OutboundSerial,InBoundSerial,OutboundIMBDigits,InBoundIMBDigits) " &_
"VALUES(" & KitID & ",'" & serialStart & "','" & serialStart + 1 & "','" & KitRs("OutBoundSTID").Value & Mid & serialStart & "000000000" & "','" & KitRs("InboundSTID").Value & serialStart + 1 & Jcode & "');"
"VALUES(" & KitID & ",'" & serialStart & "','" & serialStart + 1 & "','" & KitRs("OutBoundSTID").Value & Mid & serialStart & "','" & KitRs("InboundSTID").Value & serialStart + 1 & Jcode & "');"
End If
Set KitLabelRs = oConn.Execute("SELECT TOP 1 [ID] FROM KitLabels ORDER BY ID DESC"):KitLabelID = KitLabelRs("ID").Value


Loading…
Отказ
Запис

Powered by TurnKey Linux.