Sha256: b3df6cf60ee97963aa6b694333c37254ee164f547838bfe9ee8a4b6a84ffa3b0
Contents?: true
Size: 941 Bytes
Versions: 3
Compression:
Stored size: 941 Bytes
Contents
module NetSuite module Records class Account include Support::Fields include Support::RecordRefs include Support::Records include Support::Actions actions :get, :add, :delete fields :acct_name, :acct_number, :acct_type, :cash_flow_rate, :cur_doc_num, :description, :eliminate, :exchange_rate, :general_rate, :include_children, :inventory, :is_inactive, :opening_balance, :revalue, :tran_date record_refs :billable_expenses_acct, :category1099misc, :currency, :deferral_acct, :department, :klass, :location, :parent attr_reader :internal_id attr_accessor :external_id def initialize(attributes = {}) @internal_id = attributes.delete(:internal_id) || attributes.delete(:@internal_id) @external_id = attributes.delete(:external_id) || attributes.delete(:@external_id) initialize_from_attributes_hash(attributes) end end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
netsuite-0.2.2 | lib/netsuite/records/account.rb |
netsuite-0.2.1 | lib/netsuite/records/account.rb |
netsuite-0.2.0 | lib/netsuite/records/account.rb |