Aaron McCausland
07/14/2026, 9:49 PMCeligo AI
07/14/2026, 9:49 PMAI generated answer (using internal Slack threads):Based on the conversations, it seems like the issue you're encountering is related to the context in which the account is being set in SuiteScript. In the first thread, the issue was that the account being set was a non-posting account. Non-posting accounts can be selected in the UI, but they cannot be used in scripts. In the second thread, the issue was that a field that sources the account was not set, which filtered out the account. The solution was to use
Field.getSelectOptions to check the available options for the account field.
In the third thread, the issue was that the account number was being used instead of the internal ID. In NetSuite, when setting the account field in SuiteScript, you should use the internal ID, not the account number.
So, in your case, you should ensure that:
1. The account you're trying to set is not a non-posting account.
2. All fields that source the account field are set correctly.
3. You're using the internal ID of the account, not the account number.
Remember, the context matters. The account that works in one context (like the UI) might not work in another context (like SuiteScript).
******
Disclaimer:
This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes.
******Celigo AI
07/14/2026, 9:49 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.88293457
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.865600467
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.86505127
Celigo AI
07/14/2026, 9:49 PMDhiraj Gore
07/15/2026, 3:50 PMAaron McCausland
07/16/2026, 5:35 PM