- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
VI missing lines on import suddenly
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-28-2011 12:27 PM
I had created a SO import over a year ago and until this week, it has been working fine. Over the weekend we had a major crash and had to reinstall the server operating system - did not lose our mas data files. The import works except that only the last line is included on the sales order. The log says no errors occurred. I am importing from a CSV file that has line and header info on each line.
It looks like it is overwriting the lines so that only the last line remains in MAS.
Any ideas?
Thanks!
Below is the VI info
Import File:
File Type: DELIMITED
SO_SalesOrderHeader
Delimiter: ,
Import File On Host: N
Configuration Information Compiled Name: VIWI07
Data Elements
Column Name Oper Mask
Data
Type Type
Field
Seq No Col Default Value
0001 H.SalesOrderNo STR STD REPL 1.00 Start: 1 Len: 7
0002 H.OrderDate STR DATE REPL 2.00 M/D/Y
0003 H.OrderType STR STD ASSN 3.00 Start: 1 Len: 1 S
0004 H.OrderStatus STR STD ASSN 4.00 Start: 1 Len: 1 N
0005 H.ShipExpireDate STR DATE REPL 3.00 M/D/Y
0006 H.ARDivisionNo STR STD ASSN 7.00 00 0
0007 H.CustomerNo STR STD REPL 4.00 Start: 1 Len: 7
0008 H.BillToName STR STD REPL 5.00 Start: 1 Len: 30
0009 H.BillToAddress1 STR STD REPL 6.00 Start: 1 Len: 30
0010 H.BillToAddress2 STR STD REPL 7.00 Start: 1 Len: 30
0011 H.BillToAddress3 STR STD REPL 8.00 Start: 1 Len: 30
0012 H.BillToCity STR STD REPL 9.00 Start: 1 Len: 20
0013 H.BillToState STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #2################################################
0014 H.BillToZipCode STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #1#0##############################################
0015 H.ShipToCode STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #4################################################
0016 H.ShipToName STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #3#0##############################################
0017 H.ShipToAddress1 STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #3#0##############################################
0018 H.ShipToAddress2 STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #3#0##############################################
0019 H.ShipToAddress3 STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #3#0##############################################
0020 H.ShipToCity STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #2#0##############################################
0021 H.ShipToState STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #2################################################
0022 H.ShipToZipCode STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #1#0##############################################
0023 H.ShipVia STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #1#5##############################################
0024 H.CustomerPONo STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #1#5##############################################
0025 H.WarehouseCode STR STD ASSN #######S#ta#r#t:# 1# #L#e#n#: #3#######0#0#0####################################
0026 H.ConfirmTo STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #3#0##############################################
0027 H.Comment STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #3#0##############################################
0028 H.TermsCode STR STD REPL #######0#0################8#######################
0029 H.TaxSchedule STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #9#######N#O##V#A#################################
0030 H.PrintSalesOrders STR Y/N ASSN #######S#ta#r#t:# 1# #L#e#n#: #1#######N########################################
0031 H.PrintPickingSheets STR Y/N ASSN #######S#ta#r#t:# 1# #L#e#n#: #1#######N########################################
0032 H.SalespersonNo STR STD ASSN #######S#ta#r#t:# 1# #L#e#n#: #4#######H#O##U#S#################################
0033 H.PaymentType STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #5################################################
0034 L.ItemCode STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #1#5##############################################
0035 L.ItemCodeDesc STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #3#0##############################################
0036 L.Commissionable STR Y/N ASSN #######S#ta#r#t:# 1# #L#e#n#: #1#######N########################################
0037 L.SubjectToExemption STR Y/N ASSN #######S#ta#r#t:# 1# #L#e#n#: #1#######N########################################
0038 L.WarehouseCode STR STD ASSN #######S#ta#r#t:# 1# #L#e#n#: #3#######0#0#0####################################
0039 L.QuantityOrdered NUM STD REPL ###########,######,#######.0#0#0#0#0#0#-##########
0040 L.UnitPrice NUM STD REPL ###########,######,#######.0#0#0#0#0#0#-##########
0041 H.UDF_SHOW STR STD REPL #######S#ta#r#t:# 1# #L#e#n#: #3#0##############################################
ODBC SQL Statement
Run
Re: VI missing lines on import suddenly
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
11-28-2011 02:39 PM
Try rewriting the VI from scratch.


