11
Points
Questions
0
Answers
5
-
what’s with all the div tags?
- 500 views
- 1 answers
- 0 votes
-
i believe, you can’t do what you want directly cuz they have limited what is availabe in that narrow method.
So if you are trying to dynamically join in the date from the transaction then you have two choices.
Before either choice, notice that if you export the query using
toSuiteQL
you’ll find that the function being used is `BUILTIN.CURRENCY_CONVERT` and it only accepts certain values. You can use this function manually yourself so:-
- use a formula instead. in your formula you can reference
{trandate}
and manually build in the function call yourself - jump through their hoops and then export/manipulate the SQL after it is generated.
-
- use an obviously-wrong-date such as
new Date(0)
(this is always1969-12-30
)1969-12-30
- dump the query
toSuiteQL
Search and replace the date
1969-12-30
— subsituting in"TRANSACTION".trandate
instead
- use an obviously-wrong-date such as
-
- use a formula instead. in your formula you can reference
- 348 views
- 1 answers
- 0 votes
-
-
run your client entry point as 2.0. if you wan tto write code as 2.1 then call out to other modules that use it or transpile your code down before deployment
- 554 views
- 1 answers
- 0 votes
-
. I assume you’re working either a suitelet form or a record in netsuite — as opposed to your own full html suitelet.
doespageInit
meet your use-case? There is jQuery available which provides a domReady method- 377 views
- 1 answers
- 0 votes
-
options.id
is the correct option for the serverWidget.Sublist api. Seems to fail like this on an empty string. Seems like a bug — treating empty string as undefined here. if you believe it is a bug then you could catch this error and in the catch test if you are setting empty string — if you are not then re-throw the error. That way if it is a bug or not and they fix it or not then you’re insulated.- 1145 views
- 2 answers
- 0 votes