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.
findSublistLineWithValue not working
Hey community,
I've bene using this function "findSublistLineWithValue"... It was working a few weeks ago, but now i'm getting this error whenever i use it.. I'm using it in Sales Order and Purchase Order. Has anyone encountered this?
Sample code:
try { var newLineId = currentRecord.findSublistLineWithValue({ sublistId: 'item', fieldId: 'description', value: 'abcdefg' }) } catch (e) { ... } Error: Cannot read property 'orig' of null
Thanks
0