Class: ActiveNetsuite::NonInventorySaleItem

Inherits:
Record
  • Object
show all
Defined in:
lib/activenetsuite/accounting/non_inventory_sale_item.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Record

#active=, #active?, #add, #add!, all, #client, client, client=, #delete, delete, #delete!, deleted, find, find_by_external_id, find_by_id, find_by_internal_id, #getters, #inactive=, #inactive?, list, #load, #loaded?, #new?, raise_not_found_error, ref, #ref, #save, #save!, #setters, type, #update, update, #update!

Methods included from MethodInflector

included, #method_missing

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ActiveNetsuite::MethodInflector

Class Method Details

.basic_search_classObject



4
5
6
# File 'lib/activenetsuite/accounting/non_inventory_sale_item.rb', line 4

def self.basic_search_class
  ActiveNetsuite::ItemSearchBasic
end

Instance Method Details

#income_accountObject



8
9
10
11
# File 'lib/activenetsuite/accounting/non_inventory_sale_item.rb', line 8

def 
  incomeAccount.type = 'account'
  incomeAccount
end