lib/netsuite/records/invoice.rb in netsuite-0.0.8 vs lib/netsuite/records/invoice.rb in netsuite-0.0.9
- old
+ new
@@ -24,12 +24,12 @@
:tax_total, :terms, :time_disc_amount, :time_disc_print, :time_disc_rate, :time_disc_tax_1_amt, :time_disc_taxable,
:time_discount, :time_list, :time_tax_code, :time_tax_rate_1, :time_tax_rate_2, :to_be_emailed, :to_be_faxed,
:to_be_printed, :total, :total_cost_estimate, :tracking_numbers, :tran_date, :tran_id, :tran_is_vsoe_bundle,
:transaction_bill_address, :transaction_ship_address, :vat_reg_num, :vsoe_auto_calc
- attr_reader :internal_id, :external_id
-
record_refs :account, :bill_address_list, :custom_form, :entity, :posting_period, :ship_address_list
+
+ attr_reader :internal_id, :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)