Discussions

Check out Oracle NetSuite upcoming events and conferences here
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Update your Profile with your Support type to get your Support Type badge.
Expand your NetSuite knowledge by joining our Ask A Guru Live sessions. RSVP on this event now.
Community Poll: What sort of content would you like to see more of?

NSC | Find out the Type of each item in a transaction when you only have the Internal ID via Script

edited Oct 27, 2023 10:11PM in SuiteCloud / Customization

You have a Sales or Purchase Order with hundreds of items, and you are tasked to determine the item type so that you can later add it to a new custom column in the transaction record. What would you do?

You can use the sample code below as a guide. In this example, I wrote the script to run via console when you have opened any record type that has an item sublist, that includes Sales Order, Purchase Order, Invoices, and many more. 

And since this is designed to run via console, just press F12 then copy and paste this code then press Enter.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!

Leaderboard

Community Whiz

Quarter 2 (Apr-Jun 2024)

This Week's Leaders

This Month's Leaders

All Time Leaders