Sha256: 3c30672e05bcab8bf0e460234e9cbf5a75ac3e4f2e7c32d1a81a017ebcb78c9a

Contents?: true

Size: 1.21 KB

Versions: 59

Compression:

Stored size: 1.21 KB

Contents

module NetSuite
  module Records
    class CustomRecordType
      include Support::Fields
      include Support::RecordRefs
      include Support::Actions

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

      fields :allow_attachments, :allow_inline_editing, :allow_numbering_override, :allow_quick_search, :description,
        :disclaimer, :enable_mail_merge, :enable_numbering, :include_name, :is_available_offline, :is_inactive,
        :is_numbering_updateable, :is_ordered, :numbering_current_number, :numbering_init, :numbering_min_digits,
        :numbering_prefix, :numbering_suffix, :record_name, :script_id, :show_creation_date, :show_creation_date_on_list,
        :show_id, :show_last_modified, :show_last_modified_on_list, :show_notes, :show_owner, :show_owner_allow_change,
        :show_owner_on_list, :use_permissions

      record_ref :owner

      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

59 entries across 59 versions & 1 rubygems

Version Path
netsuite-0.7.6 lib/netsuite/records/custom_record_type.rb
netsuite-0.7.5 lib/netsuite/records/custom_record_type.rb
netsuite-0.7.4 lib/netsuite/records/custom_record_type.rb
netsuite-0.7.3 lib/netsuite/records/custom_record_type.rb
netsuite-0.7.2 lib/netsuite/records/custom_record_type.rb
netsuite-0.7.1 lib/netsuite/records/custom_record_type.rb
netsuite-0.7.0 lib/netsuite/records/custom_record_type.rb
netsuite-0.6.9 lib/netsuite/records/custom_record_type.rb
netsuite-0.6.8 lib/netsuite/records/custom_record_type.rb
netsuite-0.6.7 lib/netsuite/records/custom_record_type.rb
netsuite-0.6.6 lib/netsuite/records/custom_record_type.rb
netsuite-0.6.5 lib/netsuite/records/custom_record_type.rb
netsuite-0.6.4 lib/netsuite/records/custom_record_type.rb
netsuite-0.6.3 lib/netsuite/records/custom_record_type.rb
netsuite-0.6.2 lib/netsuite/records/custom_record_type.rb
netsuite-0.6.1 lib/netsuite/records/custom_record_type.rb
netsuite-0.6.0 lib/netsuite/records/custom_record_type.rb
netsuite-0.5.9 lib/netsuite/records/custom_record_type.rb
netsuite-0.5.8 lib/netsuite/records/custom_record_type.rb
netsuite-0.5.7 lib/netsuite/records/custom_record_type.rb