Marty Zigman

Conversations with Marty Zigman

Certified Administrator • ERP • SuiteCloud

Showing NetSuite Internal IDs and Field Names

NetSuite

Tags: , , , ,

When you become a NetSuite power user, you quickly learn that practically every NetSuite record has an Internal ID.  The Internal ID is a unique integer number that is typically called the Table’s Primary Key.  That integer never changes for the life of the record.  It is often only visible in the URL as you work with the system.

Exposing the NetSuite Internal ID

In order to expose the NetSuite Internal ID, two switches must be activated:

  1. Enable at least one SuiteScript Service:  as Administrator, go to Setup –> Company –> Enable Features.  See image.
  2. Activate show internal ID: This is a user preference.  Enable it by going to Home –> Set Preferences –> General Tab –> Set Defaults –> Show Internal IDs. One common confusion point is not performing the previous step.  If your account has never had SuiteScript activated, you won’t be able to see this feature. See image.

View Field Names and Internal IDs

Once the switches are activated, you now can see internal NetSuite information:

  1. View field IDs: click on the label of any form field to reveal the underlying field ID name for that element.  See image.
  2. Lists will now reveal Internal IDs: as you run searches and lists, the internal ID will automatically be exposed for you.  See image.

Use Internal IDs for Export and Imports

One important use of Internal IDs is to use them for subsequent imports to act as an update. This way, NetSuite knows exactly which records you are referring to when you are attempting to bulk update the system. The trick is to export data first from a saved search. Be sure to include the Internal ID and keep the header field name information. Then, after you update your exported data, import it back through the CSV import utility. NetSuite will see the Internal ID and suggest you use that as a key to update the main system.

Marty Zigman LinkedIn

Marty Zigman

Holding three official certifications, Marty is widely recognized as a top NetSuite expert and leads a team of senior professionals at Prolecto Resources, Inc. A former Deloitte & Touche CPA and technology executive with CTO roles, he brings over 35 years of leadership in ERP, CRM, and eCommerce business systems. Contact Marty to engage directly.

BiographyYouTubeLinkedInX (Twitter)

54 thoughts on “Showing NetSuite Internal IDs and Field Names

  1. Can Internal Id’s be exposed for Netsuite UI reporting? Are they available to be used in a generated report? What kind of data type are they stored as (varchar – 100, integer, ?)

    Thanks.

    Reply
  2. Hi Marty, I trying to develop an application to be published in netsuite. I have many questions since I’m new on netSuite. The company that I work for offers refunds returns on late shipments. So we want to develop an application that will stablish a connection between our main application and netsuite. How can I start?

    Reply
  3. We are trying to get a listing of all the transactions hitting the general ledger for a year so that we can perform a roll forward testing of accounts from beginning balances to ending balances. Also, we need the debit and credit for every entry to balance. We want to include on the report the user who created the entry as well as who approved the entry. In addition, we need all account numbers and account names to show properly, not something like “Archive2 Accounts Payable”.
    We have been trying to customize the “Transactional Detail” report to pull the data we need, but we have not been successful. Can you show us how to pull the data we need? Also, can you let us know the specific database table names that house all the general ledger data, trial balance data, and user data? Thanks a lot in advance!

    Reply
  4. Hi Marty,
    great site. I have a workflow script tied to invoices. Unfortunately I need the internalID of the invoice to solve my problem. I noticed the internalID of the invoices are given in the URL, however the script does not have access to it. And there is no internalID field in the invoice page.

    Is there someway to get the internalID of my invoices without doing a search? Perhaps a parameter that gets passed to my script?

    thanks

    Reply
  5. Hi Marty,

    Thanks for your reply.

    I was referring to how transactions can have one “main line” record and several other records, all with the same “internal ID”. Am I missing something obvious here?

    Reply
  6. Hi Marty,

    I have my internal ID showing on the list and reports now. And I am trying to search inventory item by type in internal ID but it doesn’t work. Is there anyway I can connect the search criteria to internal IDs? Thanks.

    Reply
  7. Hi Mary,
    I am trying to retrieve the “Line Unique Key” for Invoice Line items to identify each line items of an invoice transaction individually. While this shows up in Saved search as a possible option, I am unable to pull this field into the Invoice Form; I am also unable to tell which Internal ID this is mapped to, to expose to APIs that will retrieve this information from NetSuite.
    Any pointers on how to work this around? Appreciate your inputs.
    Thanks!
    Ramya

    Reply
  8. Hi Marty,

    I am working with a saved import my colleague has developed which works for her user profile, however failed to import when I use this same saved import. All the import mapping is identical, and the goal is to import a single JE which reoccurs each month. The error I am receiving says the “primary name field was not mapped or is empty.” Any idea on what is happening here?

    Thanks,
    Ryan

    Reply
  9. Where can i see the name of the field when i get it in restlet? I’m using “Formula (text)” and “Formula (numric)” and can’t find their “real” names

    Reply
  10. Marty,

    I have started to learn Netsuite and did some sample codes. While adding those Script into Netsuite, we need to specify a field called “ID”. What is the use of that? And also I can see ID field under “Deployment” Tab. Could you explain what is that ID fields?

    Reply
  11. Marty, I am new to NetSuite but stumbled across your articles and have enjoyed them greatly. Can you tell me how I can monitor the line item field “ITEM” in a Sales Order and trigger a script when the field value changes? I can easily accomplish this with a ‘header field’ such as CUSTOMER (entity) or MEMO (memo) when the name value is altered.

    Reply
  12. Hi Marty,

    Was wondering if there is a way to get the internal_ids or if they exist for line item buttons, Specifically the “Remove” button. Trying to remove this button when the form is in EDIT mode.

    Reply
  13. Hi Marty,

    I have done this in the past for normal NetSuite environments, but I now have a client on One World and the screens are all different. Any idea where I can find the setting to display the fields in the One World UI?

    Reply
  14. Hi Marty,

    I’m trying to add a “back order Qty” field on my Invoice using Advanced PDF/html templates in NetSuite. I cannot find that field on the add fields button. Can you help?

    Thanks
    Kath

    Reply
  15. I’m trying to find the field internal ids for the companyinformation configuration object. It’s not in the records browser.

    Specifically, I’m looking for the shipping and return address addressee and attention fields.

    Reply
  16. Hi Marty,

    I’m working on Inventory adjustment transaction updates. I will need to adjust the cost of the inventory using a CSV import. I created a saved search that will list down all the inventory per line with Inventory details (Bin number, Lot/serial number) All is good except for 1 ID. The internal ID for the inventory detail. I’ve used up all internal ID field I could find but no luck.

    Reply
  17. Hi,
    We are experiencing an issue with netsuite not recognizing the entity “Name” being uploaded via a csv JE upload process. We have some customer and vendor names that are similar so sometimes the values picked by netsuite are not the right entities. Besides using Internal Id is there another way to let Netsuite know through the csv upload that the entity name being entered is a customer or vendor?

    Thanks for your input.

    Reply
  18. Thanks Marty for the reply. The team is currently using Name so the upload has ‘Name’ reference selected. We discussed about using internal ID and accounting pushed back on the idea as there is more room for error without seeing the actual name of the customer/vendor being used. For the short term we decided to rename some of the vendor names that are similar to customer names with a ‘(vendor)’ prefix at the end.

    Reply
  19. How can I show the internal ID of the component line in the BOM revisions when using advanced BOMs? I’m not talking about the internal ID of the component item. I’m talking about the internal ID of the component line itself. I need to show the internal ID on the form so I can do one line component substitutions/replacements easily by mapping to that particular component line.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *