Sha256: c68adc2844519bea0d8cc1ded7124a79815b77281b0c4cd33de40a964f7b3b75

Contents?: true

Size: 780 Bytes

Versions: 4

Compression:

Stored size: 780 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, :closed

      record_refs :parent

      attr_reader :internal_id
      attr_accessor :external_id, :search_joins

      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

4 entries across 4 versions & 1 rubygems

Version Path
netsuite-0.8.10 lib/netsuite/records/accounting_period.rb
netsuite-0.8.9 lib/netsuite/records/accounting_period.rb
netsuite-0.8.8 lib/netsuite/records/accounting_period.rb
netsuite-0.8.7 lib/netsuite/records/accounting_period.rb