Importing text file in NAV which has two lines.

Hi Friends,

I need to read data from text file and import into NAV table using dataport.

The text file contains have below 2 lines.
Field1="XXXXX"
Fiedl2="AAAA-BBBB-CCCC-DDDD"

I need to store the value XXXXX in Field1and AAAA-BBBB-CCCC-DDDD in Field2 in new NAV table.

Can anyone let me know how to do this task?

Thanks, Aarvi.

Answers

  • ishyampandeyishyampandey Member Posts: 22
    Create a new dataport with your table as a dataitem
    if you don't have any validation or filter than you can directly assign table fields as your data port field.
    go to View>DataPort Fields and select your field in which you want to assign value.
    save and prepare your data in CSV file and upload it.
Sign In or Register to comment.