Class: Elmas::BaseEntryLine

Inherits:
Object
  • Object
show all
Defined in:
lib/elmas/resources/base_entry_line.rb

Instance Method Summary collapse

Instance Method Details

#mandatory_attributesObject



3
4
5
# File 'lib/elmas/resources/base_entry_line.rb', line 3

def mandatory_attributes
  [:amount_FC, :GL_account, :entry_ID]
end

#other_attributesObject



7
8
9
10
11
12
13
14
# File 'lib/elmas/resources/base_entry_line.rb', line 7

def other_attributes
  [
    :serial_number, :asset, :cost_center, :cost_unit, :description, :notes,
    :project, :quantity, :serial_number, :subscription, :tracking_number,
    :VAT_amount_FC, :VAT_base_amount_DC, :VAT_base_amount_FC, :VAT_code,
    :VAT_percentage, :account
  ]
end