0

I want to get NetSuite URL of a record using saved search in java suite talk

This is a java script code of Transaction Search, I have to convert it into Suite talk using java. I am able to get internalid, account, entity etc but i am not able to get link for each record. How can i get the link?

util.each(searchResults, function (row) {

            var obj = {
                id: row.internalid,
                linkText: row.account,
                link: commons.resolveRecordUrl('invoice', row.internalid),
                text: ' | ' + row.entity + ' | ' + self.formatMoney(row.amount) + ' | ' + row.trandate
            };
            // log.debug({ title: "obj", details: obj });
            results.push(obj);
        });
  • Add more details regarding your problem, show us some code and highlight the issue – Mohamed Salah Jun 10 '19 at 12:19
  • var obj = { id: row.internalid, linkText: row.account, link: commons.resolveRecordUrl('invoice', row.internalid), text: ' | ' + row.entity + ' | ' + self.formatMoney(row.amount) + ' | ' + row.trandate }; – Manoj Gupta Jun 10 '19 at 12:39
  • how can convert this into suitetalk -> link: commons.resolveRecordUrl('invoice', row.internalid) – Manoj Gupta Jun 10 '19 at 12:40

0 Answers0