How to Skip lines in CSV in dataport

Hi all,

while importing Data port i want to skip some lines in csv file… is that possible…??

e.g: im importing purchase line, purchase line has the item no. which does not exist in item master, so error says like–>item no. does not exist in the related table item…now i want to skip that line & import the remaining line…

thanks & regards,

Sathish.

Was posted to Membership Question forum - moved to NAV Development.

On the data item for which you want to skip lines, you can change the AutoSave property to false. Then you’d want to add code to conditionally insert the line in the OnAfterImport trigger.