I have pulled an sdf project from an old instance ...
# ask-stanley-ai
a
I have pulled an sdf project from an old instance and want to deploy it at another instance. but before I deploy, i want to change the ids of the objects fetched from the old account. would the saved search object error out in deployment if the objects id is changed when deploying to a new instance?
c
AI generated answer (using internal Slack threads):
When deploying an SDF project from one instance to another, changing the IDs of the objects fetched from the old account can indeed cause issues. This is particularly true for saved searches, as they often reference specific object IDs in their criteria and formulas. If the object IDs are changed during deployment, the saved search may not be able to find the objects it's looking for, leading to errors. However, it's important to note that the error will not occur during the deployment process itself, but rather when you try to execute the saved search in the new instance. The deployment process does not validate the correctness of saved search criteria or formulas, so it won't catch this kind of issue. To avoid this, you should update the saved search criteria and formulas to reference the new object IDs after the deployment. You can do this manually in the NetSuite UI, or you can automate the process using SuiteScript. Remember, the order of objects in the
deploy.xml
file can also affect the success of the deployment. If you're encountering dependency errors, try moving the problematic objects to the top of the list in the
deploy.xml
file. ****** Disclaimer: This response was generated by an artificial intelligence assistant based on previous conversations from multiple Slack channels, and may contain inaccuracies or mistakes. ******
Slack thread 1: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.816589415
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.81036377
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.800293
Please provide your feedback on this answer.