Class: ViewItemLedgerEntry
- Inherits:
-
ApplicationViewRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- ApplicationViewRecord
- ViewItemLedgerEntry
- Includes:
- Models::SearchableView
- Defined in:
- app/models/view_item_ledger_entry.rb
Overview
== Schema Information
Table name: view_item_ledger_entries
Database name: primary
id :integer primary key
account :text
business_unit :integer
category :string(255)
creator :string(255)
currency :string(255)
description :string(255)
gl_date :date
gl_number :integer
invoice_number :string(255)
item_sku :string
location :string(255)
new_cogs :decimal(10, 4)
new_qty :integer
new_qty_on_hand :integer
new_unit_cogs :decimal(10, 4)
old_cogs :decimal(10, 4)
old_qty :integer
old_qty_on_hand :integer
old_unit_cogs :decimal(10, 4)
po_number :string(20)
project :integer
quantity :integer
quantity_eval :integer
rma_number :string(255)
serial_numbers :string(255) is an Array
store_name :string(255)
total_cost :decimal(10, 4)
unit_cost :decimal(10, 4)
created_at :datetime
updated_at :datetime
business_unit_id :integer
creator_id :integer
cycle_count_id :integer
cycle_count_item_id :integer
delivery_id :integer
invoice_id :integer
item_id :integer
item_kit_id :integer
landed_cost_id :integer
ledger_company_account_id :integer
ledger_detail_project_id :integer
ledger_transaction_id :integer
po_id :integer
reversed_entry_id :integer
rma_id :integer
rma_item_id :integer
shipment_receipt_id :integer
shipment_receipt_item_id :integer
store_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