<@U5TNEF7FW> I'd probably rework your `if` conditi...
# suitescript
s
@karlenigma I'd probably rework your
if
conditions to a separate function something like
getCategory(<data needed to determine the right category>)
which would be a pure function that returns 13, 20 or 17 accordingly.