Ron
01/07/2025, 9:13 PMCeligo AI
01/07/2025, 9:13 PMAI generated answer (using internal Slack threads):Yes, governance units are reset every time a Suitelet is run. This is because each Suitelet execution is considered a separate session, and each session has its own governance limit. Therefore, if you run a Suitelet multiple times, each run will have its own set of governance units. However, it's important to note that if a Suitelet exceeds its governance limit during execution, it will be terminated and an error will be thrown. In the context of updating a large number of records, as mentioned in the first conversation, you could indeed split the task and send it to multiple Suitelet deployments. Each Suitelet would have its own governance limit, allowing you to process more records than a single Suitelet could handle. In the second conversation, it's mentioned that calling an internal backend Suitelet directly from a client script (e.g., with fetch, not using NetSuite API) doesn't use governance. This could be a useful strategy to manage governance units when working with Suitelets. ****** 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
01/07/2025, 9:14 PMSlack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.809320271
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.804770708
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.783775926
Celigo AI
01/07/2025, 9:14 PM