Sha256: 7b4d005b1538bd4f836d01b1244944b740a564c303dd9ddeefd187a81985060f

Contents?: true

Size: 756 Bytes

Versions: 49

Compression:

Stored size: 756 Bytes

Contents

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

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

      fields :allow_non_gl_changes, :end_date, :is_adjust, :is_quarter, :is_year, :period_name, :start_date

      record_refs :parent

      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

49 entries across 49 versions & 1 rubygems

Version Path
netsuite-0.8.6 lib/netsuite/records/accounting_period.rb
netsuite-0.8.5 lib/netsuite/records/accounting_period.rb
netsuite-0.8.4 lib/netsuite/records/accounting_period.rb
netsuite-0.8.3 lib/netsuite/records/accounting_period.rb
netsuite-0.8.2 lib/netsuite/records/accounting_period.rb
netsuite-0.8.1 lib/netsuite/records/accounting_period.rb
netsuite-0.8.0 lib/netsuite/records/accounting_period.rb
netsuite-0.7.9 lib/netsuite/records/accounting_period.rb
netsuite-0.7.8 lib/netsuite/records/accounting_period.rb
netsuite-0.7.7 lib/netsuite/records/accounting_period.rb
netsuite-0.7.6 lib/netsuite/records/accounting_period.rb
netsuite-0.7.5 lib/netsuite/records/accounting_period.rb
netsuite-0.7.4 lib/netsuite/records/accounting_period.rb
netsuite-0.7.3 lib/netsuite/records/accounting_period.rb
netsuite-0.7.2 lib/netsuite/records/accounting_period.rb
netsuite-0.7.1 lib/netsuite/records/accounting_period.rb
netsuite-0.7.0 lib/netsuite/records/accounting_period.rb
netsuite-0.6.9 lib/netsuite/records/accounting_period.rb
netsuite-0.6.8 lib/netsuite/records/accounting_period.rb
netsuite-0.6.7 lib/netsuite/records/accounting_period.rb