3

Does anyone know where this method is located in 2.0. If NetSuite would put a link in the 1.0 docs for nlapiPrintRecord() to the 2.0 implementation, I wouldn't have to ask Stack community

Coldstar
  • 1,324
  • 1
  • 12
  • 32

1 Answers1

7

Technically, there isn't a direct corollary. SuiteScript 2.0 doesn't use the same object model, so nothing returns nlobjFile rather some return file.File But that's being a bit pedantic.

All the existing options are part of N/render

The 'types' from the 1.0 nlapiPrintRecord() api are broken into individual methods, with the 'mode' being controlled by the enum render.PrintMode

There are (nearly) functional examples of each method available in the help center documentation linked to above.

Shea Brennan
  • 1,132
  • 7
  • 16