I checked using the debugger. Till the lookupfield...
# suitescript
n
I checked using the debugger. Till the lookupfield function, the field is cseg1.