FDM Import Script adding records missing original records
I had to amend an inherited import script as the file format has changed (from .txt to .csv) The orignial script adds records to the import file and worked successfully with both the additional records and the original data processed together.
I am a novice with scripting and have changed the mid(strRecord,,) lines to DW.Utilities.fParseString(strRecord,,,) - this creates the new records successfully but the original records are missing!
Creating records good, keeping original records FAIL. I apologise in advance for including the complete script but hoped this would help answer any additional questions.
Any help appreciated