Class: ViewStock
- Inherits:
-
ApplicationViewRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- ApplicationViewRecord
- ViewStock
- Defined in:
- app/models/view_stock.rb
Overview
== Schema Information
Table name: view_stocks
Database name: primary
id :integer
backorders_exists :boolean
can_back_ordered :decimal(, )
can_back_ordered_kits :decimal(, )
can_back_ordered_standard :bigint
can_committed :bigint
can_held :bigint
can_msrp :decimal(8, 2)
can_on_hand :bigint
can_on_order :bigint
can_on_order_units :bigint
can_stock_status :text
committed_stock :boolean
held_stock :boolean
inherited_item_product_category_ids :integer is an Array
inherited_item_product_line_ids :integer is an Array
name :string(255)
product_category_name :string(255)
qty_warn_on_stock :integer
require_reservation :boolean
sku :string
usa_back_ordered :decimal(, )
usa_back_ordered_kits :decimal(, )
usa_back_ordered_standard :bigint
usa_committed :bigint
usa_held :bigint
usa_msrp :decimal(8, 2)
usa_on_hand :bigint
usa_on_order :bigint
usa_on_order_units :bigint
usa_stock_status :text
product_category_id :integer
Method Summary
Methods inherited from ApplicationViewRecord
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation