Sha256: 27739595ad8c889ba293c2b53f06de0cdfa5cef84db8951afdad60210cf6228c

Contents?: true

Size: 975 Bytes

Versions: 44

Compression:

Stored size: 975 Bytes

Contents

module NetSuite
  module Records
    class Task
      include Support::Fields
      include Support::RecordRefs
      include Support::Records
      include Support::Actions
      include Namespaces::ActSched

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

      fields :title, :send_email, :message, :status, :access_level, :reminder_type,
             :reminder_minutes, :start_date, :end_date, :due_date, :timed_event,
             :created_date, :last_modified_date

      field :contact_list, ContactList

      record_refs :assigned, :owner, :company, :contact, :transaction

      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

44 entries across 44 versions & 1 rubygems

Version Path
netsuite-0.8.1 lib/netsuite/records/task.rb
netsuite-0.8.0 lib/netsuite/records/task.rb
netsuite-0.7.9 lib/netsuite/records/task.rb
netsuite-0.7.8 lib/netsuite/records/task.rb
netsuite-0.7.7 lib/netsuite/records/task.rb
netsuite-0.7.6 lib/netsuite/records/task.rb
netsuite-0.7.5 lib/netsuite/records/task.rb
netsuite-0.7.4 lib/netsuite/records/task.rb
netsuite-0.7.3 lib/netsuite/records/task.rb
netsuite-0.7.2 lib/netsuite/records/task.rb
netsuite-0.7.1 lib/netsuite/records/task.rb
netsuite-0.7.0 lib/netsuite/records/task.rb
netsuite-0.6.9 lib/netsuite/records/task.rb
netsuite-0.6.8 lib/netsuite/records/task.rb
netsuite-0.6.7 lib/netsuite/records/task.rb
netsuite-0.6.6 lib/netsuite/records/task.rb
netsuite-0.6.5 lib/netsuite/records/task.rb
netsuite-0.6.4 lib/netsuite/records/task.rb
netsuite-0.6.3 lib/netsuite/records/task.rb
netsuite-0.6.2 lib/netsuite/records/task.rb