Note that the sublistId and _line are used by the Sublist decorators to actually implement functionality, even though they are not referenced directly in this class. We mark them as not-enumerable because they are an implementation detail and need not be exposed to the typical consumer
netsuite internal id (string name) of the sublist
netsuite record on which the sublist exists
the line number needed in decorator calls to underlying sublist. That's also why this is public - so that the decorators have access to it.
the line number needed in decorator calls to underlying sublist. That's also why this is public - so that the decorators have access to it.
Catalog Type | NetSuite lists this as a select field, but often the value is a string (e.g. ADD_ON).
Subscription Line Type
Discount
If true, and in dynamic mode, this parameter can be used to alleviate a timing situation that may occur in some browsers when fields are sourced. For some browsers, some APIs are triggered without waiting for the field sourcing to complete. For example, if forceSyncSourcing is set to false when adding sublist lines, the lines aren't committed as expected. Setting the parameter to true, forces synchronous sourcing.
Charge Frequency | NetSuite lists this as a select field, but often the value is a string (e.g. MONTHLY).
If set to true, the field change and the secondary event is ignored.
Included Quantity
Item
Line Number
Included Quantity Multiplier
Price Plan
Prorate By | NetSuite lists this as a select field, but often the value is a string (e.g. MONTH).
Quantity
Recurring Amount
Repeat Every
Start Date
Interval | NetSuite lists this as a select field, but often the value is a string (e.g. MONTH).
Start On
Status
netsuite internal id (string name) of the sublist
Subscription Plan Line
If true, uses dynamic mode API calls to access sublist line field values.
If false, uses standard mode
The default behavior is to use dynamic mode if the record is in dynamic mode. You can override this
(force using 'standard mode' APIs even with a dynamic record) by setting this value false
prior to
your code that manipulates the sublist line.
Gets the subrecord for the given field name, handling both dynamic and standard mode.
Normally you don't call this method directly. Instead, simply define a property on your sublist class matching the field name for the subrecord and decorate it as a subrecord. e.g.
@FieldType.subrecord(AddressBase)
billingaddress: AddressBase
the field that points to the subrecord
Protected
make
priceinterval - Price Book Lines NOTE: This sublist cannot have lines added/removed, so addLine(), removeLine() and removeAllLines() will not work. Only a small number of fields are able to be edited on this sublist.