Modules
Objects/Functions
SuiteScript 2.0
{render}.bom({entityId: {number*},printMode: {string},inCustLocale: {boolean}})
N/render Module
render.bom()
Method Description:
Use this method to create a PDF or HTML object of a bill of material.
Returns:
file.File that contains a PDF or HTML document
Supported Script Types:
Server-side scripts
For more information, see SuiteScript 2.0 Script Types.
Governance:
10 units
Module:
N/render Module
Since:
2015.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=render.bom(options)
Example:
// Code Example 1
//Add additional code
//...
var transactionFile = render.bom({
entityId: 23,
printMode: render.PrintMode.HTML,
inCustLocale: true
});
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_457552429198.html