In some cases, you might like to add numbers to the imported rows. In this case, there can be used following transformation script:

if (getGlobal('M_SORT_INDICATOR') == null) { 

  setGlobal('M_SORT_INDICATOR', 0); 

} 

setGlobal('M_SORT_INDICATOR', getGlobal('M_SORT_INDICATOR') + 1); 

return getGlobal('M_SORT_INDICATOR');  

This transformation script will return record from 1 to the last record of imported data:

  • No labels