Reputation: 51
[![
This data has been loaded from calling saved search.
Cannot access only the value of NDC and prod_desc. But the others are accessible? ]1]1
Upvotes: 0
Views: 2693
Reputation: 15447
Those are not transaction fields. If you have the item's purchase description and item id in the search results then you'd access those in script using the join syntax:
var ndc = searchResult.getValue('itemid', 'item');
var prod_desc = searchResult.getValue('purchasedescription', 'item');
Upvotes: 1