Here's the code where it inserts the other charge ...
# suitescript
k
Here's the code where it inserts the other charge sale item. It does so based on an array of objects consisting of the line number as the array index and all the fields and their values.