Class: ViewSalesByCustomer

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

Overview

== Schema Information

Table name: view_sales_by_customers
Database name: primary

id :integer primary key
buying_group_name :string(255)
customer_identity :text
customer_name :string(255)
gl_date :date
primary_sales_rep_full_name :string(255)
profile_name :string(255)
report_grouping :string
revenue_consolidated :decimal(8, 2)
state_code :string(255)
buying_group_id :integer
company_id :integer
customer_id :integer
invoice_id :integer
primary_sales_rep_id :integer
profile_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