Hello,
Since installing the Chargeback Workflow bundle, users have been unable to delete records they were previously able to. Each time they are presented an error message that says:
Permission Violation: You need a higher permission for custom record type Chargeback to access this page. Please contact your account administrator.
And I receive and email from NetSuite that says:
Account: xxxxx
Bundle Name: Chargeback Workflow
Environment: Production
Date & Time: 05/23/2023 12:22 pm
Record Type: Item Fulfillment
Internal ID: 26349352
Execution Time: 0.00s
Script Usage: 0
Script: CBW - UE - Transaction delete
Type: User Event
Function: beforeTransactionDelete
Error: INSUFFICIENT_PERMISSION
Permission Violation: You need a higher permission for custom record type Chargeback to access this page. Please contact your account administrator.
Stack Trace: <anonymous>(cbw_model_chargeback.js:66)
<anonymous>(cbw_ue_transaction.js$752443:48)
<anonymous>(cbw_ue_transaction.js$752443:83)
beforeTransactionDelete(cbw_ue_transaction.js$752443:100)
<anonymous>(cbw_ue_transaction.js$752443:103)
So far, the only role that has not been affected is the administrator role.
Curiously enough, the user account that was used to install the Chargeback Workflow bundle is not affected and can use the non-administrator roles to delete records just fine.
I've tried adding full access to the Chargeback, Chargeback Notification and Chargeback Settings custom records to the roles, but it made no difference.
Any heroes out there that have any suggestions?
Thanks
Joe