Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
Script to total a Custom Column field into a Custom Body Field
Hi -
I'm not that new to NS, but have never done any scripting. I would like to total a custom field I created that lives on the item line in an order or invoice. I called it "custcolitemtest1". It's a currency type field.
I'd like to total all the values in "custcolitemtest1" into the custom Transaction Body field I created "custbodytesttotal1".
I've read loads of documentation on scripting, and found an old post that seemed it would do what I wanted, but I'm lost. I can code in SQL, but have never done java. I'm usually pretty good at figuring these types of things out, (as long as they're this simple) espeically if I get something to copy.
0