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.
when "class" is renamed, how to identify in je?
I have written a script that creates a journal entry.
jeRecord.setLineItemValue('line', 'account', i, value1);
jeRecord.setLineItemValue('line', 'credit', i, value2);
jeRecord.setLineitemValue('line', 'class', i, value3);
However, I have renamed "Class" and called it "City Pair".
(set up >> company >> rename records)
As a result the last line no longer works.
I have tried:
jeRecord.setLineitemValue('line', 'class', i, value3);
jeRecord.setLineitemValue('line', 'citypair', i, value3);
jeRecord.setLineitemValue('line', 'city pair', i, value3);
none work.
any ideas??? anyone?
-Esmeralda-
0