Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Purchase Order ship_to should be a record_ref #585

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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