NetSuite: how classes, departments and locations map to tracking categories
NetSuite has several ways to classify transactions. Apideck maps them like this:
In NetSuite | In Apideck |
|---|---|
Class |
|
Department | The |
Location | The |
Subsidiary | The |
Custom segments | Not returned as tracking categories. They can be set as custom fields when you create or update records. |
Which of these fields a given resource returns varies. Check the connector's coverage for the resource you use, see Understanding Connector Coverage and Limitations.
Class hierarchy
NetSuite classes can be nested, and NetSuite shows a child class as Parent : Child. Apideck splits that name: name is the last part and parent_name is the part before it. When you create a transaction, set the class on each line with tracking_categories[0].id. NetSuite takes one class per line.
With a default subsidiary
If the connection has a Default Subsidiary, classes, departments and locations marked Include Children in NetSuite are also returned for that subsidiary's child subsidiaries. Transactions, customers and suppliers only match the selected subsidiary itself. See NetSuite: working with multiple subsidiaries (OneWorld).
Contact Apideck support through the Customer Portal (the Requests link at the top of this help center), your Slack channel with us, or support@apideck.com if a dimension you need isn't mapped.
