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
Custom field value - finding internalId
We need to add a currency field to the oppotunity (to represent an amount already paid) in NetCRM, and we need to be able to set the value of this field through web services.
I assume we can use code like:
// Create a string custom field of type StringCustomFieldRef
SringCustomFieldRef strCF = new StringCustomFieldRef();
strCF.internalId = cfNSKey;
strCF.value = cfValue; //suitable for currency field?
It is assumed that the user has already followed the instructions to add a custom field to Opportunity, with a specified label, say "PaidField". In the example, it shows setting the internalID - I assume this is the identifier that appears in the URL - e.g. CUSTBODY1, CUSTBODY2, CUSTBODY3,....
0