Sha256: ffc02e8e418fab260da8ca38f0840036e3789089cac1b22576aed4f94ce65226

Contents?: true

Size: 1.59 KB

Versions: 13

Compression:

Stored size: 1.59 KB

Contents

module NetSuite
  module Records
    class TransactionColumnCustomField
      include Support::Fields
      include Support::RecordRefs
      include Support::Records
      include Support::Actions
      include Namespaces::SetupCustom

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

      # http://www.netsuite.com/help/helpcenter/en_US/srbrowser/Browser2017_1/schema/record/transactioncolumncustomfield.html
      fields(
        :label,
        :store_value,
        :display_type,
        :is_mandatory,
        :default_checked,
        :is_formula,
        :col_expense,
        :col_purchase,
        :col_sale,
        :col_opportunity,
        :col_store,
        :col_store_hidden,
        :col_journal,
        :col_expense_report,
        :col_time,
        :col_transfer_order,
        :col_item_receipt,
        :col_item_receipt_order,
        :col_item_fulfillment,
        :col_item_fulfillment_order,
        :col_print_flag,
        :col_picking_ticket,
        :col_packing_slip,
        :col_return_form,
        :col_store_with_groups,
        :col_group_on_invoices,
        :col_kit_item,
        :access_level,
        :search_level,
        :field_type,
        :script_id
      )

      record_refs :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

13 entries across 13 versions & 1 rubygems

Version Path
netsuite-0.9.3 lib/netsuite/records/transaction_column_custom_field.rb
netsuite-0.9.2 lib/netsuite/records/transaction_column_custom_field.rb
netsuite-0.9.1 lib/netsuite/records/transaction_column_custom_field.rb
netsuite-0.9.0 lib/netsuite/records/transaction_column_custom_field.rb
netsuite-0.8.12 lib/netsuite/records/transaction_column_custom_field.rb
netsuite-0.8.11 lib/netsuite/records/transaction_column_custom_field.rb
netsuite-0.8.10 lib/netsuite/records/transaction_column_custom_field.rb
netsuite-0.8.9 lib/netsuite/records/transaction_column_custom_field.rb
netsuite-0.8.8 lib/netsuite/records/transaction_column_custom_field.rb
netsuite-0.8.7 lib/netsuite/records/transaction_column_custom_field.rb
netsuite-0.8.6 lib/netsuite/records/transaction_column_custom_field.rb
netsuite-0.8.5 lib/netsuite/records/transaction_column_custom_field.rb
netsuite-0.8.4 lib/netsuite/records/transaction_column_custom_field.rb