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!
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
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','custp age_itemful1', i);
if (checkbxval == 'T')
{
var item1 = request.getLineItemValue('custpage_markall','custp age_itemful2', i);
var salesorder1 = request.getLineItemValue('custpage_markall','custp age_itemful5', i);
0