dataport -import

pramilapramila Member Posts: 5
HI,

I am trying to import a CSV file into Navision.

I am importing values only to certain fields of the navision table. The import file is of variable format. I have made sure that the order of the import fields & the table fields are in the same order.

Dataport -import is triggered by a runObject function. However, only the last line of the CSV file gets imported to the table. I have made sure that the keys are not overwritten..

I am unable to figure this out: Kindly help!!
Thks

PV

Comments

  • themavethemave Member Posts: 1,058
    Make sure you are importing the primary key field also, otherwise all your fields look the same and each new record imports over the prior record, thus making it look like only the last record was imported.
  • SavatageSavatage Member Posts: 7,142
    I had this problem importing sales lines until I added the Line No.

    Every order was just importing "it seemed" 1 line of the order.
Sign In or Register to comment.