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:
- Add
- Update
- Add/Update
- Attach
- Detach
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
Name | InternalId |
Attach To Record Type* | recordType |
Attach To Internal ID* | celigo_nlobjAttachToId |
Attached Record Type* | celigo_nlobjAttachedType |
Attached Internal ID* | celigo_nlobjAttachedId |
Attribute Role | celigo_nlobjAttachDetachAttributesRole |
Attribute Field | celigo_nlobjAttachDetachAttributesField |
*- mandatory
Detach
Name | InternalId |
Detach From Record Type* | recordType |
Detach From Internal ID* | celigo_nlobjDetachFromId |
Detached Record Type* | celigo_nlobjDetachedType |
Detached Internal ID* | celigo_nlobjDetachedId |
Attribute Role | celigo_nlobjAttachDetachAttributesRole |
Attribute Field | celigo_nlobjAttachDetachAttributesField |
*- mandatory
You can also run dynamic lookup to find existing records in NetSuite to perform the attach/detach operation.
Comments
Please add the Attached Record Type list to the above article which needs to be used for attaching any types of files to the NetSuite record. I spent a lot of time debugging and then used the "file" after reading the above comment.
Please sign in to leave a comment.