Javascript to manipulate fields in second list added as DataTable in primary form

Hello @syeda33,

Where are you using the code? On Parent or Child Form?

Please share the code that is related to calculating totals and the screenshot of the error in the console tab, not the source tab.