Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=Node.ownerDocument for more information.
N/xml Module
Node.ownerDocument
Property Description:
The root element for a node as a xml.Document object. Use this object to create new nodes with Document.createElement(options) or Document.createElementNS(options).
Type:
xml.Document
Supported Script Types:
All script types
For more information, see SuiteScript 2.0 Script Types.
Module:
N/xml Module
Since:
2015.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=Node.ownerDocument
Example:
// Code Example 1
//Add additional code
//...
var doc = parentNode[0].ownerDocument;
//...
//Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_458963562010.html