Class: ViewLedgerEntry
- Inherits:
-
ApplicationViewRecord
- Object
- ActiveRecord::Base
- ApplicationRecord
- ApplicationViewRecord
- ViewLedgerEntry
- Includes:
- Models::SearchableView
- Defined in:
- app/models/view_ledger_entry.rb
Overview
== Schema Information
Table name: view_ledger_entries
Database name: primary
id :integer primary key
bank_date :date
bu_number :integer
company_amount :decimal(12, 2)
consolidated_amount :decimal(12, 2)
lca_co_currency :string(255)
lca_identifier :text
le_abs_amount :decimal(, )
le_amount :decimal(12, 2)
le_currency :string(3)
le_description :string(255)
ledger_detail_project_description :string(255)
lt_company_short_name :string(255)
lt_currency :string(3)
lt_description :string(255)
lt_exchange_rate :float
lt_transaction_date :date
lt_transaction_number :integer
lt_transaction_type :string(255)
payment_type :string(255)
rec_card_type :string(255)
reconciled :boolean
supplier_name :string(255)
business_unit_id :integer
credit_memo_id :integer
invoice_id :integer
landed_cost_id :integer
ledger_company_account_id :integer
ledger_detail_project_id :integer
lt_company_id :integer
lt_transaction_id :integer
outgoing_payment_id :integer
receipt_id :integer
shipment_receipt_id :integer
supplier_id :integer
voucher_id :integer
Belongs to collapse
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
Methods included from Models::EventPublishable
Instance Method Details
#ledger_transaction ⇒ LedgerTransaction
46 |
# File 'app/models/view_ledger_entry.rb', line 46 belongs_to :ledger_transaction, foreign_key: 'lt_transaction_id', optional: true |