Loads an existing record with the given internal id
record internal id to load
Optional
isDynamic: booleanset true
if you want to load the record in dynamic mode
Creates an NSDAL instance for the given existing NetSuite record object.
This does NOT reload the record - it just wraps the supplied rec
an existing netsuite record
creates a new record
Optional
unused: Nullable<string | number>either null
or leave this parameter out entirely
Optional
isDynamic: booleantrue if you want to create the record in dynamic mode, otherwise uses standard mode.
Optional
defaultvalues: objectoptional defaultvalues
object - specific to certain records that allow initializing a
new record.
Protected
_idNetsuite internal id of this record
Protected
Optional
defaultThis field exists only if 'Use Deletion Reason' feature is enabled on the account
This field exists only if 'Use Deletion Reason' feature is enabled on the account
underlying netsuite record
Note unlike other identifiers in NetSuite, this one is a string (e.g. 'Partially Fulfilled')
Note unlike other references in NetSuite, this one is a set of undocumented string keys (e.g. 'partiallyFulfilled') The possible statusref values differ for each transaction type
Protected
findlocates line on the 'apply' sublist that corresponds to the passed related record internal id expose this method in derived classes that need dynamic access to the apply sublist returns undefined
Returns NetSuite field metadata. Useful for doing things like disabling a field on the form programmatically.
field name for which you want to retrieve the NetSuite field object
Static
record
NetSuite Vendor Payment Record