To close that stuff out i've always looped through...
# suitescript
c
To close that stuff out i've always looped through the lines and set the "isclosed" flag to true