Class: ViewLineItemProfit
- Inherits:
-
ApplicationViewRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- ApplicationViewRecord
- ViewLineItemProfit
- Includes:
- Models::SearchableView
- Defined in:
- app/models/view_line_item_profit.rb
Overview
== Schema Information
Table name: view_line_item_profits
Database name: primary
id :integer primary key
children_count :integer
cm_category :string(255)
description :text
destination_state_code :string(255)
discounted_price :decimal(10, 2)
edi_line_number :integer
edi_reference :string
edi_unit_cost :decimal(10, 2)
estimated_line_profit :decimal(, )
estimated_unit_cogs :decimal(, )
estimated_unit_profit :decimal(, )
estimated_unit_profit_margins :decimal(, )
ignore_tax :boolean
item_sku :string
line_revenue :decimal(, )
origin_state_code :string(255)
price :decimal(10, 2)
qty_shipped :integer
quantity :integer
redemption_code :string(255)
resource_type :string(255)
reviewed :boolean
sequence :integer
tax_class :string(255)
tax_only :boolean
tax_rate :decimal(10, 6)
tax_total :decimal(10, 2)
tax_type :string
taxable_amount :decimal(12, 2)
total_cogs :decimal(10, 4)
unit_cogs :decimal(10, 4)
created_at :datetime
updated_at :datetime
backup_catalog_item_id :integer
business_unit_id :integer
catalog_item_id :integer
creator_id :integer
credit_order_line_item_id :integer
credit_rma_item_id :integer
delivery_id :integer
iq_room_line_item_option_group_id :integer
item_id :integer
ledger_company_account_id :integer
parent_id :integer
replacement_rma_item_id :integer
resource_id :integer
resource_tax_rate_id :integer
room_configuration_id :integer
serial_number_id :integer
shipping_cost_id :integer
store_item_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
Methods inherited from ApplicationRecord
ransackable_associations, ransackable_attributes, ransackable_scopes, ransortable_attributes, #to_relation