Class: ViewSupplierItem

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

Overview

== Schema Information

Table name: view_supplier_items
Database name: primary

id :integer primary key
active :boolean
auto_receive :boolean
item_name :string(255)
purchasing_cost :decimal(11, 5)
purchasing_currency :string(255)
sku :string
stock_item :boolean
supplier_description :string(255)
supplier_name :string(255)
supplier_sku :string(255)
uom :string(255)
uom_quantity :integer
updater_full_name :string(255)
created_at :datetime
updated_at :datetime
creator_id :integer
item_id :integer
supplier_id :integer
updater_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