<@UD8SEV7T7> you can do a search. Keep in mind the...
# suitescript
m
@MUHAMMAD MUBUSHER ASLAM you can do a search. Keep in mind there can be more than one fulfillment per sales order
m
Thanks @michoel for your response. i know there might be more than one fullfillment but point is how can i get as per salesorder i mean filters which filter i need to use to get item fullfillment.
m
Search for item fulfillments were the
Created From
field matches the sales order
You can create a search in UI and export using the Chrome extension https://chrome.google.com/webstore/detail/netsuite-search-export/gglbgdfbkaelbjpjkiepdmfaihdokglp
m
@michoel Thanks, once again
how come its showing multiple record
m
Add a filter for Main Line only
m
which column?
m
message has been deleted
m
Thanks @michoel
@michoel do you know how to get line items of itemfullfillment?
m
Remove the main line filter you added, but you will get each line three times. You can filter by account type to get just one line per item
m
but it will be multiple records, i want to get each fullmint as single record and in each record should have field like items or somehting so i can easily loop through main fullfillment and then their items
m
Your search can return all the items for all records and then you can group them in code. The alternative is to run multiple searches or load the records but I'd suggest using a single search for performance reasons.
m
Thanks @michoel i would appreciate if you can share with me small sample as a reference.
Thanks in advance.