class Skr::GlManualEntry

Records a manual entry into the General Leger. Most GL entries are triggered by system events such as an Inventory Receipt, or Invoice payment. A manual entry differs in that it's performed, well Manually. It's usually used to balance ledger accounts or as part of closing an accounting period.

Public Instance Methods

gl_transaction=( transaction ) click to toggle source
Calls superclass method
# File lib/skr/models/gl_manual_entry.rb, line 20
def gl_transaction=( transaction )
    super
    copy_notes_to_transaction
end

Private Instance Methods

copy_notes_to_transaction() click to toggle source
# File lib/skr/models/gl_manual_entry.rb, line 26
def copy_notes_to_transaction
    self.gl_transaction.description = self.notes[0..100]
end