<@U5W5QEZLJ> I don't understand why you think the ...
# suitescript
m
@reza.seedin I don't understand why you think the second version might be preferable? You are just duplicating the calculation NetSuite has already done. The two values should be the same, unless the line is closed which your second version doesn't take into account. (Also you missed out setting
qtyFulfilled
in your posted code).