简体   繁体   中英

NetSuite SuiteScript 2.0 - Get Sales Team Name from Internal ID

I have a suitescript which retrieves the Internal ID of a sales team (the one chosen in the Choose Team drop-down). I want to be able to display the name of the sales team.

So a simple question - given the Internal ID of a Sales Team, how can I retrieve its name?

Client script, 2.0.

getText instead of getValue:

currentRecord.getText({
    fieldId: 'salesgroup'
});

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM