Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NetSuite Custom Field for Kit/Package Records that references member line items

Tags:

netsuite

Is it possible to create a custom field on Kit/Package records that will display member line items?

For example: There is a Kit/Package that contains two components. Is it possible to have a custom field called "Component SKU 1". This field will populate with the SKU of the first line item {memberline}.

like image 746
Travis Christianson Avatar asked Oct 18 '22 07:10

Travis Christianson


1 Answers

Create a beforeSubmit User Event script that will run a search against member items and populate the custom fields with the data you want. I did a little testing and am confident this is not something that could be accomplished through a simple field level sourcing. Creating this user event should be simple enough assuming you have some SuiteScript and Javascript knowledge. As a start though you should really only need to use the 'N/record' and 'N/search' modules if using SuiteScript 2.0. Information on both can be found easily enough in Help.

like image 177
Todd Grimm Avatar answered Oct 21 '22 00:10

Todd Grimm