netsuite 0.8.2 → 0.8.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +69 -20
- data/lib/netsuite.rb +11 -0
- data/lib/netsuite/actions/search.rb +1 -6
- data/lib/netsuite/actions/update_list.rb +109 -0
- data/lib/netsuite/records/bin_transfer.rb +38 -0
- data/lib/netsuite/records/bin_transfer_inventory.rb +20 -0
- data/lib/netsuite/records/bin_transfer_inventory_list.rb +10 -0
- data/lib/netsuite/records/cash_refund_item.rb +1 -1
- data/lib/netsuite/records/classification.rb +1 -1
- data/lib/netsuite/records/inbound_shipment.rb +33 -0
- data/lib/netsuite/records/inbound_shipment_item.rb +39 -0
- data/lib/netsuite/records/inbound_shipment_item_list.rb +11 -0
- data/lib/netsuite/records/inter_company_journal_entry.rb +48 -0
- data/lib/netsuite/records/inter_company_journal_entry_line.rb +28 -0
- data/lib/netsuite/records/inter_company_journal_entry_line_list.rb +14 -0
- data/lib/netsuite/records/inventory_item.rb +1 -1
- data/lib/netsuite/records/price_level.rb +26 -0
- data/lib/netsuite/records/return_authorization_item.rb +1 -1
- data/lib/netsuite/records/sales_order_item.rb +12 -5
- data/lib/netsuite/records/support_case.rb +1 -1
- data/lib/netsuite/support/actions.rb +2 -0
- data/lib/netsuite/support/search_result.rb +7 -3
- data/lib/netsuite/utilities.rb +26 -0
- data/lib/netsuite/version.rb +1 -1
- data/spec/netsuite/actions/update_list_spec.rb +107 -0
- data/spec/netsuite/records/basic_record_spec.rb +5 -1
- data/spec/netsuite/records/inter_company_journal_entry_line_list_spec.rb +26 -0
- data/spec/netsuite/records/inter_company_journal_entry_line_spec.rb +60 -0
- data/spec/netsuite/records/inter_company_journal_entry_spec.rb +156 -0
- data/spec/netsuite/records/inventory_item_spec.rb +57 -0
- data/spec/netsuite/records/price_level_spec.rb +16 -0
- data/spec/netsuite/records/return_authorization_item_spec.rb +1 -1
- data/spec/netsuite/records/sales_order_item_spec.rb +11 -5
- data/spec/netsuite/utilities_spec.rb +21 -0
- data/spec/support/fixtures/update_list/update_list_items.xml +22 -0
- data/spec/support/fixtures/update_list/update_list_one_item.xml +18 -0
- data/spec/support/fixtures/update_list/update_list_with_errors.xml +32 -0
- metadata +29 -2
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: netsuite
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.8.
|
4
|
+
version: 0.8.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Moran
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2017-
|
12
|
+
date: 2017-12-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: savon
|
@@ -68,6 +68,7 @@ files:
|
|
68
68
|
- lib/netsuite/actions/login.rb
|
69
69
|
- lib/netsuite/actions/search.rb
|
70
70
|
- lib/netsuite/actions/update.rb
|
71
|
+
- lib/netsuite/actions/update_list.rb
|
71
72
|
- lib/netsuite/actions/upsert.rb
|
72
73
|
- lib/netsuite/actions/upsert_list.rb
|
73
74
|
- lib/netsuite/configuration.rb
|
@@ -111,6 +112,9 @@ files:
|
|
111
112
|
- lib/netsuite/records/billing_schedule_recurrence_list.rb
|
112
113
|
- lib/netsuite/records/bin.rb
|
113
114
|
- lib/netsuite/records/bin_number_list.rb
|
115
|
+
- lib/netsuite/records/bin_transfer.rb
|
116
|
+
- lib/netsuite/records/bin_transfer_inventory.rb
|
117
|
+
- lib/netsuite/records/bin_transfer_inventory_list.rb
|
114
118
|
- lib/netsuite/records/campaign.rb
|
115
119
|
- lib/netsuite/records/cash_refund.rb
|
116
120
|
- lib/netsuite/records/cash_refund_item.rb
|
@@ -179,6 +183,12 @@ files:
|
|
179
183
|
- lib/netsuite/records/gift_cert_redemption_list.rb
|
180
184
|
- lib/netsuite/records/gift_certificate.rb
|
181
185
|
- lib/netsuite/records/gift_certificate_item.rb
|
186
|
+
- lib/netsuite/records/inbound_shipment.rb
|
187
|
+
- lib/netsuite/records/inbound_shipment_item.rb
|
188
|
+
- lib/netsuite/records/inbound_shipment_item_list.rb
|
189
|
+
- lib/netsuite/records/inter_company_journal_entry.rb
|
190
|
+
- lib/netsuite/records/inter_company_journal_entry_line.rb
|
191
|
+
- lib/netsuite/records/inter_company_journal_entry_line_list.rb
|
182
192
|
- lib/netsuite/records/inventory_adjustment.rb
|
183
193
|
- lib/netsuite/records/inventory_adjustment_inventory.rb
|
184
194
|
- lib/netsuite/records/inventory_adjustment_inventory_list.rb
|
@@ -233,6 +243,7 @@ files:
|
|
233
243
|
- lib/netsuite/records/payment_method.rb
|
234
244
|
- lib/netsuite/records/payroll_item.rb
|
235
245
|
- lib/netsuite/records/phone_call.rb
|
246
|
+
- lib/netsuite/records/price_level.rb
|
236
247
|
- lib/netsuite/records/pricing_matrix.rb
|
237
248
|
- lib/netsuite/records/promotion_code.rb
|
238
249
|
- lib/netsuite/records/purchase_order.rb
|
@@ -325,6 +336,7 @@ files:
|
|
325
336
|
- spec/netsuite/actions/login_spec.rb
|
326
337
|
- spec/netsuite/actions/refresh_spec.rb
|
327
338
|
- spec/netsuite/actions/search_spec.rb
|
339
|
+
- spec/netsuite/actions/update_list_spec.rb
|
328
340
|
- spec/netsuite/actions/update_spec.rb
|
329
341
|
- spec/netsuite/actions/upsert_list_spec.rb
|
330
342
|
- spec/netsuite/actions/upsert_spec.rb
|
@@ -379,6 +391,9 @@ files:
|
|
379
391
|
- spec/netsuite/records/folder_spec.rb
|
380
392
|
- spec/netsuite/records/gift_cert_redemption_list_spec.rb
|
381
393
|
- spec/netsuite/records/gift_cert_redemption_spec.rb
|
394
|
+
- spec/netsuite/records/inter_company_journal_entry_line_list_spec.rb
|
395
|
+
- spec/netsuite/records/inter_company_journal_entry_line_spec.rb
|
396
|
+
- spec/netsuite/records/inter_company_journal_entry_spec.rb
|
382
397
|
- spec/netsuite/records/inventory_assignment_list_spec.rb
|
383
398
|
- spec/netsuite/records/inventory_assignment_spec.rb
|
384
399
|
- spec/netsuite/records/inventory_detail_spec.rb
|
@@ -407,6 +422,7 @@ files:
|
|
407
422
|
- spec/netsuite/records/payment_method_spec.rb
|
408
423
|
- spec/netsuite/records/phone_call_spec.rb
|
409
424
|
- spec/netsuite/records/pomo_code_spec.rb
|
425
|
+
- spec/netsuite/records/price_level_spec.rb
|
410
426
|
- spec/netsuite/records/pricing_matrix_spec.rb
|
411
427
|
- spec/netsuite/records/record_ref_spec.rb
|
412
428
|
- spec/netsuite/records/return_authorization_item_list_spec.rb
|
@@ -475,6 +491,9 @@ files:
|
|
475
491
|
- spec/support/fixtures/update/update_customer_error.xml
|
476
492
|
- spec/support/fixtures/update/update_customer_multiple_errors.xml
|
477
493
|
- spec/support/fixtures/update/update_invoice.xml
|
494
|
+
- spec/support/fixtures/update_list/update_list_items.xml
|
495
|
+
- spec/support/fixtures/update_list/update_list_one_item.xml
|
496
|
+
- spec/support/fixtures/update_list/update_list_with_errors.xml
|
478
497
|
- spec/support/fixtures/upsert/upsert_customer.xml
|
479
498
|
- spec/support/fixtures/upsert/upsert_invoice.xml
|
480
499
|
- spec/support/fixtures/upsert/upsert_invoice_error.xml
|
@@ -519,6 +538,7 @@ test_files:
|
|
519
538
|
- spec/netsuite/actions/login_spec.rb
|
520
539
|
- spec/netsuite/actions/refresh_spec.rb
|
521
540
|
- spec/netsuite/actions/search_spec.rb
|
541
|
+
- spec/netsuite/actions/update_list_spec.rb
|
522
542
|
- spec/netsuite/actions/update_spec.rb
|
523
543
|
- spec/netsuite/actions/upsert_list_spec.rb
|
524
544
|
- spec/netsuite/actions/upsert_spec.rb
|
@@ -573,6 +593,9 @@ test_files:
|
|
573
593
|
- spec/netsuite/records/folder_spec.rb
|
574
594
|
- spec/netsuite/records/gift_cert_redemption_list_spec.rb
|
575
595
|
- spec/netsuite/records/gift_cert_redemption_spec.rb
|
596
|
+
- spec/netsuite/records/inter_company_journal_entry_line_list_spec.rb
|
597
|
+
- spec/netsuite/records/inter_company_journal_entry_line_spec.rb
|
598
|
+
- spec/netsuite/records/inter_company_journal_entry_spec.rb
|
576
599
|
- spec/netsuite/records/inventory_assignment_list_spec.rb
|
577
600
|
- spec/netsuite/records/inventory_assignment_spec.rb
|
578
601
|
- spec/netsuite/records/inventory_detail_spec.rb
|
@@ -601,6 +624,7 @@ test_files:
|
|
601
624
|
- spec/netsuite/records/payment_method_spec.rb
|
602
625
|
- spec/netsuite/records/phone_call_spec.rb
|
603
626
|
- spec/netsuite/records/pomo_code_spec.rb
|
627
|
+
- spec/netsuite/records/price_level_spec.rb
|
604
628
|
- spec/netsuite/records/pricing_matrix_spec.rb
|
605
629
|
- spec/netsuite/records/record_ref_spec.rb
|
606
630
|
- spec/netsuite/records/return_authorization_item_list_spec.rb
|
@@ -669,6 +693,9 @@ test_files:
|
|
669
693
|
- spec/support/fixtures/update/update_customer_error.xml
|
670
694
|
- spec/support/fixtures/update/update_customer_multiple_errors.xml
|
671
695
|
- spec/support/fixtures/update/update_invoice.xml
|
696
|
+
- spec/support/fixtures/update_list/update_list_items.xml
|
697
|
+
- spec/support/fixtures/update_list/update_list_one_item.xml
|
698
|
+
- spec/support/fixtures/update_list/update_list_with_errors.xml
|
672
699
|
- spec/support/fixtures/upsert/upsert_customer.xml
|
673
700
|
- spec/support/fixtures/upsert/upsert_invoice.xml
|
674
701
|
- spec/support/fixtures/upsert/upsert_invoice_error.xml
|