Using Structured Data Types

A range of factory methods are supplied for creating instances of structured data types within scripts.

You use these methods for creating objects and performing operations on objects of specific types in scripts. See Business Data Scripting.

When creating BOM objects, you must use the Create factory methods described in Business Data Scripting. For standard JavaScript objects like Date, you can use new Date().