Class: ViewCatalogItem

Inherits:
ApplicationViewRecord show all
Includes:
Models::SearchableView
Defined in:
app/models/view_catalog_item.rb

Overview

== Schema Information

Table name: view_catalog_items
Database name: primary

catalog_item_stock_reserved :integer
catalog_price :decimal(8, 2)
discontinued :boolean
dropship :boolean
hide_from_feed :boolean
max_discount :integer
name :string(255)
price_editable :boolean
qty_available :integer
qty_committed :integer
qty_on_hand :integer
qty_out_of_stock :integer
qty_warn_on_stock :integer
rendered_product_specifications :jsonb
sku :string
tax_class :string(3)
unit_cogs :decimal(, )
unlimited_inventory :boolean
catalog_id :integer
catalog_item_id :integer
item_id :integer
store_item_id :integer

Method Summary

Methods included from Models::SearchableView

#crm_link, #crm_link_subtitle, #has_columns?, #main_resource, #readonly?

Methods inherited from ApplicationViewRecord

create, create!, #readonly?

Methods inherited from ApplicationRecord

ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation

Methods included from Models::EventPublishable

#publish_event