I would like to create a counter in transaction details level. If I have a 3 details records , counter will be 1 ,2 ,3 in Item No. column as below screenshot. I’ve already tried “record.index” in Java Script Mode of Extraction Step and It works for Record level and doesn’t work for transaction details level. Please kindly advice. Thank You.
Hi MyatYeeMon,
Not sure what data you have in your mapper. But I would add a new field to your table extract step. Keep it JavaScript, name it ItemNo and put this code in there.
steps.currentLoopCounter;
Regards,
S
Thank you Sharne. It works
Regards;
M
1 Like