Lorenzo
11/04/2024, 10:12 AMCeligo AI
11/04/2024, 10:12 AMAI generated answer (using internal Slack threads):Based on the conversations, it seems that you cannot directly use the
externalId
as a key in SuiteScript or set a field by externalId
. Instead, you would need to perform a search or query to filter by externalId
, and then retrieve the internal id of the matching result. This applies to list items such as products or currencies.
For creating a Journal Entry, it was suggested that it might be possible to set the entity
on a line via externalId
, but this was not confirmed. It was recommended to refer to the NetSuite documentation for more details.
Regarding the error you're encountering when creating a sales order using the REST API, it was suggested to try creating the sales order in the UI using the same values as your request. This is because web services generally follow the same rules as the UI. If the shipping method with internal id 1249 is active and available for the subsidiary in the UI, it should also be valid in the API request.
******
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
11/04/2024, 10:12 AMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.850580037
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.842360497
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.841139197
Celigo AI
11/04/2024, 10:12 AM