Is there a way to redirect to a new record page wi...
# suitescript
v
Is there a way to redirect to a new record page with the redirect module? Based on what I’m seeing it seems like you can only redirect to a specific record. In suitescript 1.0 this can be done via
nlapiSetRedirectURL('RECORD', 'itemreceipt', null, true, { poId: nlapiGetRecordId() });
v
I thought I’d have to use
redirect.toRecord
?
b
unless you figure out a way to make the id not mandatory
v
oh wow I never knew of Task link IDs. I wonder why those task links aren’t documented. They seem extremely useful
b
person writing the documentation didnt want to go to each netsuite page to find the task link
😂 1
💯 1