Skip to content

Commit

Permalink
Purchase Order ship_to should be a record_ref (#585)
Browse files Browse the repository at this point in the history
Per the NetSuite schema browser the Purchase Order shipping_to should be a
record_ref, since at least API version 2014_1.
  • Loading branch information
swoodcock4 authored Jul 11, 2023
1 parent c314af6 commit b96fb05
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lib/netsuite/records/purchase_order.rb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class PurchaseOrder
fields :created_date, :currency_name, :due_date, :email, :exchange_rate,
:fax, :fob, :interco_status, :interco_transaction, :last_modified_date,
:linked_tracking_numbers, :memo, :message, :other_ref_num, :ship_date,
:ship_is_residential, :ship_to, :source, :status, :sub_total, :supervisor_approval,
:ship_is_residential, :source, :status, :sub_total, :supervisor_approval,
:tax2_total, :tax_total, :to_be_emailed, :to_be_faxed, :to_be_printed,
:total, :tracking_numbers, :tran_date, :tran_id, :vat_reg_num

Expand All @@ -27,7 +27,8 @@ class PurchaseOrder

record_refs :approval_status, :bill_address_list, :klass, :created_from, :currency,
:custom_form, :department, :employee, :entity, :location, :next_approver,
:order_status, :purchase_contract, :ship_method, :subsidiary, :terms
:order_status, :purchase_contract, :ship_method, :ship_to, :subsidiary,
:terms

attr_reader :internal_id
attr_accessor :external_id
Expand Down

0 comments on commit b96fb05

Please sign in to comment.