netsuite 0.8.10 → 0.9.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (151) hide show
  1. checksums.yaml +4 -4
  2. data/.github/FUNDING.yml +1 -0
  3. data/.github/dependabot.yml +14 -0
  4. data/.github/workflows/codeql-analysis.yml +70 -0
  5. data/.github/workflows/main.yml +7 -4
  6. data/Gemfile +5 -3
  7. data/HISTORY.md +56 -2
  8. data/README.md +94 -38
  9. data/lib/netsuite/actions/add.rb +7 -2
  10. data/lib/netsuite/actions/attach_file.rb +87 -0
  11. data/lib/netsuite/actions/delete.rb +18 -1
  12. data/lib/netsuite/actions/delete_list.rb +1 -1
  13. data/lib/netsuite/actions/get.rb +1 -1
  14. data/lib/netsuite/actions/get_deleted.rb +1 -1
  15. data/lib/netsuite/actions/get_list.rb +1 -1
  16. data/lib/netsuite/actions/initialize.rb +2 -2
  17. data/lib/netsuite/actions/search.rb +20 -7
  18. data/lib/netsuite/configuration.rb +16 -3
  19. data/lib/netsuite/records/account.rb +0 -1
  20. data/lib/netsuite/records/accounting_period.rb +1 -1
  21. data/lib/netsuite/records/assembly_component.rb +0 -2
  22. data/lib/netsuite/records/assembly_item.rb +2 -2
  23. data/lib/netsuite/records/assembly_unbuild.rb +0 -1
  24. data/lib/netsuite/records/cash_refund.rb +0 -1
  25. data/lib/netsuite/records/cash_refund_item.rb +1 -1
  26. data/lib/netsuite/records/cash_sale.rb +1 -2
  27. data/lib/netsuite/records/contact.rb +0 -1
  28. data/lib/netsuite/records/credit_memo.rb +1 -1
  29. data/lib/netsuite/records/currency_rate.rb +0 -1
  30. data/lib/netsuite/records/custom_record.rb +1 -1
  31. data/lib/netsuite/records/customer.rb +224 -23
  32. data/lib/netsuite/records/customer_deposit.rb +0 -1
  33. data/lib/netsuite/records/customer_payment.rb +0 -1
  34. data/lib/netsuite/records/customer_refund.rb +1 -2
  35. data/lib/netsuite/records/deposit.rb +0 -1
  36. data/lib/netsuite/records/deposit_application.rb +0 -1
  37. data/lib/netsuite/records/description_item.rb +3 -3
  38. data/lib/netsuite/records/discount_item.rb +1 -1
  39. data/lib/netsuite/records/employee.rb +1 -1
  40. data/lib/netsuite/records/estimate.rb +0 -1
  41. data/lib/netsuite/records/file.rb +1 -1
  42. data/lib/netsuite/records/gift_certificate_item.rb +1 -1
  43. data/lib/netsuite/records/inbound_shipment.rb +0 -1
  44. data/lib/netsuite/records/inventory_item.rb +237 -38
  45. data/lib/netsuite/records/inventory_number.rb +0 -1
  46. data/lib/netsuite/records/invoice.rb +2 -2
  47. data/lib/netsuite/records/item_availability.rb +46 -0
  48. data/lib/netsuite/records/item_fulfillment.rb +4 -2
  49. data/lib/netsuite/records/item_fulfillment_package_fed_ex.rb +28 -0
  50. data/lib/netsuite/records/item_fulfillment_package_fed_ex_list.rb +32 -0
  51. data/lib/netsuite/records/item_fulfillment_package_ups.rb +27 -0
  52. data/lib/netsuite/records/item_fulfillment_package_ups_list.rb +32 -0
  53. data/lib/netsuite/records/item_fulfillment_package_usps.rb +26 -0
  54. data/lib/netsuite/records/item_fulfillment_package_usps_list.rb +32 -0
  55. data/lib/netsuite/records/item_group.rb +3 -3
  56. data/lib/netsuite/records/item_option_custom_field.rb +52 -0
  57. data/lib/netsuite/records/item_receipt.rb +0 -1
  58. data/lib/netsuite/records/item_vendor.rb +10 -1
  59. data/lib/netsuite/records/job.rb +0 -1
  60. data/lib/netsuite/records/kit_item.rb +2 -2
  61. data/lib/netsuite/records/location.rb +0 -1
  62. data/lib/netsuite/records/lot_numbered_assembly_item.rb +1 -1
  63. data/lib/netsuite/records/lot_numbered_inventory_item.rb +226 -82
  64. data/lib/netsuite/records/matrix_option_list.rb +16 -0
  65. data/lib/netsuite/records/non_inventory_purchase_item.rb +1 -1
  66. data/lib/netsuite/records/non_inventory_resale_item.rb +157 -21
  67. data/lib/netsuite/records/non_inventory_sale_item.rb +134 -22
  68. data/lib/netsuite/records/null_field_list.rb +15 -0
  69. data/lib/netsuite/records/opportunity.rb +0 -1
  70. data/lib/netsuite/records/other_charge_sale_item.rb +2 -2
  71. data/lib/netsuite/records/payment_item.rb +3 -3
  72. data/lib/netsuite/records/payroll_item.rb +0 -1
  73. data/lib/netsuite/records/purchase_order.rb +0 -1
  74. data/lib/netsuite/records/record_ref.rb +1 -1
  75. data/lib/netsuite/records/return_authorization.rb +1 -0
  76. data/lib/netsuite/records/sales_order.rb +2 -2
  77. data/lib/netsuite/records/sales_order_item.rb +2 -1
  78. data/lib/netsuite/records/serialized_assembly_item.rb +1 -1
  79. data/lib/netsuite/records/serialized_inventory_item.rb +2 -2
  80. data/lib/netsuite/records/serialized_inventory_item_location.rb +0 -1
  81. data/lib/netsuite/records/service_resale_item.rb +125 -21
  82. data/lib/netsuite/records/service_sale_item.rb +1 -2
  83. data/lib/netsuite/records/{customer_subscription.rb → subscription.rb} +1 -1
  84. data/lib/netsuite/records/subscriptions_list.rb +10 -0
  85. data/lib/netsuite/records/subsidiary.rb +0 -1
  86. data/lib/netsuite/records/subtotal_item.rb +3 -4
  87. data/lib/netsuite/records/transfer_order.rb +0 -1
  88. data/lib/netsuite/records/translation.rb +17 -0
  89. data/lib/netsuite/records/translation_list.rb +11 -0
  90. data/lib/netsuite/records/vendor.rb +0 -1
  91. data/lib/netsuite/records/vendor_bill.rb +0 -1
  92. data/lib/netsuite/records/work_order.rb +0 -1
  93. data/lib/netsuite/records/work_order_item.rb +0 -1
  94. data/lib/netsuite/support/actions.rb +2 -0
  95. data/lib/netsuite/support/fields.rb +2 -0
  96. data/lib/netsuite/support/records.rb +22 -5
  97. data/lib/netsuite/support/sublist.rb +2 -2
  98. data/lib/netsuite/utilities/strings.rb +15 -0
  99. data/lib/netsuite/utilities.rb +25 -13
  100. data/lib/netsuite/version.rb +1 -1
  101. data/lib/netsuite.rb +15 -3
  102. data/netsuite.gemspec +5 -2
  103. data/spec/netsuite/actions/add_spec.rb +39 -1
  104. data/spec/netsuite/actions/attach_file_spec.rb +59 -0
  105. data/spec/netsuite/actions/delete_spec.rb +74 -14
  106. data/spec/netsuite/actions/get_select_value_spec.rb +43 -0
  107. data/spec/netsuite/actions/search_spec.rb +205 -0
  108. data/spec/netsuite/configuration_spec.rb +35 -0
  109. data/spec/netsuite/records/cash_refund_item_spec.rb +1 -1
  110. data/spec/netsuite/records/credit_memo_spec.rb +14 -0
  111. data/spec/netsuite/records/customer_spec.rb +287 -20
  112. data/spec/netsuite/records/inventory_item_spec.rb +239 -22
  113. data/spec/netsuite/records/invoice_spec.rb +43 -0
  114. data/spec/netsuite/records/item_availability_spec.rb +59 -0
  115. data/spec/netsuite/records/item_fulfillment_package_fed_ex_list_spec.rb +27 -0
  116. data/spec/netsuite/records/item_fulfillment_package_ups_list_spec.rb +27 -0
  117. data/spec/netsuite/records/item_fulfillment_package_usps_list_spec.rb +27 -0
  118. data/spec/netsuite/records/item_option_custom_field_spec.rb +27 -0
  119. data/spec/netsuite/records/item_vendor_list_spec.rb +2 -5
  120. data/spec/netsuite/records/item_vendor_spec.rb +14 -2
  121. data/spec/netsuite/records/lot_numbered_inventory_item_spec.rb +247 -0
  122. data/spec/netsuite/records/matrix_option_list_spec.rb +26 -0
  123. data/spec/netsuite/records/non_inventory_resale_item_spec.rb +159 -24
  124. data/spec/netsuite/records/non_inventory_sale_item_spec.rb +135 -22
  125. data/spec/netsuite/records/null_field_list_spec.rb +30 -0
  126. data/spec/netsuite/records/return_authorization_spec.rb +62 -0
  127. data/spec/netsuite/records/sales_order_item_spec.rb +4 -3
  128. data/spec/netsuite/records/sales_order_spec.rb +46 -0
  129. data/spec/netsuite/records/service_resale_item_spec.rb +122 -17
  130. data/spec/netsuite/records/{customer_subscription_spec.rb → subscription_spec.rb} +2 -2
  131. data/spec/netsuite/records/{customer_subscriptions_list_spec.rb → subscriptions_list_spec.rb} +2 -2
  132. data/spec/netsuite/records/translation_list_spec.rb +34 -0
  133. data/spec/netsuite/records/translation_spec.rb +28 -0
  134. data/spec/netsuite/support/fields_spec.rb +16 -4
  135. data/spec/netsuite/support/records_spec.rb +33 -7
  136. data/spec/netsuite/support/search_result_spec.rb +12 -0
  137. data/spec/netsuite/utilities_spec.rb +10 -2
  138. data/spec/support/fixtures/add/add_file.xml +20 -0
  139. data/spec/support/fixtures/add/add_invoice.xml +9 -5
  140. data/spec/support/fixtures/attach/attach_file_to_sales_order.xml +16 -0
  141. data/spec/support/fixtures/attach/attach_file_to_sales_order_error.xml +20 -0
  142. data/spec/support/fixtures/delete/delete_customer_error.xml +21 -0
  143. data/spec/support/fixtures/delete/delete_customer_multiple_errors.xml +25 -0
  144. data/spec/support/fixtures/get_item_availability/get_item_availability.xml +46 -0
  145. data/spec/support/fixtures/get_select_value/empty_result.xml +22 -0
  146. data/spec/support/fixtures/get_select_value/item_fulfillment_ship_method.xml +43 -0
  147. data/spec/support/fixtures/search/basic_search_contact.xml +39 -0
  148. data/spec/support/fixtures/search/single_search_result.xml +46 -0
  149. metadata +78 -17
  150. data/lib/netsuite/core_ext/string/lower_camelcase.rb +0 -9
  151. data/lib/netsuite/records/customer_subscriptions_list.rb +0 -10
@@ -0,0 +1,25 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
+ <soapenv:Header>
4
+ <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2020_2.platform.webservices.netsuite.com">
5
+ <platformMsgs:nsId>WEBSERVICES_3392464_1220201115821392011296470399_67055c545d0</platformMsgs:nsId>
6
+ </platformMsgs:documentInfo>
7
+ </soapenv:Header>
8
+ <soapenv:Body>
9
+ <deleteResponse xmlns="urn:messages_2020_2.platform.webservices.netsuite.com">
10
+ <writeResponse>
11
+ <platformCore:status xmlns:platformCore="urn:core_2020_2.platform.webservices.netsuite.com" isSuccess="false">
12
+ <platformCore:statusDetail type="ERROR">
13
+ <platformCore:code>INSUFFICIENT_PERMISSION</platformCore:code>
14
+ <platformCore:message>Permission Violation: You need a higher level of the 'Lists -&gt; Documents and Files' permission to access this page. Please contact your account administrator.</platformCore:message>
15
+ </platformCore:statusDetail>
16
+ <platformCore:statusDetail type="ERROR">
17
+ <platformCore:code>SOMETHING_ELSE</platformCore:code>
18
+ <platformCore:message>Another error.</platformCore:message>
19
+ </platformCore:statusDetail>
20
+ </platformCore:status>
21
+ <baseRef xmlns:platformCore="urn:core_2020_2.platform.webservices.netsuite.com" internalId="118519" type="file" xsi:type="platformCore:RecordRef"/>
22
+ </writeResponse>
23
+ </deleteResponse>
24
+ </soapenv:Body>
25
+ </soapenv:Envelope>
@@ -0,0 +1,46 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <soapenv:Header>
3
+ <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2016_2.platform.webservices.netsuite.com">
4
+ <platformMsgs:nsId>WEBSERVICES_3868171_122020162073815481885806769_24761121647f</platformMsgs:nsId>
5
+ </platformMsgs:documentInfo>
6
+ </soapenv:Header>
7
+ <soapenv:Body>
8
+ <getItemAvailabilityResponse xmlns="urn:messages_2016_2.platform.webservices.netsuite.com">
9
+ <platformCore:getItemAvailabilityResult xmlns:platformCore="urn:core_2016_2.platform.webservices.netsuite.com">
10
+ <platformCore:status isSuccess="true"/>
11
+ <platformCore:itemAvailabilityList>
12
+ <platformCore:itemAvailability>
13
+ <platformCore:item internalId="57" type="inventoryItem">
14
+ <platformCore:name>CD-R</platformCore:name>
15
+ </platformCore:item>
16
+ <platformCore:lastQtyAvailableChange>2022-05-05T03:40:06.000-07:00</platformCore:lastQtyAvailableChange>
17
+ <platformCore:locationId internalId="1" type="location">
18
+ <platformCore:name>Warehouse - East Coast</platformCore:name>
19
+ </platformCore:locationId>
20
+ <platformCore:quantityOnHand>264.0</platformCore:quantityOnHand>
21
+ <platformCore:onHandValueMli>129.36</platformCore:onHandValueMli>
22
+ <platformCore:reorderPoint>50.0</platformCore:reorderPoint>
23
+ <platformCore:quantityOnOrder>0.0</platformCore:quantityOnOrder>
24
+ <platformCore:quantityCommitted>0.0</platformCore:quantityCommitted>
25
+ <platformCore:quantityAvailable>264.0</platformCore:quantityAvailable>
26
+ </platformCore:itemAvailability>
27
+ <platformCore:itemAvailability>
28
+ <platformCore:item internalId="57" type="inventoryItem">
29
+ <platformCore:name>CD-R</platformCore:name>
30
+ </platformCore:item>
31
+ <platformCore:lastQtyAvailableChange>2020-04-27T08:38:20.000-07:00</platformCore:lastQtyAvailableChange>
32
+ <platformCore:locationId internalId="2" type="location">
33
+ <platformCore:name>Warehouse - West Coast</platformCore:name>
34
+ </platformCore:locationId>
35
+ <platformCore:quantityOnHand>-1.0</platformCore:quantityOnHand>
36
+ <platformCore:onHandValueMli>0.0</platformCore:onHandValueMli>
37
+ <platformCore:reorderPoint>50.0</platformCore:reorderPoint>
38
+ <platformCore:quantityOnOrder>0.0</platformCore:quantityOnOrder>
39
+ <platformCore:quantityCommitted>0.0</platformCore:quantityCommitted>
40
+ <platformCore:quantityAvailable>0.0</platformCore:quantityAvailable>
41
+ </platformCore:itemAvailability>
42
+ </platformCore:itemAvailabilityList>
43
+ </platformCore:getItemAvailabilityResult>
44
+ </getItemAvailabilityResponse>
45
+ </soapenv:Body>
46
+ </soapenv:Envelope>
@@ -0,0 +1,22 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
+ <soapenv:Header>
4
+ <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2016_2.platform.webservices.netsuite.com">
5
+ <platformMsgs:nsId>REDACTED</platformMsgs:nsId>
6
+ </platformMsgs:documentInfo>
7
+ </soapenv:Header>
8
+ <soapenv:Body>
9
+ <getSelectValueResponse xmlns="urn:messages_2016_2.platform.webservices.netsuite.com">
10
+ <platformCore:getSelectValueResult xmlns:platformCore="urn:core_2016_2.platform.webservices.netsuite.com">
11
+ <platformCore:status isSuccess="true">
12
+ <platformCore:statusDetail type="WARN">
13
+ <platformCore:code>WARNING</platformCore:code>
14
+ <platformCore:message>Results are incomplete. You must provide a value for field entity.</platformCore:message>
15
+ </platformCore:statusDetail>
16
+ </platformCore:status>
17
+ <platformCore:totalRecords>0</platformCore:totalRecords>
18
+ <platformCore:totalPages>0</platformCore:totalPages>
19
+ </platformCore:getSelectValueResult>
20
+ </getSelectValueResponse>
21
+ </soapenv:Body>
22
+ </soapenv:Envelope>
@@ -0,0 +1,43 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
+ <soapenv:Header>
4
+ <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2021_2.platform.webservices.netsuite.com">
5
+ <platformMsgs:nsId>REDACTED</platformMsgs:nsId>
6
+ </platformMsgs:documentInfo>
7
+ </soapenv:Header>
8
+ <soapenv:Body>
9
+ <getSelectValueResponse xmlns="urn:messages_2021_2.platform.webservices.netsuite.com">
10
+ <platformCore:getSelectValueResult xmlns:platformCore="urn:core_2021_2.platform.webservices.netsuite.com">
11
+ <platformCore:status isSuccess="true"/>
12
+ <platformCore:totalRecords>8</platformCore:totalRecords>
13
+ <platformCore:totalPages>1</platformCore:totalPages>
14
+ <platformCore:baseRefList>
15
+ <platformCore:baseRef internalId="94" xsi:type="platformCore:RecordRef">
16
+ <platformCore:name>Ground (Custom)</platformCore:name>
17
+ </platformCore:baseRef>
18
+ <platformCore:baseRef internalId="2" xsi:type="platformCore:RecordRef">
19
+ <platformCore:name>Pick-up</platformCore:name>
20
+ </platformCore:baseRef>
21
+ <platformCore:baseRef internalId="3" xsi:type="platformCore:RecordRef">
22
+ <platformCore:name>Special Delivery</platformCore:name>
23
+ </platformCore:baseRef>
24
+ <platformCore:baseRef internalId="91" xsi:type="platformCore:RecordRef">
25
+ <platformCore:name>UPS 2nd Day Air AM&amp;#174;</platformCore:name>
26
+ </platformCore:baseRef>
27
+ <platformCore:baseRef internalId="92" xsi:type="platformCore:RecordRef">
28
+ <platformCore:name>UPS Ground</platformCore:name>
29
+ </platformCore:baseRef>
30
+ <platformCore:baseRef internalId="77" xsi:type="platformCore:RecordRef">
31
+ <platformCore:name>UPS Next Day Air?</platformCore:name>
32
+ </platformCore:baseRef>
33
+ <platformCore:baseRef internalId="96" xsi:type="platformCore:RecordRef">
34
+ <platformCore:name>UPS Next Day Air® Early A.M.®</platformCore:name>
35
+ </platformCore:baseRef>
36
+ <platformCore:baseRef internalId="95" xsi:type="platformCore:RecordRef">
37
+ <platformCore:name>UPS® Ground</platformCore:name>
38
+ </platformCore:baseRef>
39
+ </platformCore:baseRefList>
40
+ </platformCore:getSelectValueResult>
41
+ </getSelectValueResponse>
42
+ </soapenv:Body>
43
+ </soapenv:Envelope>
@@ -0,0 +1,39 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <soapenv:Header>
3
+ <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2020_2.platform.webservices.netsuite.com">
4
+ <platformMsgs:nsId>WEBSERVICES_123456</platformMsgs:nsId>
5
+ </platformMsgs:documentInfo>
6
+ </soapenv:Header>
7
+ <soapenv:Body>
8
+ <searchResponse xmlns="urn:messages_2020_2.platform.webservices.netsuite.com">
9
+ <platformCore:searchResult xmlns:platformCore="urn:core_2020_2.platform.webservices.netsuite.com">
10
+ <platformCore:status isSuccess="true"/>
11
+ <platformCore:totalRecords>1</platformCore:totalRecords>
12
+ <platformCore:pageSize>1000</platformCore:pageSize>
13
+ <platformCore:totalPages>1</platformCore:totalPages>
14
+ <platformCore:pageIndex>1</platformCore:pageIndex>
15
+ <platformCore:searchId>WEBSERVICES_123456</platformCore:searchId>
16
+ <platformCore:recordList>
17
+ <platformCore:record xmlns:listRel="urn:relationships_2020_2.lists.webservices.netsuite.com" internalId="7272" externalId="customer_contact_3338" xsi:type="listRel:Contact">
18
+ <listRel:entityId>Mary</listRel:entityId>
19
+ <listRel:company internalId="7270">
20
+ <platformCore:name>1357 What a Company</platformCore:name>
21
+ </listRel:company>
22
+ <listRel:title>President/CEO</listRel:title>
23
+ <listRel:phone>(123) 555-1234</listRel:phone>
24
+ <listRel:email>***FILTERED***</listRel:email>
25
+ <listRel:defaultAddress>123 Main St</listRel:defaultAddress>
26
+ <listRel:isPrivate>false</listRel:isPrivate>
27
+ <listRel:isInactive>false</listRel:isInactive>
28
+ <listRel:subsidiary internalId="1">
29
+ <platformCore:name>Awesome Company</platformCore:name>
30
+ </listRel:subsidiary>
31
+ <listRel:globalSubscriptionStatus>_softOptOut</listRel:globalSubscriptionStatus>
32
+ <listRel:dateCreated>2021-03-03T08:26:56.000-08:00</listRel:dateCreated>
33
+ <listRel:lastModifiedDate>2021-07-07T09:49:51.000-07:00</listRel:lastModifiedDate>
34
+ </platformCore:record>
35
+ </platformCore:recordList>
36
+ </platformCore:searchResult>
37
+ </searchResponse>
38
+ </soapenv:Body>
39
+ </soapenv:Envelope>
@@ -0,0 +1,46 @@
1
+ <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
2
+ <soapenv:Header>
3
+ <platformMsgs:documentInfo xmlns:platformMsgs="urn:messages_2021_1.platform.webservices.netsuite.com">
4
+ <platformMsgs:nsId>WEBSERVICES_3603434_08292013908151921913870884_2f1b68b787b4d</platformMsgs:nsId>
5
+ </platformMsgs:documentInfo>
6
+ </soapenv:Header>
7
+ <soapenv:Body>
8
+ <searchResponse xmlns="urn:messages_2021_1.platform.webservices.netsuite.com">
9
+ <platformCore:searchResult xmlns:platformCore="urn:core_2021_1.platform.webservices.netsuite.com">
10
+ <platformCore:status isSuccess="true"/>
11
+ <platformCore:totalRecords>1</platformCore:totalRecords>
12
+ <platformCore:pageSize>1000</platformCore:pageSize>
13
+ <platformCore:totalPages>1</platformCore:totalPages>
14
+ <platformCore:pageIndex>1</platformCore:pageIndex>
15
+ <platformCore:searchId>WEBSERVICES_3603434_08292013908151921913870884_2f1b68b787b4d</platformCore:searchId>
16
+ <platformCore:recordList>
17
+ <platformCore:record xmlns:listAcct="urn:accounting_2021_1.lists.webservices.netsuite.com" internalId="355" xsi:type="listAcct:Account">
18
+ <listAcct:acctType>_costOfGoodsSold</listAcct:acctType>
19
+ <listAcct:acctNumber>4508</listAcct:acctNumber>
20
+ <listAcct:acctName>Selling Fees/Commissions - COS</listAcct:acctName>
21
+ <listAcct:includeChildren>false</listAcct:includeChildren>
22
+ <listAcct:generalRate>_average</listAcct:generalRate>
23
+ <listAcct:parent internalId="246">
24
+ <platformCore:name>4500 Cost of Sales</platformCore:name>
25
+ </listAcct:parent>
26
+ <listAcct:cashFlowRate>_average</listAcct:cashFlowRate>
27
+ <listAcct:isInactive>false</listAcct:isInactive>
28
+ <listAcct:inventory>false</listAcct:inventory>
29
+ <listAcct:revalue>false</listAcct:revalue>
30
+ <listAcct:customFieldList>
31
+ <platformCore:customField internalId="3602" scriptId="custrecord_cps_bdc_lastupdatedbyimp_acc" xsi:type="platformCore:BooleanCustomFieldRef">
32
+ <platformCore:value>false</platformCore:value>
33
+ </platformCore:customField>
34
+ <platformCore:customField internalId="3609" scriptId="custrecord_cps_bdc_updatedbyimp_acc" xsi:type="platformCore:BooleanCustomFieldRef">
35
+ <platformCore:value>false</platformCore:value>
36
+ </platformCore:customField>
37
+ <platformCore:customField internalId="1145" scriptId="custrecord_has_mx_localization" xsi:type="platformCore:BooleanCustomFieldRef">
38
+ <platformCore:value>false</platformCore:value>
39
+ </platformCore:customField>
40
+ </listAcct:customFieldList>
41
+ </platformCore:record>
42
+ </platformCore:recordList>
43
+ </platformCore:searchResult>
44
+ </searchResponse>
45
+ </soapenv:Body>
46
+ </soapenv:Envelope>
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.10
4
+ version: 0.9.0
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: 2021-11-16 00:00:00.000000000 Z
12
+ date: 2022-07-11 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: savon
@@ -31,28 +31,28 @@ dependencies:
31
31
  requirements:
32
32
  - - "~>"
33
33
  - !ruby/object:Gem::Version
34
- version: 3.10.0
34
+ version: 3.11.0
35
35
  type: :development
36
36
  prerelease: false
37
37
  version_requirements: !ruby/object:Gem::Requirement
38
38
  requirements:
39
39
  - - "~>"
40
40
  - !ruby/object:Gem::Version
41
- version: 3.10.0
41
+ version: 3.11.0
42
42
  - !ruby/object:Gem::Dependency
43
43
  name: rake
44
44
  requirement: !ruby/object:Gem::Requirement
45
45
  requirements:
46
- - - ">="
46
+ - - "~>"
47
47
  - !ruby/object:Gem::Version
48
- version: '0'
48
+ version: 12.3.3
49
49
  type: :development
50
50
  prerelease: false
51
51
  version_requirements: !ruby/object:Gem::Requirement
52
52
  requirements:
53
- - - ">="
53
+ - - "~>"
54
54
  - !ruby/object:Gem::Version
55
- version: '0'
55
+ version: 12.3.3
56
56
  description: NetSuite SuiteTalk API Wrapper
57
57
  email:
58
58
  - ryan.moran@gmail.com
@@ -61,6 +61,9 @@ executables: []
61
61
  extensions: []
62
62
  extra_rdoc_files: []
63
63
  files:
64
+ - ".github/FUNDING.yml"
65
+ - ".github/dependabot.yml"
66
+ - ".github/workflows/codeql-analysis.yml"
64
67
  - ".github/workflows/main.yml"
65
68
  - ".gitignore"
66
69
  - ".rspec"
@@ -73,6 +76,7 @@ files:
73
76
  - Rakefile
74
77
  - lib/netsuite.rb
75
78
  - lib/netsuite/actions/add.rb
79
+ - lib/netsuite/actions/attach_file.rb
76
80
  - lib/netsuite/actions/delete.rb
77
81
  - lib/netsuite/actions/delete_list.rb
78
82
  - lib/netsuite/actions/get.rb
@@ -88,7 +92,6 @@ files:
88
92
  - lib/netsuite/actions/upsert.rb
89
93
  - lib/netsuite/actions/upsert_list.rb
90
94
  - lib/netsuite/configuration.rb
91
- - lib/netsuite/core_ext/string/lower_camelcase.rb
92
95
  - lib/netsuite/errors.rb
93
96
  - lib/netsuite/namespaces/act_sched.rb
94
97
  - lib/netsuite/namespaces/comm_general.rb
@@ -189,8 +192,6 @@ files:
189
192
  - lib/netsuite/records/customer_sales_team.rb
190
193
  - lib/netsuite/records/customer_sales_team_list.rb
191
194
  - lib/netsuite/records/customer_status.rb
192
- - lib/netsuite/records/customer_subscription.rb
193
- - lib/netsuite/records/customer_subscriptions_list.rb
194
195
  - lib/netsuite/records/department.rb
195
196
  - lib/netsuite/records/deposit.rb
196
197
  - lib/netsuite/records/deposit_application.rb
@@ -236,14 +237,22 @@ files:
236
237
  - lib/netsuite/records/invoice.rb
237
238
  - lib/netsuite/records/invoice_item.rb
238
239
  - lib/netsuite/records/invoice_item_list.rb
240
+ - lib/netsuite/records/item_availability.rb
239
241
  - lib/netsuite/records/item_fulfillment.rb
240
242
  - lib/netsuite/records/item_fulfillment_item.rb
241
243
  - lib/netsuite/records/item_fulfillment_item_list.rb
242
244
  - lib/netsuite/records/item_fulfillment_package.rb
245
+ - lib/netsuite/records/item_fulfillment_package_fed_ex.rb
246
+ - lib/netsuite/records/item_fulfillment_package_fed_ex_list.rb
243
247
  - lib/netsuite/records/item_fulfillment_package_list.rb
248
+ - lib/netsuite/records/item_fulfillment_package_ups.rb
249
+ - lib/netsuite/records/item_fulfillment_package_ups_list.rb
250
+ - lib/netsuite/records/item_fulfillment_package_usps.rb
251
+ - lib/netsuite/records/item_fulfillment_package_usps_list.rb
244
252
  - lib/netsuite/records/item_group.rb
245
253
  - lib/netsuite/records/item_member.rb
246
254
  - lib/netsuite/records/item_member_list.rb
255
+ - lib/netsuite/records/item_option_custom_field.rb
247
256
  - lib/netsuite/records/item_receipt.rb
248
257
  - lib/netsuite/records/item_receipt_item.rb
249
258
  - lib/netsuite/records/item_receipt_item_list.rb
@@ -267,6 +276,7 @@ files:
267
276
  - lib/netsuite/records/non_inventory_sale_item.rb
268
277
  - lib/netsuite/records/note.rb
269
278
  - lib/netsuite/records/note_type.rb
279
+ - lib/netsuite/records/null_field_list.rb
270
280
  - lib/netsuite/records/opportunity.rb
271
281
  - lib/netsuite/records/opportunity_item.rb
272
282
  - lib/netsuite/records/opportunity_item_list.rb
@@ -312,6 +322,8 @@ files:
312
322
  - lib/netsuite/records/service_sale_item.rb
313
323
  - lib/netsuite/records/ship_address.rb
314
324
  - lib/netsuite/records/site_category.rb
325
+ - lib/netsuite/records/subscription.rb
326
+ - lib/netsuite/records/subscriptions_list.rb
315
327
  - lib/netsuite/records/subsidiary.rb
316
328
  - lib/netsuite/records/subtotal_item.rb
317
329
  - lib/netsuite/records/support_case.rb
@@ -327,6 +339,8 @@ files:
327
339
  - lib/netsuite/records/transfer_order.rb
328
340
  - lib/netsuite/records/transfer_order_item.rb
329
341
  - lib/netsuite/records/transfer_order_item_list.rb
342
+ - lib/netsuite/records/translation.rb
343
+ - lib/netsuite/records/translation_list.rb
330
344
  - lib/netsuite/records/units_type.rb
331
345
  - lib/netsuite/records/units_type_uom.rb
332
346
  - lib/netsuite/records/units_type_uom_list.rb
@@ -369,13 +383,16 @@ files:
369
383
  - lib/netsuite/support/sublist.rb
370
384
  - lib/netsuite/utilities.rb
371
385
  - lib/netsuite/utilities/data_center.rb
386
+ - lib/netsuite/utilities/strings.rb
372
387
  - lib/netsuite/version.rb
373
388
  - netsuite.gemspec
374
389
  - spec/netsuite/actions/add_spec.rb
390
+ - spec/netsuite/actions/attach_file_spec.rb
375
391
  - spec/netsuite/actions/delete_list_spec.rb
376
392
  - spec/netsuite/actions/delete_spec.rb
377
393
  - spec/netsuite/actions/get_deleted_spec.rb
378
394
  - spec/netsuite/actions/get_list_spec.rb
395
+ - spec/netsuite/actions/get_select_value_spec.rb
379
396
  - spec/netsuite/actions/get_spec.rb
380
397
  - spec/netsuite/actions/initialize_spec.rb
381
398
  - spec/netsuite/actions/login_spec.rb
@@ -432,8 +449,6 @@ files:
432
449
  - spec/netsuite/records/customer_refund_spec.rb
433
450
  - spec/netsuite/records/customer_sales_team_list_spec.rb
434
451
  - spec/netsuite/records/customer_spec.rb
435
- - spec/netsuite/records/customer_subscription_spec.rb
436
- - spec/netsuite/records/customer_subscriptions_list_spec.rb
437
452
  - spec/netsuite/records/department_spec.rb
438
453
  - spec/netsuite/records/deposit_spec.rb
439
454
  - spec/netsuite/records/discount_item_spec.rb
@@ -458,10 +473,15 @@ files:
458
473
  - spec/netsuite/records/invoice_item_list_spec.rb
459
474
  - spec/netsuite/records/invoice_item_spec.rb
460
475
  - spec/netsuite/records/invoice_spec.rb
476
+ - spec/netsuite/records/item_availability_spec.rb
477
+ - spec/netsuite/records/item_fulfillment_package_fed_ex_list_spec.rb
461
478
  - spec/netsuite/records/item_fulfillment_package_list_spec.rb
479
+ - spec/netsuite/records/item_fulfillment_package_ups_list_spec.rb
480
+ - spec/netsuite/records/item_fulfillment_package_usps_list_spec.rb
462
481
  - spec/netsuite/records/item_fulfillment_spec.rb
463
482
  - spec/netsuite/records/item_group_spec.rb
464
483
  - spec/netsuite/records/item_member_list_spec.rb
484
+ - spec/netsuite/records/item_option_custom_field_spec.rb
465
485
  - spec/netsuite/records/item_vendor_list_spec.rb
466
486
  - spec/netsuite/records/item_vendor_spec.rb
467
487
  - spec/netsuite/records/job_spec.rb
@@ -470,12 +490,14 @@ files:
470
490
  - spec/netsuite/records/journal_entry_spec.rb
471
491
  - spec/netsuite/records/kit_item_spec.rb
472
492
  - spec/netsuite/records/location_spec.rb
493
+ - spec/netsuite/records/lot_numbered_inventory_item_spec.rb
473
494
  - spec/netsuite/records/matrix_option_list_spec.rb
474
495
  - spec/netsuite/records/message_spec.rb
475
496
  - spec/netsuite/records/non_inventory_resale_item_spec.rb
476
497
  - spec/netsuite/records/non_inventory_sale_item_spec.rb
477
498
  - spec/netsuite/records/note_spec.rb
478
499
  - spec/netsuite/records/note_type_spec.rb
500
+ - spec/netsuite/records/null_field_list_spec.rb
479
501
  - spec/netsuite/records/partner_spec.rb
480
502
  - spec/netsuite/records/payment_item_spec.rb
481
503
  - spec/netsuite/records/payment_method_spec.rb
@@ -486,6 +508,7 @@ files:
486
508
  - spec/netsuite/records/record_ref_spec.rb
487
509
  - spec/netsuite/records/return_authorization_item_list_spec.rb
488
510
  - spec/netsuite/records/return_authorization_item_spec.rb
511
+ - spec/netsuite/records/return_authorization_spec.rb
489
512
  - spec/netsuite/records/rev_rec_template_spec.rb
490
513
  - spec/netsuite/records/sales_order_item_list_spec.rb
491
514
  - spec/netsuite/records/sales_order_item_spec.rb
@@ -495,6 +518,8 @@ files:
495
518
  - spec/netsuite/records/service_sale_item_spec.rb
496
519
  - spec/netsuite/records/ship_address_spec.rb
497
520
  - spec/netsuite/records/site_category_spec.rb
521
+ - spec/netsuite/records/subscription_spec.rb
522
+ - spec/netsuite/records/subscriptions_list_spec.rb
498
523
  - spec/netsuite/records/subsidiary_spec.rb
499
524
  - spec/netsuite/records/support_case_spec.rb
500
525
  - spec/netsuite/records/support_case_type_spec.rb
@@ -502,6 +527,8 @@ files:
502
527
  - spec/netsuite/records/term_spec.rb
503
528
  - spec/netsuite/records/transaction_body_custom_field_spec.rb
504
529
  - spec/netsuite/records/transaction_column_custom_field_spec.rb
530
+ - spec/netsuite/records/translation_list_spec.rb
531
+ - spec/netsuite/records/translation_spec.rb
505
532
  - spec/netsuite/records/units_type_spec.rb
506
533
  - spec/netsuite/records/units_type_uom_list_spec.rb
507
534
  - spec/netsuite/records/units_type_uom_spec.rb
@@ -537,23 +564,33 @@ files:
537
564
  - spec/support/configuration.rb
538
565
  - spec/support/field_matcher.rb
539
566
  - spec/support/fixtures/add/add_customer.xml
567
+ - spec/support/fixtures/add/add_file.xml
540
568
  - spec/support/fixtures/add/add_invoice.xml
541
569
  - spec/support/fixtures/add/add_invoice_error.xml
542
570
  - spec/support/fixtures/add/add_invoice_multiple_errors.xml
571
+ - spec/support/fixtures/attach/attach_file_to_sales_order.xml
572
+ - spec/support/fixtures/attach/attach_file_to_sales_order_error.xml
543
573
  - spec/support/fixtures/custom_fields/multi_select.xml
544
574
  - spec/support/fixtures/delete/delete_customer.xml
575
+ - spec/support/fixtures/delete/delete_customer_error.xml
576
+ - spec/support/fixtures/delete/delete_customer_multiple_errors.xml
545
577
  - spec/support/fixtures/delete_list/delete_list_customers.xml
546
578
  - spec/support/fixtures/delete_list/delete_list_customers_with_errors.xml
547
579
  - spec/support/fixtures/get/get_customer.xml
548
580
  - spec/support/fixtures/get/get_invoice.xml
549
581
  - spec/support/fixtures/get_deleted/get_deleted_invoices.xml
582
+ - spec/support/fixtures/get_item_availability/get_item_availability.xml
583
+ - spec/support/fixtures/get_select_value/empty_result.xml
584
+ - spec/support/fixtures/get_select_value/item_fulfillment_ship_method.xml
550
585
  - spec/support/fixtures/initialize/initialize_invoice_from_customer.xml
551
586
  - spec/support/fixtures/login/failure_concurrent_requests.xml
552
587
  - spec/support/fixtures/login/failure_invalid_credentials.xml
553
588
  - spec/support/fixtures/login/success.xml
589
+ - spec/support/fixtures/search/basic_search_contact.xml
554
590
  - spec/support/fixtures/search/saved_search_customer.xml
555
591
  - spec/support/fixtures/search/saved_search_item.xml
556
592
  - spec/support/fixtures/search/saved_search_joined_custom_customer.xml
593
+ - spec/support/fixtures/search/single_search_result.xml
557
594
  - spec/support/fixtures/update/update_customer.xml
558
595
  - spec/support/fixtures/update/update_customer_error.xml
559
596
  - spec/support/fixtures/update/update_customer_multiple_errors.xml
@@ -577,6 +614,8 @@ licenses:
577
614
  - MIT
578
615
  metadata:
579
616
  changelog_uri: https://github.com/netsweet/netsuite/blob/master/HISTORY.md
617
+ mailing_list_uri: http://opensuite-slackin.herokuapp.com
618
+ rubygems_mfa_required: 'true'
580
619
  post_install_message:
581
620
  rdoc_options: []
582
621
  require_paths:
@@ -585,23 +624,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
585
624
  requirements:
586
625
  - - ">="
587
626
  - !ruby/object:Gem::Version
588
- version: '0'
627
+ version: '2.1'
589
628
  required_rubygems_version: !ruby/object:Gem::Requirement
590
629
  requirements:
591
630
  - - ">="
592
631
  - !ruby/object:Gem::Version
593
632
  version: '0'
594
633
  requirements: []
595
- rubygems_version: 3.1.6
634
+ rubygems_version: 3.3.11
596
635
  signing_key:
597
636
  specification_version: 4
598
637
  summary: NetSuite SuiteTalk API (SOAP) Wrapper
599
638
  test_files:
600
639
  - spec/netsuite/actions/add_spec.rb
640
+ - spec/netsuite/actions/attach_file_spec.rb
601
641
  - spec/netsuite/actions/delete_list_spec.rb
602
642
  - spec/netsuite/actions/delete_spec.rb
603
643
  - spec/netsuite/actions/get_deleted_spec.rb
604
644
  - spec/netsuite/actions/get_list_spec.rb
645
+ - spec/netsuite/actions/get_select_value_spec.rb
605
646
  - spec/netsuite/actions/get_spec.rb
606
647
  - spec/netsuite/actions/initialize_spec.rb
607
648
  - spec/netsuite/actions/login_spec.rb
@@ -658,8 +699,6 @@ test_files:
658
699
  - spec/netsuite/records/customer_refund_spec.rb
659
700
  - spec/netsuite/records/customer_sales_team_list_spec.rb
660
701
  - spec/netsuite/records/customer_spec.rb
661
- - spec/netsuite/records/customer_subscription_spec.rb
662
- - spec/netsuite/records/customer_subscriptions_list_spec.rb
663
702
  - spec/netsuite/records/department_spec.rb
664
703
  - spec/netsuite/records/deposit_spec.rb
665
704
  - spec/netsuite/records/discount_item_spec.rb
@@ -684,10 +723,15 @@ test_files:
684
723
  - spec/netsuite/records/invoice_item_list_spec.rb
685
724
  - spec/netsuite/records/invoice_item_spec.rb
686
725
  - spec/netsuite/records/invoice_spec.rb
726
+ - spec/netsuite/records/item_availability_spec.rb
727
+ - spec/netsuite/records/item_fulfillment_package_fed_ex_list_spec.rb
687
728
  - spec/netsuite/records/item_fulfillment_package_list_spec.rb
729
+ - spec/netsuite/records/item_fulfillment_package_ups_list_spec.rb
730
+ - spec/netsuite/records/item_fulfillment_package_usps_list_spec.rb
688
731
  - spec/netsuite/records/item_fulfillment_spec.rb
689
732
  - spec/netsuite/records/item_group_spec.rb
690
733
  - spec/netsuite/records/item_member_list_spec.rb
734
+ - spec/netsuite/records/item_option_custom_field_spec.rb
691
735
  - spec/netsuite/records/item_vendor_list_spec.rb
692
736
  - spec/netsuite/records/item_vendor_spec.rb
693
737
  - spec/netsuite/records/job_spec.rb
@@ -696,12 +740,14 @@ test_files:
696
740
  - spec/netsuite/records/journal_entry_spec.rb
697
741
  - spec/netsuite/records/kit_item_spec.rb
698
742
  - spec/netsuite/records/location_spec.rb
743
+ - spec/netsuite/records/lot_numbered_inventory_item_spec.rb
699
744
  - spec/netsuite/records/matrix_option_list_spec.rb
700
745
  - spec/netsuite/records/message_spec.rb
701
746
  - spec/netsuite/records/non_inventory_resale_item_spec.rb
702
747
  - spec/netsuite/records/non_inventory_sale_item_spec.rb
703
748
  - spec/netsuite/records/note_spec.rb
704
749
  - spec/netsuite/records/note_type_spec.rb
750
+ - spec/netsuite/records/null_field_list_spec.rb
705
751
  - spec/netsuite/records/partner_spec.rb
706
752
  - spec/netsuite/records/payment_item_spec.rb
707
753
  - spec/netsuite/records/payment_method_spec.rb
@@ -712,6 +758,7 @@ test_files:
712
758
  - spec/netsuite/records/record_ref_spec.rb
713
759
  - spec/netsuite/records/return_authorization_item_list_spec.rb
714
760
  - spec/netsuite/records/return_authorization_item_spec.rb
761
+ - spec/netsuite/records/return_authorization_spec.rb
715
762
  - spec/netsuite/records/rev_rec_template_spec.rb
716
763
  - spec/netsuite/records/sales_order_item_list_spec.rb
717
764
  - spec/netsuite/records/sales_order_item_spec.rb
@@ -721,6 +768,8 @@ test_files:
721
768
  - spec/netsuite/records/service_sale_item_spec.rb
722
769
  - spec/netsuite/records/ship_address_spec.rb
723
770
  - spec/netsuite/records/site_category_spec.rb
771
+ - spec/netsuite/records/subscription_spec.rb
772
+ - spec/netsuite/records/subscriptions_list_spec.rb
724
773
  - spec/netsuite/records/subsidiary_spec.rb
725
774
  - spec/netsuite/records/support_case_spec.rb
726
775
  - spec/netsuite/records/support_case_type_spec.rb
@@ -728,6 +777,8 @@ test_files:
728
777
  - spec/netsuite/records/term_spec.rb
729
778
  - spec/netsuite/records/transaction_body_custom_field_spec.rb
730
779
  - spec/netsuite/records/transaction_column_custom_field_spec.rb
780
+ - spec/netsuite/records/translation_list_spec.rb
781
+ - spec/netsuite/records/translation_spec.rb
731
782
  - spec/netsuite/records/units_type_spec.rb
732
783
  - spec/netsuite/records/units_type_uom_list_spec.rb
733
784
  - spec/netsuite/records/units_type_uom_spec.rb
@@ -763,23 +814,33 @@ test_files:
763
814
  - spec/support/configuration.rb
764
815
  - spec/support/field_matcher.rb
765
816
  - spec/support/fixtures/add/add_customer.xml
817
+ - spec/support/fixtures/add/add_file.xml
766
818
  - spec/support/fixtures/add/add_invoice.xml
767
819
  - spec/support/fixtures/add/add_invoice_error.xml
768
820
  - spec/support/fixtures/add/add_invoice_multiple_errors.xml
821
+ - spec/support/fixtures/attach/attach_file_to_sales_order.xml
822
+ - spec/support/fixtures/attach/attach_file_to_sales_order_error.xml
769
823
  - spec/support/fixtures/custom_fields/multi_select.xml
770
824
  - spec/support/fixtures/delete/delete_customer.xml
825
+ - spec/support/fixtures/delete/delete_customer_error.xml
826
+ - spec/support/fixtures/delete/delete_customer_multiple_errors.xml
771
827
  - spec/support/fixtures/delete_list/delete_list_customers.xml
772
828
  - spec/support/fixtures/delete_list/delete_list_customers_with_errors.xml
773
829
  - spec/support/fixtures/get/get_customer.xml
774
830
  - spec/support/fixtures/get/get_invoice.xml
775
831
  - spec/support/fixtures/get_deleted/get_deleted_invoices.xml
832
+ - spec/support/fixtures/get_item_availability/get_item_availability.xml
833
+ - spec/support/fixtures/get_select_value/empty_result.xml
834
+ - spec/support/fixtures/get_select_value/item_fulfillment_ship_method.xml
776
835
  - spec/support/fixtures/initialize/initialize_invoice_from_customer.xml
777
836
  - spec/support/fixtures/login/failure_concurrent_requests.xml
778
837
  - spec/support/fixtures/login/failure_invalid_credentials.xml
779
838
  - spec/support/fixtures/login/success.xml
839
+ - spec/support/fixtures/search/basic_search_contact.xml
780
840
  - spec/support/fixtures/search/saved_search_customer.xml
781
841
  - spec/support/fixtures/search/saved_search_item.xml
782
842
  - spec/support/fixtures/search/saved_search_joined_custom_customer.xml
843
+ - spec/support/fixtures/search/single_search_result.xml
783
844
  - spec/support/fixtures/update/update_customer.xml
784
845
  - spec/support/fixtures/update/update_customer_error.xml
785
846
  - spec/support/fixtures/update/update_customer_multiple_errors.xml
@@ -1,9 +0,0 @@
1
- class String
2
- def lower_camelcase
3
- str = dup
4
- str.gsub!(/\/(.?)/) { "::#{$1.upcase}" }
5
- str.gsub!(/(?:_+|-+)([a-z]|[0-9])/) { $1.upcase }
6
- str.gsub!(/(\A|\s)([A-Z])/) { $1 + $2.downcase }
7
- str
8
- end
9
- end
@@ -1,10 +0,0 @@
1
- module NetSuite
2
- module Records
3
- class CustomerSubscriptionsList < Support::Sublist
4
- include Namespaces::ListRel
5
-
6
- sublist :subscriptions, CustomerSubscription
7
-
8
- end
9
- end
10
- end