damn my curiosity, but you can probably do this wh...
# suitescript
e
damn my curiosity, but you can probably do this whole thing with:
Copy code
REGEXP_REPLACE(LOWER({name}), '[\W_]+', '-')