NetSuite: how classes, departments and locations map to tracking categories

Edited

NetSuite has several ways to classify transactions. Apideck maps them like this:

In NetSuite

In Apideck

Class

tracking_categories on transactions such as invoices, bills, credit notes and expenses, and the tracking-categories resource

Department

The departments resource, and department_id on some records (for example bills and checks)

Location

The locations resource, and location_id on some records (for example checks)

Subsidiary

The subsidiaries resource, and subsidiary_id on some records (for example suppliers and purchase orders)

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).

Related

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.

Was this article helpful?

Sorry about that! Care to tell us more?

Thanks for the feedback!

There was an issue submitting your feedback
Please check your connection and try again.