darrenhillconsulting
03/30/2025, 9:43 PMCeligo AI
03/30/2025, 9:43 PMAI generated answer (using internal Slack threads):Based on the conversations, it seems that you can create a customer record and assign it to multiple subsidiaries at the same time using SuiteScript 2.1. However, this is not a straightforward process and involves a few steps. Firstly, you need to enable the feature that allows multiple subsidiaries to be selected on a customer record. This can be done from the NetSuite UI. Secondly, you need to create a new 'Customer Subsidiary Relationship' record for each subsidiary you want to link to the customer. This is not a regular sublist and cannot be accessed using the usual sublist methods in SuiteScript. Unfortunately, the threads do not provide a code sample for this process. However, the general approach would be to create a new customer record, save it, then create new 'Customer Subsidiary Relationship' records linking the customer to each subsidiary. Please note that this process has some limitations and may not be suitable for all use cases. For example, once a transaction has been posted for a customer, you cannot change the subsidiary selected on the customer record. ****** 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
03/30/2025, 9:44 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.865512133
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.865406871
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.86235261
Celigo AI
03/30/2025, 9:44 PM