Discussions
Retrieving ItemFulfillment Records from search
I have a custom search which returns the Internal IDs of item fulfillment records, as well as the sales orders they were created from. I want to eventually retrieve the item fulfillment and sales order records for those internal IDs. I've gotten it to work but it seems unnecessarily complex.
Is there a less verbose way of getting the internalID out of the search results (or better yet getting straight to the record itself) than the following.
In particular, "<search results>.basic.internalId(0).searchValue.internalId" seems like a lot of levels to go through to get a search column. And is there a more direct way of getting the item fulfillment records than creating an array of recordrefs for the search results and then calling getlist.