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.
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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
nlapiLookupField from Partner Rec Problem
Hi,
What I’m trying to do is update existing Invoice records so they have a Partner set.
The problem I’m having is that part of my script process is to get the ‘Parent’ field from the Partner record, however NS doesn’t seem to recognise the field id ‘Parent’ when I perform a lookup (var subAgentOf = nlapiLookupField("partner", agentId, "parent");) so it throws… “nlobjSearchColumn contains an invalid column, or is not in proper syntax: parent.”
I’ve no idea why its doing this as Parent is defiantly its field id. So I’m just wondering if anyone has had any experience of this or any ideas what could be wrong?
0