Sha256: c1c23f7be373247343862f68c5f453b56544b762d2abacf1a091152b7de74207

Contents?: true

Size: 555 Bytes

Versions: 38

Compression:

Stored size: 555 Bytes

Contents

module Xeroizer
  module Record
    
    class ManualJournalLineModel < BaseModel
                    
      set_xml_root_name 'JournalLines'
      set_xml_node_name 'JournalLine'
                    
    end
    
    class ManualJournalLine < Base

      string    :description
      string    :tax_type
      string    :account_code
      decimal   :line_amount
      
      has_many  :tracking, :model_name => 'TrackingCategoryChild'

      validates_presence_of :account_code, :line_amount      
            
      public
      
    end
    
  end
end

Version data entries

38 entries across 38 versions & 2 rubygems

Version Path
xeroizer-2.16.1 lib/xeroizer/models/manual_journal_line.rb
xeroizer-2.16.0 lib/xeroizer/models/manual_journal_line.rb
xeroizer-2.15.9 lib/xeroizer/models/manual_journal_line.rb
xeroizer-2.15.8 lib/xeroizer/models/manual_journal_line.rb
xeroizer-2.15.7 lib/xeroizer/models/manual_journal_line.rb
xeroizer-2.15.6 lib/xeroizer/models/manual_journal_line.rb
xeroizer-float-2.15.5.2 lib/xeroizer/models/manual_journal_line.rb
xeroizer-float-2.15.5.1 lib/xeroizer/models/manual_journal_line.rb
xeroizer-2.15.5 lib/xeroizer/models/manual_journal_line.rb
xeroizer-float-2.15.3.16 lib/xeroizer/models/manual_journal_line.rb
xeroizer-float-2.15.3.15 lib/xeroizer/models/manual_journal_line.rb
xeroizer-float-2.15.3.14 lib/xeroizer/models/manual_journal_line.rb
xeroizer-float-2.15.3.13 lib/xeroizer/models/manual_journal_line.rb
xeroizer-float-2.15.3.12 lib/xeroizer/models/manual_journal_line.rb
xeroizer-float-2.15.3.11 lib/xeroizer/models/manual_journal_line.rb
xeroizer-float-2.15.3.10 lib/xeroizer/models/manual_journal_line.rb
xeroizer-float-2.15.3.9 lib/xeroizer/models/manual_journal_line.rb
xeroizer-float-2.15.3.8 lib/xeroizer/models/manual_journal_line.rb
xeroizer-float-2.15.3.7 lib/xeroizer/models/manual_journal_line.rb
xeroizer-float-2.15.3.6 lib/xeroizer/models/manual_journal_line.rb