Does anyone know how I can get the Invoice numbers from an Invoice Group record? I am loading the Invoice Group current record then I have a search to replicate an Invoice Group saved search in the UI and I'm getting Invoice document number in the UI but not in my script
var columns = new Array();
columns[0] = search.createColumn({
name: 'tranid',
join: 'transaction',
label: 'Document Number'
});