there is mandatory fieds when im trying to make th...
# ask-stanley-ai
u
there is mandatory fieds when im trying to make the employee inactive- how to solve?
c
AI generated answer (using internal Slack threads):
It seems like you're trying to set an inactive employee value in a custom record or native NetSuite record without reactivating the employee. Unfortunately, as per the general rule of scripting, scripts won't let you do something you can't do in the UI. This means that if you can't perform an action in the NetSuite UI, you won't be able to do it via scripting either. One workaround suggested in the conversations is to keep the employee active and remove their roles until you're done with the tasks that require referencing them. However, this might not be a feasible solution in all cases. As for making a workflow inactive, you can set the status to 'Not Initiating' and then check the 'Inactive' box. If there are running instances of the workflow, you may want to terminate them. You can do this using a mass update or by changing the status of the workflow to 'Suspended'. ****** 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.82047087
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.807945549
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.805377722
Please provide your feedback on this answer.