You can attach (with nlapiAttachRecord) and detach (with nlapiDetachRecord) records in NetSuite and files in the NetSuite file cabinet. You can specify if you want to attach a record or detach a record while configuring the import.
Choose one of the following options:
Note: If you encounter unexpected behavior when switching an existing import from Add, Update, or Add/Update to Attach or Detach, delete and rebuild the import step with Attach or Detach as the initial setting. This behavior is a known issue that will be resolved in an upcoming release.
Once you select attach or detach, you can add more information in the mappings page. The mappings page has the following locked properties.
|Attach To Record Type*
|Attach To Internal ID*
|Attached Record Type*
|Attached Internal ID*
|Detach From Record Type*
|Detach From Internal ID*
|Detached Record Type*
|Detached Internal ID*
You can also run dynamic lookup to find existing records in NetSuite to perform the attach/detach operation.