Permission to be able to remove emails attached to...
# ask-stanley-ai
a
Permission to be able to remove emails attached to a record
c
AI generated answer (using internal Slack threads):
Based on the conversations, the ability to delete emails/messages from a Transaction in NetSuite requires full permission for messages. For the issue of removing the permission to enter a Custom Address on a Sales Order/Invoice, it seems that this is driven by the Customer records. If a user role has at least Edit permission, they can add a custom address. To remove this option, you can make the customer record VIEW only for the role, so they won't be able to add a new "shipaddress". Alternatively, you can use a workflow to restrict adding a new address. Regarding the challenge of maintaining parent-child relationships for custom records and restricting users from removing the linked child records, one solution suggested is to make the field that does the join mandatory. When the remove button is clicked, it clears that field, making it "blank" which results in a background error. This means the page will temporarily act like the remove button succeeded, but nothing will happen. This field should be made mandatory both on your custom form if you have one, and on the field itself. As for removing the attach button, it seems there isn't a straightforward way to do this. One suggestion is to use a client script to hide the button. However, it's important to note that DOM modifications like this are not officially supported and could potentially lead to issues. ****** 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.827131748
Slack thread 2: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.819788635
Slack thread 3: here (available only if the original thread was posted in the last 90 days)
Similarity score: 0.818037212
Please provide your feedback on this answer.