N/piremoval Module for Personal Information Management

The N/piremoval module provides tools for managing personal information removal tasks in NetSuite, ensuring data privacy compliance.

·2 min read·View Oracle Docs

The N/piremoval module provides essential features for handling personal information removal tasks within NetSuite. This is crucial for compliance with data privacy regulations, allowing developers to manage sensitive customer data securely.

How Does the N/piremoval Module Work?

The N/piremoval module introduces several key objects and methods designed for personal information (PI) management. These features help developers create, load, and delete tasks related to removing personal information from records.

Key Module Members

Member NameTypeDescription
piremoval.PiRemovalTaskObjectRepresents a task for removing personal information.
piremoval.PiRemovalTaskLogItemObjectLogs the status of a personal information removal task.
piremoval.PiRemovalTaskStatusObjectProvides the status of a personal information removal task.

Important Methods

  • piremoval.createTask(options)
    Creates a new personal information removal task. This method requires the Remove Personal Information Create permission.
    Example:

    suitescript
    1var myPiRemovalTask = piremoval.createTask({
    2 recordType: 'customer',
    3 recordIds: [11, 19],
    4 fieldIds: ['comments', 'phone'],
    5 workflowIds: [1],
    6 historyOnly: false,
    7 historyReplacement: 'removed_value'
    8});
    9myPiRemovalTask.save();
    10myPiRemovalTask.run();
  • piremoval.deleteTask(options)
    Deletes an existing personal information removal task.

  • piremoval.getTaskStatus(options)
    Retrieves the status of an existing removal task.

  • piremoval.loadTask(options)
    Loads a previously created personal information removal task.

Who This Affects

The N/piremoval module primarily impacts the following roles within NetSuite:

  • Developers: To implement data removal tasks comprehensively.
  • Administrators: For overseeing compliance with privacy regulations.

Key Takeaways

  • The N/piremoval module is essential for managing personal data compliance in NetSuite.
  • Key objects include PiRemovalTask, PiRemovalTaskLogItem, and PiRemovalTaskStatus.
  • Methods like createTask, deleteTask, and getTaskStatus provide control over data removal processes.
  • User permissions are necessary to utilize these features effectively.

Source: This article is based on Oracle's official NetSuite documentation.

Frequently Asked Questions (4)

What permissions are necessary to create a personal information removal task using the N/piremoval module?
The 'Remove Personal Information Create' permission is required to create a new personal information removal task using the N/piremoval module.
Can the N/piremoval module be used for both creating and deleting personal information removal tasks?
Yes, the N/piremoval module includes methods for both creating tasks with `piremoval.createTask` and deleting tasks with `piremoval.deleteTask`.
How does the N/piremoval module ensure compliance with data privacy regulations?
The module provides tools for managing tasks related to removing personal information from records, which helps in complying with data privacy regulations by allowing secure handling of sensitive customer data.
Does the N/piremoval module provide a way to check the status of personal information removal tasks?
Yes, the module provides the `piremoval.getTaskStatus` method, which allows developers to retrieve the status of an existing personal information removal task.
Source: N/piremoval Module Members Oracle NetSuite Help Center. This article was generated from official Oracle documentation and enriched with additional context and best practices.

Was this article helpful?

More in Security

View all Security articles →