class Elmas::GLAccount

Public Instance Methods

base_path() click to toggle source
# File lib/elmas/resources/gl_account.rb, line 7
def base_path
  "financial/GLAccounts"
end
mandatory_attributes() click to toggle source
# File lib/elmas/resources/gl_account.rb, line 11
def mandatory_attributes
  %i[code description]
end
other_attributes() click to toggle source
# File lib/elmas/resources/gl_account.rb, line 15
def other_attributes
  %i[
    assimilated_VAT_box balance_side balance_type belcotax_type compress
    cost_center cost_unit exclude_VAT_listing expense_non_deductible_percentage
    is_blocked matching private_GL_account private_percentage reporting_code
    revalue_currency searc_code type use_cost_center use_cost_unit
    VAT_code VAT_GL_account_type VAT_non_deductible_GL_account
    VAT_non_deductible_percentage VAT_system year_end_cost_GL_account
    year_end_reflection_GL_account
  ]
end