Discussions
Read on for the latest updates including:
• Agenda Builder launch
• SuiteWorld On Air registration
• New NetSuite Prompt Studio Contest
• And more!
Check out this thread to learn more!
Don’t miss your chance to meet our SuiteGurus—NetSuite Support professionals and subject matter experts with extensive experience in select product areas, including OneWorld, Advanced & Basic Accounting, Supply Chain Management, Receivables & Payables, CRM, Account Administration, and the SuiteCloud Platform. Full Conference attendees can prebook exclusive 30-minute one-on-one sessions for your product questions.
Spots are limited! Register through your Agenda Builder and find SuiteGuru under Agenda Enhancements.
How to take value of variable out of a 'for' loop
Hi everyone,
I'm trying to figure out how to take a value of a variable outside of a 'for' loop when it's declared inside of the loop. I know this could be easily done by doing everything inside the curlies as the value of a variable does not exist outside of it, but it can't be avoided when trying to get a joined record field in a transaction column, thus, a nested loop.
Say for example you have a transaction record, with a list/record column field 'joinedrecord_name' where a joined record is selected (id shows in the field). Then, you have another column textfield in the transaction column called "joinedrecord_text" where I want to populate the value from one of joinedrecord_name's item list field. Let's call this field "text_field_in_joined_record".