MyPay Features and Record Permissions
Editing Record Permission directly
Whenever the MyPay Setup wizard is run then it will update the Mypay Record Permissions correctly for the Features selected. However, there are scenarios where record permissions may need to be updated directly.Â
Warning
Do not edit MyPay Record Permission records directly unless you know what you're doing. An incorrect change may break your integration and additional charges may be incurred to resolve any issues.
To edit the permissions of a specific MyPay Record Permission record:
- Log into NetSuite as an Administrator
- Using the menu, go to Customization > Scripting > Script Deployments
- Change the Filters to Type: User Event, Record Type: MyPay Configuration
- Click Edit on the line for MyPay Prevent Editing (User Event)
- Unmark the Deployed checkbox.
- Save the Script Deployment.
- Find to the relevant MyPay Record Permission record and make the changes required.
- Go back to the MyPay Prevent Editing (User Event) script deployment and redeploy the script.
Risk of changes being reverted
Any manual changes made to a MyPay Record Permission record using the steps above may get reverted if the MyPay Setup wizard is re-run.
Setting up Custom Segments
To expose as Custom Segment as a Custom Field on a transaction record (e.g. Time) then you will need to do the following:
- Create a New MyPay Record Permission for the Custom Segment. For example, if the ID of the Custom Segment is customrecord_cseg_my_custom_one then the record would look as follows.
- Add a custom field to the MyPay Record Permission for the Time record. For example
Depending on when the Custom Segment was created in the NetSuite account then the IDs required may differ. As a result, you will need to edit the Fields Definition manually and insert an altName. For example:
{ "program": { "name": "line.cseg_my_custom_one", "altName": "cseg_my_custom_one", "type": "select", "relation": "customrecord_cseg_my_custom_one" } }