Sha256: 8b13d519f776d889586b6988da02b09d17ca65156476ee323eed7de6ef70fd0a

Contents?: true

Size: 926 Bytes

Versions: 61

Compression:

Stored size: 926 Bytes

Contents

module NetSuite
  module Records
    class CustomList
      include Support::Fields
      include Support::Records
      include Support::Actions
      include Namespaces::SetupCustom

      actions :get, :update, :get_list, :add, :delete, :search, :upsert

      # https://system.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2014_1/schema/record/customlist.html
      fields :description, :name, :is_ordered, :script_id, :convert_to_custom_record,
             :is_inactive

      field :custom_value_list, NetSuite::Records::CustomListCustomValueList

      attr_reader :internal_id
      attr_accessor :external_id

      def initialize(attributes = {})
        @internal_id = attributes.delete(:internal_id) || attributes.delete(:@internal_id)
        @external_id = attributes.delete(:external_id) || attributes.delete(:@external_id)
        initialize_from_attributes_hash(attributes)
      end
    end
  end
end

Version data entries

61 entries across 61 versions & 1 rubygems

Version Path
netsuite-0.7.6 lib/netsuite/records/custom_list.rb
netsuite-0.7.5 lib/netsuite/records/custom_list.rb
netsuite-0.7.4 lib/netsuite/records/custom_list.rb
netsuite-0.7.3 lib/netsuite/records/custom_list.rb
netsuite-0.7.2 lib/netsuite/records/custom_list.rb
netsuite-0.7.1 lib/netsuite/records/custom_list.rb
netsuite-0.7.0 lib/netsuite/records/custom_list.rb
netsuite-0.6.9 lib/netsuite/records/custom_list.rb
netsuite-0.6.8 lib/netsuite/records/custom_list.rb
netsuite-0.6.7 lib/netsuite/records/custom_list.rb
netsuite-0.6.6 lib/netsuite/records/custom_list.rb
netsuite-0.6.5 lib/netsuite/records/custom_list.rb
netsuite-0.6.4 lib/netsuite/records/custom_list.rb
netsuite-0.6.3 lib/netsuite/records/custom_list.rb
netsuite-0.6.2 lib/netsuite/records/custom_list.rb
netsuite-0.6.1 lib/netsuite/records/custom_list.rb
netsuite-0.6.0 lib/netsuite/records/custom_list.rb
netsuite-0.5.9 lib/netsuite/records/custom_list.rb
netsuite-0.5.8 lib/netsuite/records/custom_list.rb
netsuite-0.5.7 lib/netsuite/records/custom_list.rb