Discussions
Join us for complimentary one-day events around the world and step into a future fueled by AI and limitless potential. Explore new breakthroughs, sharpen your skills, and connect with experts who are shaping what’s next. Experience bold keynotes, interactive learning, and connections that span the global NetSuite community. Discover what's next at SuiteConnect Tour 2026.
NetSuite has launched SuiteSuccess Wholesale Distribution Edition, in Japan. Please join us the webinar on February 12 that introduces NetSuite solution with demos and case studies for Wholesale Industry.
Register Now
Item Fulfillment sorted by Sales Order
I Have created a suitlet where we display all items under a sales order in a sublist. When I select 2 items from 1 sales order I get 2 item Fulfillment record.
This is what we dont want. It should be like for 1 salesorder there should be 1 item fulfillment irrespective of the no. of items selected under it.
My code is:
else
{
iline = 0;
var line = request.getLineItemCount('custpage_markall');
for(i = 1; i <= line; i++)
{
var checkbxval = request.getLineItemValue('custpage_markall','custpage_itemful1', i);
if (checkbxval == 'T')
{
var item1 = request.getLineItemValue('custpage_markall','custpage_itemful2', i);
var salesorder1 = request.getLineItemValue('custpage_markall','custpage_itemful5', i);