Discussions
Adding Data to nlobjSearchResult
I'm in the middle of writing a Suitelet and am having a little trouble. I have two searches run. One gets all contract items for a customer (custom record) and the other gets all sales data for the past 12 months. I then cycle through all items that have had sales, and write an HTML row with the Item # and Sold QTY. I then iterate through the contract items to see if that item is listed and also include that in the table row. Then process the next item.
The problem I'm having is that if an item has not had any sales, but is listed in the contract, it does not show up in my table. What I'd like to do is after I iterate through all items sold, I'd like to go back to the contract items and find out which have not been added to the table.