Sha256: aab799471a4602f5a20e916f7d48a6201c50f13b8c1d43d2ec83e18ecb6e7f11

Contents?: true

Size: 1.02 KB

Versions: 27

Compression:

Stored size: 1.02 KB

Contents

module NetSuite
  module Records
    class Note
      include Support::Records
      include Support::Fields

      include Support::Actions
      include Support::RecordRefs
      include Namespaces::CommGeneral

      # https://system.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2016_1/schema/record/note.html

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

      fields :direction, :lastModifiedDate, :note, :noteDate, :title, :topic

      record_refs :noteType, :activity, :author, :customForm, :entity, :folder, :item, :media, :record, :recordType, :transaction

      field :custom_field_list, CustomFieldList

      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

27 entries across 27 versions & 1 rubygems

Version Path
netsuite-0.9.3 lib/netsuite/records/note.rb
netsuite-0.9.2 lib/netsuite/records/note.rb
netsuite-0.9.1 lib/netsuite/records/note.rb
netsuite-0.9.0 lib/netsuite/records/note.rb
netsuite-0.8.12 lib/netsuite/records/note.rb
netsuite-0.8.11 lib/netsuite/records/note.rb
netsuite-0.8.10 lib/netsuite/records/note.rb
netsuite-0.8.9 lib/netsuite/records/note.rb
netsuite-0.8.8 lib/netsuite/records/note.rb
netsuite-0.8.7 lib/netsuite/records/note.rb
netsuite-0.8.6 lib/netsuite/records/note.rb
netsuite-0.8.5 lib/netsuite/records/note.rb
netsuite-0.8.4 lib/netsuite/records/note.rb
netsuite-0.8.3 lib/netsuite/records/note.rb
netsuite-0.8.2 lib/netsuite/records/note.rb
netsuite-0.8.1 lib/netsuite/records/note.rb
netsuite-0.8.0 lib/netsuite/records/note.rb
netsuite-0.7.9 lib/netsuite/records/note.rb
netsuite-0.7.8 lib/netsuite/records/note.rb
netsuite-0.7.7 lib/netsuite/records/note.rb