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.
get field values of of the fixed asset (related asset) record
Earlier a puzzzle, but now solved.
For anyone who desire to do the same...
To get the Value (or text) from these columns fields of Related Asset on the transaction Item sublist:
[LIST]
[*]FA Custom record id: customrecord_ncfar_asset?
[*]'custcol1' field contains a value sourced from a custom field (custrecord_area in decimal) on Fixed Asset record.
[/LIST]
// to get the value
var a = nlapiGeLineItemValue('item', 'customrecord_ncfar_asset', i)
or var a = nlapiGetCurrentLineItemValue('item','custcol1')
0