diff --git a/lib/netsuite/records/cash_refund_item.rb b/lib/netsuite/records/cash_refund_item.rb index 44b74315..2093d837 100644 --- a/lib/netsuite/records/cash_refund_item.rb +++ b/lib/netsuite/records/cash_refund_item.rb @@ -9,7 +9,11 @@ class CashRefundItem fields :amount, :gross_amt, :rate, :quantity, :is_taxable, :order_line, :line, :description field :custom_field_list, CustomFieldList - record_refs :item, :klass, :price + record_refs :department, + :item, + :klass, + :location, + :price def initialize(attributes_or_record = {}) initialize_from_attributes_hash(attributes_or_record) diff --git a/spec/netsuite/records/cash_refund_item_spec.rb b/spec/netsuite/records/cash_refund_item_spec.rb index b21d9db5..80cdc22d 100644 --- a/spec/netsuite/records/cash_refund_item_spec.rb +++ b/spec/netsuite/records/cash_refund_item_spec.rb @@ -13,7 +13,11 @@ it 'has all the right record refs' do [ - :item, :klass + :department, + :item, + :klass, + :location, + :price ].each do |record_ref| expect(item).to have_record_ref(record_ref) end