Sha256: 0d41225462df3109283623788be21dfa22df3c926720b5a80e65fe95879afa2d

Contents?: true

Size: 1 KB

Versions: 45

Compression:

Stored size: 1 KB

Contents

# https://system.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2015_1/schema/record/revrecschedule.html

module NetSuite
  module Records
    class RevRecSchedule
      include Support::Fields
      include Support::RecordRefs
      include Support::Records
      include Support::Actions
      include Namespaces::ListAcct

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

      fields :initial_amount, :is_inactive, :name, :period_offset, :rev_rec_offset,
             :amortization_period

      record_refs :amortization_type, :recog_interval_src, :recurrence_type

      # recurrenceList	RevRecScheduleRecurrenceList	0..1

      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

45 entries across 45 versions & 1 rubygems

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