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.6.6 lib/netsuite/records/accounting_period.rb
netsuite-0.6.5 lib/netsuite/records/accounting_period.rb
netsuite-0.6.4 lib/netsuite/records/accounting_period.rb
netsuite-0.6.3 lib/netsuite/records/accounting_period.rb
netsuite-0.6.2 lib/netsuite/records/accounting_period.rb
netsuite-0.6.1 lib/netsuite/records/accounting_period.rb
netsuite-0.6.0 lib/netsuite/records/accounting_period.rb
netsuite-0.5.9 lib/netsuite/records/accounting_period.rb
netsuite-0.5.8 lib/netsuite/records/accounting_period.rb
netsuite-0.5.7 lib/netsuite/records/accounting_period.rb
netsuite-0.5.6 lib/netsuite/records/accounting_period.rb
netsuite-0.5.5 lib/netsuite/records/accounting_period.rb
netsuite-0.5.4 lib/netsuite/records/accounting_period.rb
netsuite-0.5.3 lib/netsuite/records/accounting_period.rb
netsuite-0.5.2 lib/netsuite/records/accounting_period.rb
netsuite-0.5.1 lib/netsuite/records/accounting_period.rb
netsuite-0.5.0 lib/netsuite/records/accounting_period.rb
netsuite-0.4.9 lib/netsuite/records/accounting_period.rb
netsuite-0.4.8 lib/netsuite/records/accounting_period.rb
netsuite-0.4.7 lib/netsuite/records/accounting_period.rb