After going through documentation I have identified the following information:
-
record.tables.table name.addRow().
This method adds a record to an existing detail table and returns the index of the new record; see addRow(record).
-
record.tables.table name[index].set().
This method sets field values in one of the records in a detail table; see set(record).
With the addRow()
function, passing an object is optional. When no object is passed, the function adds an empty record to the detail table.
This function always returns the index of the new record. The returned index can be used to retrieve the detail table record and set values in it.
Therefore based on the documentation and the examples provided, I have tried to apply them for my case.
-
CSV input datamap with the following specification:

-
Extract fields at root level(BAU)
-
Create a repeat step for the certain csv column where are multiple values delimited by “#”
-
Created a table based on this note:
-
Set Javascript Mode for the extracted row within the detail table

with the following code snippet :
var x = data.extract(‘tabel_asset_movable_MARK’,0).split("#");
for (i=0; i<x.length; i++){
var index = record.tables.detail.addRow({tabel_asset_movable_MARK: x[i]})
record.tables.detail[index].set({tabel_asset_movable_MARK: x[i]})
}
The outcome of the mentioned steps provides the desired result but still I have a persistent error, even tough values are displayed correctly in detail table.




Any help or guidance would be much appreciated!
Thank you have a nice weekend!