Discussions
Issue retrieving custom item field records
Hello,
I’m using Freemarker in NetSuite’s Advanced PDF/HTML templates to generate a new commercial invoice.
I have created a custom item field called ‘custitem_country_of_origin’ which is applied to INVENTORY ITEM and KIT/PACKAGE and is set as a STORED VALUE.
When the list of items is displayed, the country of origin record (${item.item.custitem_country_of_origin}) just returns the value for the first line of the list and uses that for every single line item that follows? I cannot understand why this is happening when all the other line fields are correct?