Use different approaches to interact with records in SuiteScript Flashcards
Which module can we use to merge or delete duplicate records?
N/task can be used to merge or delete duplicate records.
The task.EntityDeduplicationTask object includes the following 4 properties:
◦ entity type
◦ dedupeMode
◦ masterSelectionMode
◦ masterRecordId
What information do they contain?
◦ entity type: type of entity record
◦ dedupeMode: Whether to Merge or Delete
◦ masterSelectionMode: sets how the master record is decided
◦ masterRecordId: The ID of the master record
How can we find duplicates using the N/search module?
The search.duplicates(options) function
How many records can be submitted in a single merge using the N/task module?
Up to 200 records
What record type is the only one available for merging?
You can only merge entity records
What permission do you need to have FULL permissions for in order to merge?
The Duplicate Record Management permission
The N/datasetLink module is used to link datasets, but why might this be useful?
Workbooks can use data from both datasets when they are linked