netsuite-soap 2025.2.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.
Files changed (644) hide show
  1. checksums.yaml +7 -0
  2. data/.envrc +9 -0
  3. data/.github/FUNDING.yml +1 -0
  4. data/.github/dependabot.yml +14 -0
  5. data/.github/workflows/codeql-analysis.yml +70 -0
  6. data/.github/workflows/main.yml +55 -0
  7. data/.github/workflows/publish.yml +53 -0
  8. data/.gitignore +23 -0
  9. data/.rspec +6 -0
  10. data/.ruby-version +1 -0
  11. data/.tool-versions +1 -0
  12. data/AGENTS.md +150 -0
  13. data/CLAUDE.md +111 -0
  14. data/DEVELOPMENT.md +34 -0
  15. data/Gemfile +10 -0
  16. data/HISTORY.md +171 -0
  17. data/LICENSE +22 -0
  18. data/README.md +87 -0
  19. data/Rakefile +130 -0
  20. data/docs/async.md +46 -0
  21. data/docs/configuration.md +88 -0
  22. data/docs/contributing.md +36 -0
  23. data/docs/usage.md +149 -0
  24. data/lib/netsuite/actions/abstract_action.rb +32 -0
  25. data/lib/netsuite/actions/add.rb +93 -0
  26. data/lib/netsuite/actions/async_add_list.rb +74 -0
  27. data/lib/netsuite/actions/async_delete_list.rb +40 -0
  28. data/lib/netsuite/actions/async_get_list.rb +46 -0
  29. data/lib/netsuite/actions/async_initialize_list.rb +85 -0
  30. data/lib/netsuite/actions/async_response.rb +52 -0
  31. data/lib/netsuite/actions/async_search.rb +36 -0
  32. data/lib/netsuite/actions/async_update_list.rb +53 -0
  33. data/lib/netsuite/actions/async_upsert_list.rb +53 -0
  34. data/lib/netsuite/actions/attach_file.rb +87 -0
  35. data/lib/netsuite/actions/check_async_status.rb +29 -0
  36. data/lib/netsuite/actions/delete.rb +102 -0
  37. data/lib/netsuite/actions/delete_list.rb +108 -0
  38. data/lib/netsuite/actions/get.rb +87 -0
  39. data/lib/netsuite/actions/get_all.rb +78 -0
  40. data/lib/netsuite/actions/get_async_result.rb +35 -0
  41. data/lib/netsuite/actions/get_deleted.rb +92 -0
  42. data/lib/netsuite/actions/get_list.rb +98 -0
  43. data/lib/netsuite/actions/get_select_value.rb +80 -0
  44. data/lib/netsuite/actions/initialize.rb +86 -0
  45. data/lib/netsuite/actions/search.rb +265 -0
  46. data/lib/netsuite/actions/update.rb +86 -0
  47. data/lib/netsuite/actions/update_list.rb +113 -0
  48. data/lib/netsuite/actions/upsert.rb +86 -0
  49. data/lib/netsuite/actions/upsert_list.rb +118 -0
  50. data/lib/netsuite/client.rb +19 -0
  51. data/lib/netsuite/configuration.rb +470 -0
  52. data/lib/netsuite/errors.rb +18 -0
  53. data/lib/netsuite/namespaces/act_sched.rb +11 -0
  54. data/lib/netsuite/namespaces/comm_general.rb +11 -0
  55. data/lib/netsuite/namespaces/file_cabinet.rb +11 -0
  56. data/lib/netsuite/namespaces/list_acct.rb +11 -0
  57. data/lib/netsuite/namespaces/list_emp.rb +12 -0
  58. data/lib/netsuite/namespaces/list_mkt.rb +12 -0
  59. data/lib/netsuite/namespaces/list_rel.rb +11 -0
  60. data/lib/netsuite/namespaces/list_support.rb +11 -0
  61. data/lib/netsuite/namespaces/list_website.rb +11 -0
  62. data/lib/netsuite/namespaces/platform_common.rb +11 -0
  63. data/lib/netsuite/namespaces/platform_core.rb +11 -0
  64. data/lib/netsuite/namespaces/setup_custom.rb +11 -0
  65. data/lib/netsuite/namespaces/tran_bank.rb +11 -0
  66. data/lib/netsuite/namespaces/tran_cust.rb +11 -0
  67. data/lib/netsuite/namespaces/tran_emp.rb +11 -0
  68. data/lib/netsuite/namespaces/tran_general.rb +11 -0
  69. data/lib/netsuite/namespaces/tran_invt.rb +11 -0
  70. data/lib/netsuite/namespaces/tran_purch.rb +11 -0
  71. data/lib/netsuite/namespaces/tran_sales.rb +11 -0
  72. data/lib/netsuite/passports/token.rb +55 -0
  73. data/lib/netsuite/passports/user.rb +25 -0
  74. data/lib/netsuite/records/account.rb +30 -0
  75. data/lib/netsuite/records/accounting_period.rb +25 -0
  76. data/lib/netsuite/records/address.rb +46 -0
  77. data/lib/netsuite/records/assembly_build.rb +39 -0
  78. data/lib/netsuite/records/assembly_component.rb +26 -0
  79. data/lib/netsuite/records/assembly_component_list.rb +12 -0
  80. data/lib/netsuite/records/assembly_item.rb +66 -0
  81. data/lib/netsuite/records/assembly_unbuild.rb +37 -0
  82. data/lib/netsuite/records/base_ref_list.rb +17 -0
  83. data/lib/netsuite/records/bill_address.rb +17 -0
  84. data/lib/netsuite/records/billing_schedule.rb +33 -0
  85. data/lib/netsuite/records/billing_schedule_milestone.rb +28 -0
  86. data/lib/netsuite/records/billing_schedule_milestone_list.rb +14 -0
  87. data/lib/netsuite/records/billing_schedule_recurrence.rb +28 -0
  88. data/lib/netsuite/records/billing_schedule_recurrence_list.rb +14 -0
  89. data/lib/netsuite/records/bin.rb +30 -0
  90. data/lib/netsuite/records/bin_number.rb +18 -0
  91. data/lib/netsuite/records/bin_number_list.rb +11 -0
  92. data/lib/netsuite/records/bin_transfer.rb +38 -0
  93. data/lib/netsuite/records/bin_transfer_inventory.rb +20 -0
  94. data/lib/netsuite/records/bin_transfer_inventory_list.rb +10 -0
  95. data/lib/netsuite/records/campaign.rb +28 -0
  96. data/lib/netsuite/records/cash_refund.rb +135 -0
  97. data/lib/netsuite/records/cash_refund_item.rb +32 -0
  98. data/lib/netsuite/records/cash_refund_item_list.rb +13 -0
  99. data/lib/netsuite/records/cash_sale.rb +51 -0
  100. data/lib/netsuite/records/cash_sale_item.rb +40 -0
  101. data/lib/netsuite/records/cash_sale_item_list.rb +13 -0
  102. data/lib/netsuite/records/classification.rb +30 -0
  103. data/lib/netsuite/records/contact.rb +44 -0
  104. data/lib/netsuite/records/contact_access_roles.rb +23 -0
  105. data/lib/netsuite/records/contact_access_roles_list.rb +9 -0
  106. data/lib/netsuite/records/contact_addressbook.rb +64 -0
  107. data/lib/netsuite/records/contact_addressbook_list.rb +11 -0
  108. data/lib/netsuite/records/contact_list.rb +49 -0
  109. data/lib/netsuite/records/contact_role.rb +23 -0
  110. data/lib/netsuite/records/cost_category.rb +28 -0
  111. data/lib/netsuite/records/credit_memo.rb +59 -0
  112. data/lib/netsuite/records/credit_memo_apply.rb +16 -0
  113. data/lib/netsuite/records/credit_memo_apply_list.rb +15 -0
  114. data/lib/netsuite/records/credit_memo_item.rb +34 -0
  115. data/lib/netsuite/records/credit_memo_item_list.rb +11 -0
  116. data/lib/netsuite/records/currency.rb +30 -0
  117. data/lib/netsuite/records/currency_rate.rb +34 -0
  118. data/lib/netsuite/records/custom_field.rb +23 -0
  119. data/lib/netsuite/records/custom_field_list.rb +186 -0
  120. data/lib/netsuite/records/custom_list.rb +27 -0
  121. data/lib/netsuite/records/custom_list_custom_value.rb +22 -0
  122. data/lib/netsuite/records/custom_list_custom_value_list.rb +13 -0
  123. data/lib/netsuite/records/custom_record.rb +56 -0
  124. data/lib/netsuite/records/custom_record_ref.rb +50 -0
  125. data/lib/netsuite/records/custom_record_type.rb +30 -0
  126. data/lib/netsuite/records/customer.rb +265 -0
  127. data/lib/netsuite/records/customer_addressbook.rb +64 -0
  128. data/lib/netsuite/records/customer_addressbook_list.rb +11 -0
  129. data/lib/netsuite/records/customer_category.rb +26 -0
  130. data/lib/netsuite/records/customer_credit_cards.rb +36 -0
  131. data/lib/netsuite/records/customer_credit_cards_list.rb +10 -0
  132. data/lib/netsuite/records/customer_currency.rb +28 -0
  133. data/lib/netsuite/records/customer_currency_list.rb +9 -0
  134. data/lib/netsuite/records/customer_deposit.rb +47 -0
  135. data/lib/netsuite/records/customer_deposit_apply.rb +17 -0
  136. data/lib/netsuite/records/customer_deposit_apply_list.rb +12 -0
  137. data/lib/netsuite/records/customer_partner.rb +24 -0
  138. data/lib/netsuite/records/customer_partners_list.rb +9 -0
  139. data/lib/netsuite/records/customer_payment.rb +56 -0
  140. data/lib/netsuite/records/customer_payment_apply.rb +17 -0
  141. data/lib/netsuite/records/customer_payment_apply_list.rb +12 -0
  142. data/lib/netsuite/records/customer_payment_credit.rb +17 -0
  143. data/lib/netsuite/records/customer_payment_credit_list.rb +12 -0
  144. data/lib/netsuite/records/customer_refund.rb +52 -0
  145. data/lib/netsuite/records/customer_refund_apply.rb +16 -0
  146. data/lib/netsuite/records/customer_refund_apply_list.rb +12 -0
  147. data/lib/netsuite/records/customer_refund_deposit.rb +16 -0
  148. data/lib/netsuite/records/customer_refund_deposit_list.rb +11 -0
  149. data/lib/netsuite/records/customer_sales_team.rb +24 -0
  150. data/lib/netsuite/records/customer_sales_team_list.rb +9 -0
  151. data/lib/netsuite/records/customer_status.rb +29 -0
  152. data/lib/netsuite/records/department.rb +27 -0
  153. data/lib/netsuite/records/deposit.rb +40 -0
  154. data/lib/netsuite/records/deposit_application.rb +64 -0
  155. data/lib/netsuite/records/deposit_cash_back.rb +42 -0
  156. data/lib/netsuite/records/deposit_cash_back_list.rb +9 -0
  157. data/lib/netsuite/records/deposit_other.rb +35 -0
  158. data/lib/netsuite/records/deposit_other_list.rb +9 -0
  159. data/lib/netsuite/records/deposit_payment.rb +48 -0
  160. data/lib/netsuite/records/deposit_payment_list.rb +14 -0
  161. data/lib/netsuite/records/description_item.rb +34 -0
  162. data/lib/netsuite/records/discount_item.rb +37 -0
  163. data/lib/netsuite/records/duration.rb +15 -0
  164. data/lib/netsuite/records/employee.rb +42 -0
  165. data/lib/netsuite/records/entity_custom_field.rb +53 -0
  166. data/lib/netsuite/records/estimate.rb +122 -0
  167. data/lib/netsuite/records/estimate_item.rb +47 -0
  168. data/lib/netsuite/records/estimate_item_list.rb +11 -0
  169. data/lib/netsuite/records/file.rb +31 -0
  170. data/lib/netsuite/records/folder.rb +26 -0
  171. data/lib/netsuite/records/gift_cert_redemption.rb +22 -0
  172. data/lib/netsuite/records/gift_cert_redemption_list.rb +11 -0
  173. data/lib/netsuite/records/gift_certificate.rb +30 -0
  174. data/lib/netsuite/records/gift_certificate_item.rb +84 -0
  175. data/lib/netsuite/records/inbound_shipment.rb +32 -0
  176. data/lib/netsuite/records/inbound_shipment_item.rb +39 -0
  177. data/lib/netsuite/records/inbound_shipment_item_list.rb +11 -0
  178. data/lib/netsuite/records/inter_company_journal_entry.rb +48 -0
  179. data/lib/netsuite/records/inter_company_journal_entry_line.rb +28 -0
  180. data/lib/netsuite/records/inter_company_journal_entry_line_list.rb +12 -0
  181. data/lib/netsuite/records/inventory_adjustment.rb +30 -0
  182. data/lib/netsuite/records/inventory_adjustment_inventory.rb +21 -0
  183. data/lib/netsuite/records/inventory_adjustment_inventory_list.rb +10 -0
  184. data/lib/netsuite/records/inventory_assignment.rb +24 -0
  185. data/lib/netsuite/records/inventory_assignment_list.rb +35 -0
  186. data/lib/netsuite/records/inventory_detail.rb +18 -0
  187. data/lib/netsuite/records/inventory_item.rb +341 -0
  188. data/lib/netsuite/records/inventory_number.rb +34 -0
  189. data/lib/netsuite/records/inventory_number_locations.rb +16 -0
  190. data/lib/netsuite/records/inventory_number_locations_list.rb +10 -0
  191. data/lib/netsuite/records/inventory_transfer.rb +30 -0
  192. data/lib/netsuite/records/inventory_transfer_inventory.rb +21 -0
  193. data/lib/netsuite/records/inventory_transfer_inventory_list.rb +10 -0
  194. data/lib/netsuite/records/invoice.rb +167 -0
  195. data/lib/netsuite/records/invoice_item.rb +46 -0
  196. data/lib/netsuite/records/invoice_item_list.rb +15 -0
  197. data/lib/netsuite/records/item_availability.rb +45 -0
  198. data/lib/netsuite/records/item_fulfillment.rb +62 -0
  199. data/lib/netsuite/records/item_fulfillment_item.rb +45 -0
  200. data/lib/netsuite/records/item_fulfillment_item_list.rb +14 -0
  201. data/lib/netsuite/records/item_fulfillment_package.rb +24 -0
  202. data/lib/netsuite/records/item_fulfillment_package_fed_ex.rb +28 -0
  203. data/lib/netsuite/records/item_fulfillment_package_fed_ex_list.rb +32 -0
  204. data/lib/netsuite/records/item_fulfillment_package_list.rb +37 -0
  205. data/lib/netsuite/records/item_fulfillment_package_ups.rb +27 -0
  206. data/lib/netsuite/records/item_fulfillment_package_ups_list.rb +32 -0
  207. data/lib/netsuite/records/item_fulfillment_package_usps.rb +26 -0
  208. data/lib/netsuite/records/item_fulfillment_package_usps_list.rb +32 -0
  209. data/lib/netsuite/records/item_group.rb +37 -0
  210. data/lib/netsuite/records/item_member.rb +26 -0
  211. data/lib/netsuite/records/item_member_list.rb +12 -0
  212. data/lib/netsuite/records/item_option_custom_field.rb +52 -0
  213. data/lib/netsuite/records/item_receipt.rb +46 -0
  214. data/lib/netsuite/records/item_receipt_item.rb +43 -0
  215. data/lib/netsuite/records/item_receipt_item_list.rb +11 -0
  216. data/lib/netsuite/records/item_vendor.rb +24 -0
  217. data/lib/netsuite/records/item_vendor_list.rb +11 -0
  218. data/lib/netsuite/records/job.rb +41 -0
  219. data/lib/netsuite/records/job_status.rb +25 -0
  220. data/lib/netsuite/records/journal_entry.rb +48 -0
  221. data/lib/netsuite/records/journal_entry_line.rb +27 -0
  222. data/lib/netsuite/records/journal_entry_line_list.rb +12 -0
  223. data/lib/netsuite/records/kit_item.rb +71 -0
  224. data/lib/netsuite/records/location.rb +40 -0
  225. data/lib/netsuite/records/locations_list.rb +15 -0
  226. data/lib/netsuite/records/lot_numbered_assembly_item.rb +64 -0
  227. data/lib/netsuite/records/lot_numbered_inventory_item.rb +260 -0
  228. data/lib/netsuite/records/matrix_option_list.rb +71 -0
  229. data/lib/netsuite/records/member_list.rb +10 -0
  230. data/lib/netsuite/records/message.rb +30 -0
  231. data/lib/netsuite/records/non_inventory_purchase_item.rb +52 -0
  232. data/lib/netsuite/records/non_inventory_resale_item.rb +189 -0
  233. data/lib/netsuite/records/non_inventory_sale_item.rb +165 -0
  234. data/lib/netsuite/records/note.rb +33 -0
  235. data/lib/netsuite/records/note_type.rb +27 -0
  236. data/lib/netsuite/records/null_field_list.rb +15 -0
  237. data/lib/netsuite/records/opportunity.rb +45 -0
  238. data/lib/netsuite/records/opportunity_item.rb +41 -0
  239. data/lib/netsuite/records/opportunity_item_list.rb +9 -0
  240. data/lib/netsuite/records/other_charge_sale_item.rb +73 -0
  241. data/lib/netsuite/records/partner.rb +35 -0
  242. data/lib/netsuite/records/payment_item.rb +36 -0
  243. data/lib/netsuite/records/payment_method.rb +28 -0
  244. data/lib/netsuite/records/payroll_item.rb +36 -0
  245. data/lib/netsuite/records/phone_call.rb +29 -0
  246. data/lib/netsuite/records/price.rb +17 -0
  247. data/lib/netsuite/records/price_level.rb +26 -0
  248. data/lib/netsuite/records/price_list.rb +9 -0
  249. data/lib/netsuite/records/pricing.rb +20 -0
  250. data/lib/netsuite/records/pricing_matrix.rb +11 -0
  251. data/lib/netsuite/records/promotion_code.rb +38 -0
  252. data/lib/netsuite/records/promotions.rb +26 -0
  253. data/lib/netsuite/records/promotions_list.rb +9 -0
  254. data/lib/netsuite/records/purchase_order.rb +52 -0
  255. data/lib/netsuite/records/purchase_order_item.rb +42 -0
  256. data/lib/netsuite/records/purchase_order_item_list.rb +11 -0
  257. data/lib/netsuite/records/record_ref.rb +38 -0
  258. data/lib/netsuite/records/record_ref_list.rb +22 -0
  259. data/lib/netsuite/records/return_authorization.rb +135 -0
  260. data/lib/netsuite/records/return_authorization_item.rb +43 -0
  261. data/lib/netsuite/records/return_authorization_item_list.rb +11 -0
  262. data/lib/netsuite/records/rev_rec_schedule.rb +32 -0
  263. data/lib/netsuite/records/rev_rec_template.rb +25 -0
  264. data/lib/netsuite/records/role_list.rb +24 -0
  265. data/lib/netsuite/records/roles.rb +17 -0
  266. data/lib/netsuite/records/sales_order.rb +61 -0
  267. data/lib/netsuite/records/sales_order_item.rb +49 -0
  268. data/lib/netsuite/records/sales_order_item_list.rb +11 -0
  269. data/lib/netsuite/records/sales_order_ship_group_list.rb +11 -0
  270. data/lib/netsuite/records/sales_role.rb +26 -0
  271. data/lib/netsuite/records/sales_tax_item.rb +34 -0
  272. data/lib/netsuite/records/serialized_assembly_item.rb +240 -0
  273. data/lib/netsuite/records/serialized_inventory_item.rb +248 -0
  274. data/lib/netsuite/records/serialized_inventory_item_location.rb +36 -0
  275. data/lib/netsuite/records/serialized_inventory_item_locations_list.rb +10 -0
  276. data/lib/netsuite/records/serialized_inventory_item_numbers.rb +15 -0
  277. data/lib/netsuite/records/serialized_inventory_item_numbers_list.rb +10 -0
  278. data/lib/netsuite/records/service_resale_item.rb +154 -0
  279. data/lib/netsuite/records/service_sale_item.rb +50 -0
  280. data/lib/netsuite/records/ship_address.rb +17 -0
  281. data/lib/netsuite/records/site_category.rb +33 -0
  282. data/lib/netsuite/records/subscription.rb +18 -0
  283. data/lib/netsuite/records/subscriptions_list.rb +10 -0
  284. data/lib/netsuite/records/subsidiary.rb +38 -0
  285. data/lib/netsuite/records/subtotal_item.rb +34 -0
  286. data/lib/netsuite/records/support_case.rb +32 -0
  287. data/lib/netsuite/records/support_case_type.rb +26 -0
  288. data/lib/netsuite/records/task.rb +31 -0
  289. data/lib/netsuite/records/tax_group.rb +35 -0
  290. data/lib/netsuite/records/tax_type.rb +22 -0
  291. data/lib/netsuite/records/term.rb +27 -0
  292. data/lib/netsuite/records/time_bill.rb +32 -0
  293. data/lib/netsuite/records/transaction_body_custom_field.rb +61 -0
  294. data/lib/netsuite/records/transaction_column_custom_field.rb +59 -0
  295. data/lib/netsuite/records/transaction_ship_group.rb +40 -0
  296. data/lib/netsuite/records/transfer_order.rb +45 -0
  297. data/lib/netsuite/records/transfer_order_item.rb +43 -0
  298. data/lib/netsuite/records/transfer_order_item_list.rb +11 -0
  299. data/lib/netsuite/records/translation.rb +17 -0
  300. data/lib/netsuite/records/translation_list.rb +11 -0
  301. data/lib/netsuite/records/units_type.rb +25 -0
  302. data/lib/netsuite/records/units_type_uom.rb +20 -0
  303. data/lib/netsuite/records/units_type_uom_list.rb +12 -0
  304. data/lib/netsuite/records/vendor.rb +46 -0
  305. data/lib/netsuite/records/vendor_bill.rb +53 -0
  306. data/lib/netsuite/records/vendor_bill_expense.rb +40 -0
  307. data/lib/netsuite/records/vendor_bill_expense_list.rb +13 -0
  308. data/lib/netsuite/records/vendor_bill_item.rb +46 -0
  309. data/lib/netsuite/records/vendor_bill_item_list.rb +12 -0
  310. data/lib/netsuite/records/vendor_category.rb +26 -0
  311. data/lib/netsuite/records/vendor_credit.rb +54 -0
  312. data/lib/netsuite/records/vendor_credit_apply.rb +18 -0
  313. data/lib/netsuite/records/vendor_credit_apply_list.rb +12 -0
  314. data/lib/netsuite/records/vendor_credit_expense.rb +31 -0
  315. data/lib/netsuite/records/vendor_credit_expense_list.rb +12 -0
  316. data/lib/netsuite/records/vendor_credit_item.rb +34 -0
  317. data/lib/netsuite/records/vendor_credit_item_list.rb +12 -0
  318. data/lib/netsuite/records/vendor_currency.rb +26 -0
  319. data/lib/netsuite/records/vendor_currency_list.rb +9 -0
  320. data/lib/netsuite/records/vendor_payment.rb +52 -0
  321. data/lib/netsuite/records/vendor_payment_apply.rb +16 -0
  322. data/lib/netsuite/records/vendor_payment_apply_list.rb +12 -0
  323. data/lib/netsuite/records/vendor_return_authorization.rb +30 -0
  324. data/lib/netsuite/records/vendor_return_authorization_item.rb +23 -0
  325. data/lib/netsuite/records/vendor_return_authorization_item_list.rb +12 -0
  326. data/lib/netsuite/records/work_order.rb +45 -0
  327. data/lib/netsuite/records/work_order_item.rb +30 -0
  328. data/lib/netsuite/records/work_order_item_list.rb +11 -0
  329. data/lib/netsuite/response.rb +20 -0
  330. data/lib/netsuite/rest/utilities/request.rb +62 -0
  331. data/lib/netsuite/rest/utilities/roles.rb +47 -0
  332. data/lib/netsuite/support/actions.rb +74 -0
  333. data/lib/netsuite/support/attributes.rb +22 -0
  334. data/lib/netsuite/support/country.rb +289 -0
  335. data/lib/netsuite/support/fields.rb +86 -0
  336. data/lib/netsuite/support/record_refs.rb +30 -0
  337. data/lib/netsuite/support/records.rb +89 -0
  338. data/lib/netsuite/support/requests.rb +56 -0
  339. data/lib/netsuite/support/search_result.rb +150 -0
  340. data/lib/netsuite/support/sublist.rb +71 -0
  341. data/lib/netsuite/utilities/data_center.rb +53 -0
  342. data/lib/netsuite/utilities/strings.rb +15 -0
  343. data/lib/netsuite/utilities.rb +324 -0
  344. data/lib/netsuite/version.rb +3 -0
  345. data/lib/netsuite.rb +348 -0
  346. data/netsuite.gemspec +30 -0
  347. data/spec/integration/soap_http_spec.rb +76 -0
  348. data/spec/netsuite/actions/add_spec.rb +155 -0
  349. data/spec/netsuite/actions/async_add_list_spec.rb +123 -0
  350. data/spec/netsuite/actions/async_delete_list_spec.rb +60 -0
  351. data/spec/netsuite/actions/async_get_list_spec.rb +78 -0
  352. data/spec/netsuite/actions/async_initialize_list_spec.rb +106 -0
  353. data/spec/netsuite/actions/async_lifecycle_spec.rb +51 -0
  354. data/spec/netsuite/actions/async_response_spec.rb +187 -0
  355. data/spec/netsuite/actions/async_search_spec.rb +27 -0
  356. data/spec/netsuite/actions/async_update_list_spec.rb +80 -0
  357. data/spec/netsuite/actions/async_upsert_list_spec.rb +157 -0
  358. data/spec/netsuite/actions/attach_file_spec.rb +59 -0
  359. data/spec/netsuite/actions/check_async_status_spec.rb +29 -0
  360. data/spec/netsuite/actions/delete_list_spec.rb +86 -0
  361. data/spec/netsuite/actions/delete_spec.rb +93 -0
  362. data/spec/netsuite/actions/get_all_spec.rb +100 -0
  363. data/spec/netsuite/actions/get_async_result_spec.rb +78 -0
  364. data/spec/netsuite/actions/get_deleted_spec.rb +60 -0
  365. data/spec/netsuite/actions/get_list_spec.rb +157 -0
  366. data/spec/netsuite/actions/get_select_value_spec.rb +43 -0
  367. data/spec/netsuite/actions/get_spec.rb +72 -0
  368. data/spec/netsuite/actions/initialize_spec.rb +34 -0
  369. data/spec/netsuite/actions/search_spec.rb +387 -0
  370. data/spec/netsuite/actions/update_list_spec.rb +107 -0
  371. data/spec/netsuite/actions/update_spec.rb +133 -0
  372. data/spec/netsuite/actions/upsert_list_spec.rb +112 -0
  373. data/spec/netsuite/actions/upsert_spec.rb +117 -0
  374. data/spec/netsuite/configuration_spec.rb +661 -0
  375. data/spec/netsuite/records/account_spec.rb +107 -0
  376. data/spec/netsuite/records/accounting_period_spec.rb +138 -0
  377. data/spec/netsuite/records/address_spec.rb +139 -0
  378. data/spec/netsuite/records/assembly_item_spec.rb +64 -0
  379. data/spec/netsuite/records/basic_record_spec.rb +128 -0
  380. data/spec/netsuite/records/bill_address_spec.rb +52 -0
  381. data/spec/netsuite/records/billing_schedule_milestone_list_spec.rb +24 -0
  382. data/spec/netsuite/records/billing_schedule_milestone_spec.rb +51 -0
  383. data/spec/netsuite/records/billing_schedule_recurrence_list_spec.rb +24 -0
  384. data/spec/netsuite/records/billing_schedule_recurrence_spec.rb +49 -0
  385. data/spec/netsuite/records/billing_schedule_spec.rb +164 -0
  386. data/spec/netsuite/records/bin_number_spec.rb +23 -0
  387. data/spec/netsuite/records/campaign_spec.rb +43 -0
  388. data/spec/netsuite/records/cash_refund_item_list_spec.rb +27 -0
  389. data/spec/netsuite/records/cash_refund_item_spec.rb +27 -0
  390. data/spec/netsuite/records/cash_refund_spec.rb +152 -0
  391. data/spec/netsuite/records/cash_sale_item_list_spec.rb +27 -0
  392. data/spec/netsuite/records/cash_sale_item_spec.rb +23 -0
  393. data/spec/netsuite/records/cash_sale_spec.rb +34 -0
  394. data/spec/netsuite/records/classification_spec.rb +77 -0
  395. data/spec/netsuite/records/cost_category_spec.rb +105 -0
  396. data/spec/netsuite/records/credit_memo_apply_list_spec.rb +27 -0
  397. data/spec/netsuite/records/credit_memo_apply_spec.rb +14 -0
  398. data/spec/netsuite/records/credit_memo_item_list_spec.rb +26 -0
  399. data/spec/netsuite/records/credit_memo_item_spec.rb +29 -0
  400. data/spec/netsuite/records/credit_memo_spec.rb +213 -0
  401. data/spec/netsuite/records/currency_rate_spec.rb +45 -0
  402. data/spec/netsuite/records/custom_field_list_spec.rb +276 -0
  403. data/spec/netsuite/records/custom_list_spec.rb +21 -0
  404. data/spec/netsuite/records/custom_record_spec.rb +125 -0
  405. data/spec/netsuite/records/custom_record_type_spec.rb +114 -0
  406. data/spec/netsuite/records/customer_addressbook_list_spec.rb +41 -0
  407. data/spec/netsuite/records/customer_addressbook_spec.rb +105 -0
  408. data/spec/netsuite/records/customer_credit_cards_list_spec.rb +23 -0
  409. data/spec/netsuite/records/customer_payment_apply_list_spec.rb +25 -0
  410. data/spec/netsuite/records/customer_payment_credit_list_spec.rb +26 -0
  411. data/spec/netsuite/records/customer_payment_spec.rb +168 -0
  412. data/spec/netsuite/records/customer_refund_apply_list_spec.rb +25 -0
  413. data/spec/netsuite/records/customer_refund_apply_spec.rb +14 -0
  414. data/spec/netsuite/records/customer_refund_deposit_list_spec.rb +25 -0
  415. data/spec/netsuite/records/customer_refund_deposit_spec.rb +14 -0
  416. data/spec/netsuite/records/customer_refund_spec.rb +205 -0
  417. data/spec/netsuite/records/customer_sales_team_list_spec.rb +41 -0
  418. data/spec/netsuite/records/customer_spec.rb +561 -0
  419. data/spec/netsuite/records/department_spec.rb +103 -0
  420. data/spec/netsuite/records/deposit_spec.rb +165 -0
  421. data/spec/netsuite/records/discount_item_spec.rb +125 -0
  422. data/spec/netsuite/records/duration_spec.rb +14 -0
  423. data/spec/netsuite/records/employee_spec.rb +148 -0
  424. data/spec/netsuite/records/entity_custom_field_spec.rb +34 -0
  425. data/spec/netsuite/records/estimate_item_list_spec.rb +26 -0
  426. data/spec/netsuite/records/estimate_item_spec.rb +35 -0
  427. data/spec/netsuite/records/estimate_spec.rb +274 -0
  428. data/spec/netsuite/records/file_spec.rb +11 -0
  429. data/spec/netsuite/records/folder_spec.rb +33 -0
  430. data/spec/netsuite/records/gift_cert_redemption_list_spec.rb +26 -0
  431. data/spec/netsuite/records/gift_cert_redemption_spec.rb +21 -0
  432. data/spec/netsuite/records/inter_company_journal_entry_line_list_spec.rb +26 -0
  433. data/spec/netsuite/records/inter_company_journal_entry_line_spec.rb +60 -0
  434. data/spec/netsuite/records/inter_company_journal_entry_spec.rb +156 -0
  435. data/spec/netsuite/records/inventory_assignment_list_spec.rb +59 -0
  436. data/spec/netsuite/records/inventory_assignment_spec.rb +21 -0
  437. data/spec/netsuite/records/inventory_detail_spec.rb +13 -0
  438. data/spec/netsuite/records/inventory_item_spec.rb +532 -0
  439. data/spec/netsuite/records/inventory_transfer_spec.rb +79 -0
  440. data/spec/netsuite/records/invoice_item_list_spec.rb +24 -0
  441. data/spec/netsuite/records/invoice_item_spec.rb +79 -0
  442. data/spec/netsuite/records/invoice_spec.rb +494 -0
  443. data/spec/netsuite/records/item_availability_spec.rb +59 -0
  444. data/spec/netsuite/records/item_fulfillment_package_fed_ex_list_spec.rb +27 -0
  445. data/spec/netsuite/records/item_fulfillment_package_list_spec.rb +27 -0
  446. data/spec/netsuite/records/item_fulfillment_package_ups_list_spec.rb +27 -0
  447. data/spec/netsuite/records/item_fulfillment_package_usps_list_spec.rb +27 -0
  448. data/spec/netsuite/records/item_fulfillment_spec.rb +49 -0
  449. data/spec/netsuite/records/item_group_spec.rb +117 -0
  450. data/spec/netsuite/records/item_member_list_spec.rb +26 -0
  451. data/spec/netsuite/records/item_option_custom_field_spec.rb +27 -0
  452. data/spec/netsuite/records/item_vendor_list_spec.rb +27 -0
  453. data/spec/netsuite/records/item_vendor_spec.rb +27 -0
  454. data/spec/netsuite/records/job_spec.rb +201 -0
  455. data/spec/netsuite/records/journal_entry_line_list_spec.rb +26 -0
  456. data/spec/netsuite/records/journal_entry_line_spec.rb +59 -0
  457. data/spec/netsuite/records/journal_entry_spec.rb +156 -0
  458. data/spec/netsuite/records/kit_item_spec.rb +117 -0
  459. data/spec/netsuite/records/location_spec.rb +51 -0
  460. data/spec/netsuite/records/lot_numbered_inventory_item_spec.rb +247 -0
  461. data/spec/netsuite/records/matrix_option_list_spec.rb +61 -0
  462. data/spec/netsuite/records/message_spec.rb +49 -0
  463. data/spec/netsuite/records/non_inventory_resale_item_spec.rb +300 -0
  464. data/spec/netsuite/records/non_inventory_sale_item_spec.rb +278 -0
  465. data/spec/netsuite/records/note_spec.rb +134 -0
  466. data/spec/netsuite/records/note_type_spec.rb +88 -0
  467. data/spec/netsuite/records/null_field_list_spec.rb +30 -0
  468. data/spec/netsuite/records/partner_spec.rb +143 -0
  469. data/spec/netsuite/records/payment_item_spec.rb +117 -0
  470. data/spec/netsuite/records/payment_method_spec.rb +49 -0
  471. data/spec/netsuite/records/phone_call_spec.rb +17 -0
  472. data/spec/netsuite/records/pomo_code_spec.rb +40 -0
  473. data/spec/netsuite/records/price_level_spec.rb +16 -0
  474. data/spec/netsuite/records/pricing_matrix_spec.rb +27 -0
  475. data/spec/netsuite/records/record_ref_spec.rb +87 -0
  476. data/spec/netsuite/records/return_authorization_item_list_spec.rb +26 -0
  477. data/spec/netsuite/records/return_authorization_item_spec.rb +31 -0
  478. data/spec/netsuite/records/return_authorization_spec.rb +62 -0
  479. data/spec/netsuite/records/rev_rec_template_spec.rb +39 -0
  480. data/spec/netsuite/records/sales_order_item_list_spec.rb +26 -0
  481. data/spec/netsuite/records/sales_order_item_spec.rb +36 -0
  482. data/spec/netsuite/records/sales_order_spec.rb +250 -0
  483. data/spec/netsuite/records/sales_tax_item_spec.rb +26 -0
  484. data/spec/netsuite/records/service_resale_item_spec.rb +239 -0
  485. data/spec/netsuite/records/service_sale_item_spec.rb +135 -0
  486. data/spec/netsuite/records/ship_address_spec.rb +36 -0
  487. data/spec/netsuite/records/site_category_spec.rb +51 -0
  488. data/spec/netsuite/records/subscription_spec.rb +37 -0
  489. data/spec/netsuite/records/subscriptions_list_spec.rb +19 -0
  490. data/spec/netsuite/records/subsidiary_spec.rb +25 -0
  491. data/spec/netsuite/records/support_case_spec.rb +157 -0
  492. data/spec/netsuite/records/support_case_type_spec.rb +22 -0
  493. data/spec/netsuite/records/tax_type_spec.rb +11 -0
  494. data/spec/netsuite/records/term_spec.rb +96 -0
  495. data/spec/netsuite/records/transaction_body_custom_field_spec.rb +32 -0
  496. data/spec/netsuite/records/transaction_column_custom_field_spec.rb +32 -0
  497. data/spec/netsuite/records/translation_list_spec.rb +34 -0
  498. data/spec/netsuite/records/translation_spec.rb +28 -0
  499. data/spec/netsuite/records/units_type_spec.rb +33 -0
  500. data/spec/netsuite/records/units_type_uom_list_spec.rb +23 -0
  501. data/spec/netsuite/records/units_type_uom_spec.rb +14 -0
  502. data/spec/netsuite/records/vendor_bill_expense_list_spec.rb +36 -0
  503. data/spec/netsuite/records/vendor_bill_expense_spec.rb +72 -0
  504. data/spec/netsuite/records/vendor_bill_item_list_spec.rb +36 -0
  505. data/spec/netsuite/records/vendor_bill_item_spec.rb +118 -0
  506. data/spec/netsuite/records/vendor_bill_spec.rb +187 -0
  507. data/spec/netsuite/records/vendor_credit_spec.rb +29 -0
  508. data/spec/netsuite/records/vendor_payment_apply_list_spec.rb +25 -0
  509. data/spec/netsuite/records/vendor_payment_apply_spec.rb +15 -0
  510. data/spec/netsuite/records/vendor_payment_spec.rb +164 -0
  511. data/spec/netsuite/records/vendor_spec.rb +145 -0
  512. data/spec/netsuite/records/work_order_item_list_spec.rb +26 -0
  513. data/spec/netsuite/records/work_order_item_spec.rb +45 -0
  514. data/spec/netsuite/records/work_order_spec.rb +92 -0
  515. data/spec/netsuite/response_spec.rb +34 -0
  516. data/spec/netsuite/support/fields_spec.rb +107 -0
  517. data/spec/netsuite/support/record_refs_spec.rb +14 -0
  518. data/spec/netsuite/support/records_spec.rb +60 -0
  519. data/spec/netsuite/support/refresh_spec.rb +28 -0
  520. data/spec/netsuite/support/requests_spec.rb +38 -0
  521. data/spec/netsuite/support/search_result_spec.rb +53 -0
  522. data/spec/netsuite/support/sublist_spec.rb +42 -0
  523. data/spec/netsuite/utilities/data_center_spec.rb +110 -0
  524. data/spec/netsuite/utilities/request_spec.rb +29 -0
  525. data/spec/netsuite/utilities/roles_spec.rb +145 -0
  526. data/spec/netsuite/utilities_spec.rb +140 -0
  527. data/spec/netsuite_spec.rb +41 -0
  528. data/spec/spec_helper.rb +50 -0
  529. data/spec/support/configuration.rb +23 -0
  530. data/spec/support/field_matcher.rb +21 -0
  531. data/spec/support/fixtures/add/add_customer.xml +16 -0
  532. data/spec/support/fixtures/add/add_file.xml +20 -0
  533. data/spec/support/fixtures/add/add_invoice.xml +20 -0
  534. data/spec/support/fixtures/add/add_invoice_error.xml +19 -0
  535. data/spec/support/fixtures/add/add_invoice_multiple_errors.xml +24 -0
  536. data/spec/support/fixtures/async_add_list/async_add_list_pending.xml +18 -0
  537. data/spec/support/fixtures/async_delete_list/async_delete_list_pending.xml +18 -0
  538. data/spec/support/fixtures/async_get_list/async_get_list_pending.xml +18 -0
  539. data/spec/support/fixtures/async_initialize_list/async_initialize_list_pending.xml +18 -0
  540. data/spec/support/fixtures/async_search/async_search_pending.xml +18 -0
  541. data/spec/support/fixtures/async_update_list/async_update_list_pending.xml +18 -0
  542. data/spec/support/fixtures/async_upsert_list/async_upsert_list_customers.xml +16 -0
  543. data/spec/support/fixtures/async_upsert_list/async_upsert_list_one_customer.xml +16 -0
  544. data/spec/support/fixtures/async_upsert_list/async_upsert_list_with_errors.xml +21 -0
  545. data/spec/support/fixtures/attach/attach_file_to_sales_order.xml +16 -0
  546. data/spec/support/fixtures/attach/attach_file_to_sales_order_error.xml +20 -0
  547. data/spec/support/fixtures/check_async_status/check_async_status_pending.xml +18 -0
  548. data/spec/support/fixtures/custom_fields/multi_select.xml +47 -0
  549. data/spec/support/fixtures/delete/delete_customer.xml +16 -0
  550. data/spec/support/fixtures/delete/delete_customer_error.xml +21 -0
  551. data/spec/support/fixtures/delete/delete_customer_multiple_errors.xml +25 -0
  552. data/spec/support/fixtures/delete_list/delete_list_customers.xml +26 -0
  553. data/spec/support/fixtures/delete_list/delete_list_customers_with_errors.xml +31 -0
  554. data/spec/support/fixtures/get/get_customer.xml +61 -0
  555. data/spec/support/fixtures/get/get_invoice.xml +101 -0
  556. data/spec/support/fixtures/get_all/get_all_currencies.xml +24 -0
  557. data/spec/support/fixtures/get_all/get_all_error.xml +15 -0
  558. data/spec/support/fixtures/get_async_result/get_async_result_finished.xml +22 -0
  559. data/spec/support/fixtures/get_async_result/get_async_result_upsert_list_finished.xml +26 -0
  560. data/spec/support/fixtures/get_async_result/get_async_result_write_list_multiple.xml +34 -0
  561. data/spec/support/fixtures/get_deleted/get_deleted_invoices.xml +38 -0
  562. data/spec/support/fixtures/get_item_availability/get_item_availability.xml +46 -0
  563. data/spec/support/fixtures/get_list/get_list_customer_error.xml +22 -0
  564. data/spec/support/fixtures/get_list/get_list_customers.xml +21 -0
  565. data/spec/support/fixtures/get_list/get_list_customers_multiple.xml +28 -0
  566. data/spec/support/fixtures/get_select_value/empty_result.xml +22 -0
  567. data/spec/support/fixtures/get_select_value/item_fulfillment_ship_method.xml +43 -0
  568. data/spec/support/fixtures/initialize/initialize_invoice_from_customer.xml +69 -0
  569. data/spec/support/fixtures/login/failure_concurrent_requests.xml +15 -0
  570. data/spec/support/fixtures/login/failure_invalid_credentials.xml +15 -0
  571. data/spec/support/fixtures/login/success.xml +35 -0
  572. data/spec/support/fixtures/search/basic_search_contact.xml +39 -0
  573. data/spec/support/fixtures/search/saved_search_customer.xml +54 -0
  574. data/spec/support/fixtures/search/saved_search_item.xml +55 -0
  575. data/spec/support/fixtures/search/saved_search_joined_custom_customer.xml +101 -0
  576. data/spec/support/fixtures/search/single_search_result.xml +46 -0
  577. data/spec/support/fixtures/soap/v2025_2_0/wsdl/netsuite.wsdl +2531 -0
  578. data/spec/support/fixtures/soap/v2025_2_0/xsd/activities/scheduling.xsd +603 -0
  579. data/spec/support/fixtures/soap/v2025_2_0/xsd/activities/schedulingTypes.xsd +198 -0
  580. data/spec/support/fixtures/soap/v2025_2_0/xsd/documents/fileCabinet.xsd +159 -0
  581. data/spec/support/fixtures/soap/v2025_2_0/xsd/documents/fileCabinetTypes.xsd +110 -0
  582. data/spec/support/fixtures/soap/v2025_2_0/xsd/general/communication.xsd +210 -0
  583. data/spec/support/fixtures/soap/v2025_2_0/xsd/general/communicationTypes.xsd +20 -0
  584. data/spec/support/fixtures/soap/v2025_2_0/xsd/lists/accounting.xsd +6768 -0
  585. data/spec/support/fixtures/soap/v2025_2_0/xsd/lists/accountingTypes.xsd +1043 -0
  586. data/spec/support/fixtures/soap/v2025_2_0/xsd/lists/employeeTypes.xsd +344 -0
  587. data/spec/support/fixtures/soap/v2025_2_0/xsd/lists/employees.xsd +518 -0
  588. data/spec/support/fixtures/soap/v2025_2_0/xsd/lists/marketing.xsd +528 -0
  589. data/spec/support/fixtures/soap/v2025_2_0/xsd/lists/marketingTypes.xsd +145 -0
  590. data/spec/support/fixtures/soap/v2025_2_0/xsd/lists/relationshipTypes.xsd +190 -0
  591. data/spec/support/fixtures/soap/v2025_2_0/xsd/lists/relationships.xsd +1658 -0
  592. data/spec/support/fixtures/soap/v2025_2_0/xsd/lists/supplyChain.xsd +282 -0
  593. data/spec/support/fixtures/soap/v2025_2_0/xsd/lists/supplyChainTypes.xsd +26 -0
  594. data/spec/support/fixtures/soap/v2025_2_0/xsd/lists/support.xsd +534 -0
  595. data/spec/support/fixtures/soap/v2025_2_0/xsd/lists/supportTypes.xsd +74 -0
  596. data/spec/support/fixtures/soap/v2025_2_0/xsd/lists/website.xsd +99 -0
  597. data/spec/support/fixtures/soap/v2025_2_0/xsd/lists/websiteTypes.xsd +2 -0
  598. data/spec/support/fixtures/soap/v2025_2_0/xsd/platform/common.xsd +8411 -0
  599. data/spec/support/fixtures/soap/v2025_2_0/xsd/platform/commonTypes.xsd +1371 -0
  600. data/spec/support/fixtures/soap/v2025_2_0/xsd/platform/core.xsd +1096 -0
  601. data/spec/support/fixtures/soap/v2025_2_0/xsd/platform/coreTypes.xsd +877 -0
  602. data/spec/support/fixtures/soap/v2025_2_0/xsd/platform/faultTypes.xsd +1446 -0
  603. data/spec/support/fixtures/soap/v2025_2_0/xsd/platform/faults.xsd +82 -0
  604. data/spec/support/fixtures/soap/v2025_2_0/xsd/platform/messages.xsd +664 -0
  605. data/spec/support/fixtures/soap/v2025_2_0/xsd/setup/customization.xsd +1604 -0
  606. data/spec/support/fixtures/soap/v2025_2_0/xsd/setup/customizationTypes.xsd +119 -0
  607. data/spec/support/fixtures/soap/v2025_2_0/xsd/transactions/bank.xsd +212 -0
  608. data/spec/support/fixtures/soap/v2025_2_0/xsd/transactions/bankTypes.xsd +2 -0
  609. data/spec/support/fixtures/soap/v2025_2_0/xsd/transactions/customerTypes.xsd +99 -0
  610. data/spec/support/fixtures/soap/v2025_2_0/xsd/transactions/customers.xsd +1131 -0
  611. data/spec/support/fixtures/soap/v2025_2_0/xsd/transactions/demandPlanning.xsd +173 -0
  612. data/spec/support/fixtures/soap/v2025_2_0/xsd/transactions/demandPlanningTypes.xsd +52 -0
  613. data/spec/support/fixtures/soap/v2025_2_0/xsd/transactions/employeeTypes.xsd +10 -0
  614. data/spec/support/fixtures/soap/v2025_2_0/xsd/transactions/employees.xsd +723 -0
  615. data/spec/support/fixtures/soap/v2025_2_0/xsd/transactions/financial.xsd +88 -0
  616. data/spec/support/fixtures/soap/v2025_2_0/xsd/transactions/financialTypes.xsd +9 -0
  617. data/spec/support/fixtures/soap/v2025_2_0/xsd/transactions/general.xsd +364 -0
  618. data/spec/support/fixtures/soap/v2025_2_0/xsd/transactions/inventory.xsd +780 -0
  619. data/spec/support/fixtures/soap/v2025_2_0/xsd/transactions/inventoryTypes.xsd +49 -0
  620. data/spec/support/fixtures/soap/v2025_2_0/xsd/transactions/purchaseTypes.xsd +44 -0
  621. data/spec/support/fixtures/soap/v2025_2_0/xsd/transactions/purchases.xsd +986 -0
  622. data/spec/support/fixtures/soap/v2025_2_0/xsd/transactions/saleTypes.xsd +754 -0
  623. data/spec/support/fixtures/soap/v2025_2_0/xsd/transactions/sales.xsd +2025 -0
  624. data/spec/support/fixtures/update/update_customer.xml +16 -0
  625. data/spec/support/fixtures/update/update_customer_error.xml +21 -0
  626. data/spec/support/fixtures/update/update_customer_multiple_errors.xml +25 -0
  627. data/spec/support/fixtures/update/update_invoice.xml +16 -0
  628. data/spec/support/fixtures/update_list/update_list_items.xml +22 -0
  629. data/spec/support/fixtures/update_list/update_list_one_item.xml +18 -0
  630. data/spec/support/fixtures/update_list/update_list_with_errors.xml +32 -0
  631. data/spec/support/fixtures/upsert/upsert_customer.xml +16 -0
  632. data/spec/support/fixtures/upsert/upsert_invoice.xml +16 -0
  633. data/spec/support/fixtures/upsert/upsert_invoice_error.xml +20 -0
  634. data/spec/support/fixtures/upsert/upsert_invoice_multiple_errors.xml +24 -0
  635. data/spec/support/fixtures/upsert_list/upsert_list_customers.xml +21 -0
  636. data/spec/support/fixtures/upsert_list/upsert_list_one_customer.xml +17 -0
  637. data/spec/support/fixtures/upsert_list/upsert_list_with_errors.xml +32 -0
  638. data/spec/support/read_only_field_matcher.rb +7 -0
  639. data/spec/support/record_ref_matcher.rb +25 -0
  640. data/spec/support/savon.rb +5 -0
  641. data/spec/support/search_only_field_matcher.rb +7 -0
  642. data/spec/support/webmock_soap_helper.rb +15 -0
  643. data/workflow.md +368 -0
  644. metadata +764 -0
@@ -0,0 +1,723 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:tranEmp="urn:employees_2025_2.transactions.webservices.netsuite.com" xmlns:tranEmpTyp="urn:types.employees_2025_2.transactions.webservices.netsuite.com" xmlns:platformCore="urn:core_2025_2.platform.webservices.netsuite.com" xmlns:platformCoreTyp="urn:types.core_2025_2.platform.webservices.netsuite.com" xmlns:platformCommon="urn:common_2025_2.platform.webservices.netsuite.com" xmlns:platformCommonTyp="urn:types.common_2025_2.platform.webservices.netsuite.com" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="urn:employees_2025_2.transactions.webservices.netsuite.com" elementFormDefault="qualified">
3
+ <import namespace="urn:core_2025_2.platform.webservices.netsuite.com" schemaLocation="../../../xsd/platform.core.xsd"/>
4
+ <import namespace="urn:common_2025_2.platform.webservices.netsuite.com" schemaLocation="../../../xsd/platform.common.xsd"/>
5
+ <import namespace="urn:types.employees_2025_2.transactions.webservices.netsuite.com" schemaLocation="../../../xsd/transactions.employeeTypes.xsd"/>
6
+ <!-- timeBill/start -->
7
+ <element name="TimeBill" type="tranEmp:TimeBill"/>
8
+ <complexType name="TimeBill">
9
+ <complexContent>
10
+ <extension base="platformCore:Record">
11
+ <sequence>
12
+ <element name="customForm" type="platformCore:RecordRef" minOccurs="0"/>
13
+ <element name="employee" type="platformCore:RecordRef" minOccurs="0"/>
14
+ <element name="tranDate" type="xsd:dateTime" minOccurs="0"/>
15
+ <element name="approvalStatus" type="platformCore:RecordRef" minOccurs="0"/>
16
+ <element name="customer" type="platformCore:RecordRef" minOccurs="0"/>
17
+ <element name="caseTaskEvent" type="platformCore:RecordRef" minOccurs="0"/>
18
+ <element name="isBillable" type="xsd:boolean" minOccurs="0"/>
19
+ <element name="payrollItem" type="platformCore:RecordRef" minOccurs="0"/>
20
+ <element name="paidExternally" type="xsd:boolean" minOccurs="0"/>
21
+ <element name="workplace" type="platformCore:RecordRef" minOccurs="0"/>
22
+ <element name="item" type="platformCore:RecordRef" minOccurs="0"/>
23
+ <element name="department" type="platformCore:RecordRef" minOccurs="0"/>
24
+ <element name="class" type="platformCore:RecordRef" minOccurs="0"/>
25
+ <element name="location" type="platformCore:RecordRef" minOccurs="0"/>
26
+ <element name="hours" type="platformCore:Duration" minOccurs="0"/>
27
+ <element name="price" type="platformCore:RecordRef" minOccurs="0"/>
28
+ <element name="timeType" type="tranEmpTyp:TimeBillTimeType" minOccurs="0"/>
29
+ <element name="rate" type="xsd:double" minOccurs="0"/>
30
+ <element name="overrideRate" type="xsd:boolean" minOccurs="0"/>
31
+ <element name="temporaryLocalJurisdiction" type="platformCore:RecordRef" minOccurs="0"/>
32
+ <element name="temporaryStateJurisdiction" type="platformCore:RecordRef" minOccurs="0"/>
33
+ <element name="memo" type="xsd:string" minOccurs="0"/>
34
+ <element name="rejectionNote" type="xsd:string" minOccurs="0"/>
35
+ <element name="subsidiary" type="platformCore:RecordRef" minOccurs="0"/>
36
+ <element name="supervisorApproval" type="xsd:boolean" minOccurs="0"/>
37
+ <element name="createdDate" type="xsd:dateTime" minOccurs="0"/>
38
+ <element name="lastModifiedDate" type="xsd:dateTime" minOccurs="0"/>
39
+ <element name="timeSheet" type="platformCore:RecordRef" minOccurs="0"/>
40
+ <element name="status" type="xsd:string" minOccurs="0"/>
41
+ <element name="timeModified" type="xsd:boolean" minOccurs="0"/>
42
+ <element name="customFieldList" type="platformCore:CustomFieldList" minOccurs="0"/>
43
+ </sequence>
44
+ <!-- primary record internalId -->
45
+ <attribute name="internalId" type="xsd:string"/>
46
+ <attribute name="externalId" type="xsd:string"/>
47
+ </extension>
48
+ </complexContent>
49
+ </complexType>
50
+ <element name="timeBillSearch" type="tranEmp:TimeBillSearch"/>
51
+ <complexType name="TimeBillSearch">
52
+ <complexContent>
53
+ <extension base="platformCore:SearchRecord">
54
+ <sequence>
55
+ <element name="basic" type="platformCommon:TimeBillSearchBasic" minOccurs="0"/>
56
+ <element name="callJoin" type="platformCommon:PhoneCallSearchBasic" minOccurs="0"/>
57
+ <element name="caseJoin" type="platformCommon:SupportCaseSearchBasic" minOccurs="0"/>
58
+ <element name="chargeJoin" type="platformCommon:ChargeSearchBasic" minOccurs="0"/>
59
+ <element name="classJoin" type="platformCommon:ClassificationSearchBasic" minOccurs="0"/>
60
+ <element name="customerJoin" type="platformCommon:CustomerSearchBasic" minOccurs="0"/>
61
+ <element name="departmentJoin" type="platformCommon:DepartmentSearchBasic" minOccurs="0"/>
62
+ <element name="employeeJoin" type="platformCommon:EmployeeSearchBasic" minOccurs="0"/>
63
+ <element name="eventJoin" type="platformCommon:CalendarEventSearchBasic" minOccurs="0"/>
64
+ <element name="itemJoin" type="platformCommon:ItemSearchBasic" minOccurs="0"/>
65
+ <element name="jobJoin" type="platformCommon:JobSearchBasic" minOccurs="0"/>
66
+ <element name="locationJoin" type="platformCommon:LocationSearchBasic" minOccurs="0"/>
67
+ <element name="projectTaskJoin" type="platformCommon:ProjectTaskSearchBasic" minOccurs="0"/>
68
+ <element name="projectTaskAssignmentJoin" type="platformCommon:ProjectTaskAssignmentSearchBasic" minOccurs="0"/>
69
+ <element name="resourceAllocationJoin" type="platformCommon:ResourceAllocationSearchBasic" minOccurs="0"/>
70
+ <element name="taskJoin" type="platformCommon:TaskSearchBasic" minOccurs="0"/>
71
+ <element name="timeSheetJoin" type="platformCommon:TimeSheetSearchBasic" minOccurs="0"/>
72
+ <element name="userJoin" type="platformCommon:EmployeeSearchBasic" minOccurs="0"/>
73
+ <element name="vendorJoin" type="platformCommon:VendorSearchBasic" minOccurs="0"/>
74
+ <element name="customSearchJoin" type="platformCommon:CustomSearchJoin" minOccurs="0" maxOccurs="unbounded"/>
75
+ </sequence>
76
+ </extension>
77
+ </complexContent>
78
+ </complexType>
79
+ <complexType name="TimeBillSearchAdvanced">
80
+ <complexContent>
81
+ <extension base="platformCore:SearchRecord">
82
+ <sequence>
83
+ <element name="criteria" type="tranEmp:TimeBillSearch" minOccurs="0"/>
84
+ <element name="columns" type="tranEmp:TimeBillSearchRow" minOccurs="0"/>
85
+ </sequence>
86
+ <attribute name="savedSearchId" type="xsd:string"/>
87
+ <attribute name="savedSearchScriptId" type="xsd:string"/>
88
+ </extension>
89
+ </complexContent>
90
+ </complexType>
91
+ <complexType name="TimeBillSearchRow">
92
+ <complexContent>
93
+ <extension base="platformCore:SearchRow">
94
+ <sequence>
95
+ <element name="basic" type="platformCommon:TimeBillSearchRowBasic" minOccurs="0"/>
96
+ <element name="callJoin" type="platformCommon:PhoneCallSearchRowBasic" minOccurs="0"/>
97
+ <element name="caseJoin" type="platformCommon:SupportCaseSearchRowBasic" minOccurs="0"/>
98
+ <element name="chargeJoin" type="platformCommon:ChargeSearchRowBasic" minOccurs="0"/>
99
+ <element name="classJoin" type="platformCommon:ClassificationSearchRowBasic" minOccurs="0"/>
100
+ <element name="customerJoin" type="platformCommon:CustomerSearchRowBasic" minOccurs="0"/>
101
+ <element name="departmentJoin" type="platformCommon:DepartmentSearchRowBasic" minOccurs="0"/>
102
+ <element name="employeeJoin" type="platformCommon:EmployeeSearchRowBasic" minOccurs="0"/>
103
+ <element name="eventJoin" type="platformCommon:CalendarEventSearchRowBasic" minOccurs="0"/>
104
+ <element name="itemJoin" type="platformCommon:ItemSearchRowBasic" minOccurs="0"/>
105
+ <element name="jobJoin" type="platformCommon:JobSearchRowBasic" minOccurs="0"/>
106
+ <element name="locationJoin" type="platformCommon:LocationSearchRowBasic" minOccurs="0"/>
107
+ <element name="projectTaskJoin" type="platformCommon:ProjectTaskSearchRowBasic" minOccurs="0"/>
108
+ <element name="projectTaskAssignmentJoin" type="platformCommon:ProjectTaskAssignmentSearchRowBasic" minOccurs="0"/>
109
+ <element name="resourceAllocationJoin" type="platformCommon:ResourceAllocationSearchRowBasic" minOccurs="0"/>
110
+ <element name="taskJoin" type="platformCommon:TaskSearchRowBasic" minOccurs="0"/>
111
+ <element name="timeSheetJoin" type="platformCommon:TimeSheetSearchRowBasic" minOccurs="0"/>
112
+ <element name="userJoin" type="platformCommon:EmployeeSearchRowBasic" minOccurs="0"/>
113
+ <element name="vendorJoin" type="platformCommon:VendorSearchRowBasic" minOccurs="0"/>
114
+ <element name="customSearchJoin" type="platformCommon:CustomSearchRowBasic" minOccurs="0" maxOccurs="unbounded"/>
115
+ </sequence>
116
+ </extension>
117
+ </complexContent>
118
+ </complexType>
119
+ <!-- timeBill/end -->
120
+ <element name="expenseReport" type="tranEmp:ExpenseReport"/>
121
+ <complexType name="ExpenseReport">
122
+ <complexContent>
123
+ <extension base="platformCore:Record">
124
+ <sequence>
125
+ <element name="createdDate" type="xsd:dateTime" minOccurs="0"/>
126
+ <element name="lastModifiedDate" type="xsd:dateTime" minOccurs="0"/>
127
+ <element name="status" type="xsd:string" minOccurs="0"/>
128
+ <element name="customForm" type="platformCore:RecordRef" minOccurs="0"/>
129
+ <element name="account" type="platformCore:RecordRef" minOccurs="0"/>
130
+ <element name="entity" type="platformCore:RecordRef" minOccurs="0"/>
131
+ <element name="expenseReportCurrency" type="platformCore:RecordRef" minOccurs="0"/>
132
+ <element name="expenseReportExchangeRate" type="xsd:double" minOccurs="0"/>
133
+ <element name="subsidiary" type="platformCore:RecordRef" minOccurs="0"/>
134
+ <element name="taxPointDate" type="xsd:dateTime" minOccurs="0"/>
135
+ <element name="tranId" type="xsd:string" minOccurs="0"/>
136
+ <element name="acctCorpCardExp" type="platformCore:RecordRef" minOccurs="0"/>
137
+ <element name="postingPeriod" type="platformCore:RecordRef" minOccurs="0"/>
138
+ <element name="tranDate" type="xsd:dateTime" minOccurs="0"/>
139
+ <element name="dueDate" type="xsd:dateTime" minOccurs="0"/>
140
+ <element name="approvalStatus" type="platformCore:RecordRef" minOccurs="0"/>
141
+ <element name="total" type="xsd:double" minOccurs="0"/>
142
+ <element name="nextApprover" type="platformCore:RecordRef" minOccurs="0"/>
143
+ <element name="advance" type="xsd:double" minOccurs="0"/>
144
+ <element name="tax1Amt" type="xsd:double" minOccurs="0"/>
145
+ <element name="amount" type="xsd:double" minOccurs="0"/>
146
+ <element name="memo" type="xsd:string" minOccurs="0"/>
147
+ <element name="complete" type="xsd:boolean" minOccurs="0"/>
148
+ <element name="supervisorApproval" type="xsd:boolean" minOccurs="0"/>
149
+ <element name="accountingApproval" type="xsd:boolean" minOccurs="0"/>
150
+ <element name="useMultiCurrency" type="xsd:boolean" minOccurs="0"/>
151
+ <element name="tax2Amt" type="xsd:double" minOccurs="0"/>
152
+ <element name="department" type="platformCore:RecordRef" minOccurs="0"/>
153
+ <element name="class" type="platformCore:RecordRef" minOccurs="0"/>
154
+ <element name="location" type="platformCore:RecordRef" minOccurs="0"/>
155
+ <element name="expenseList" type="tranEmp:ExpenseReportExpenseList" minOccurs="0"/>
156
+ <element name="accountingBookDetailList" type="platformCommon:AccountingBookDetailList" minOccurs="0"/>
157
+ <element name="taxDetailsList" type="platformCommon:TaxDetailsList" minOccurs="0"/>
158
+ <element name="nexus" type="platformCore:RecordRef" minOccurs="0"/>
159
+ <element name="subsidiaryTaxRegNum" type="platformCore:RecordRef" minOccurs="0"/>
160
+ <element name="policyViolated" type="xsd:boolean" minOccurs="0"/>
161
+ <element name="customFieldList" type="platformCore:CustomFieldList" minOccurs="0"/>
162
+ </sequence>
163
+ <!-- primary record internalId -->
164
+ <attribute name="internalId" type="xsd:string"/>
165
+ <attribute name="externalId" type="xsd:string"/>
166
+ </extension>
167
+ </complexContent>
168
+ </complexType>
169
+ <complexType name="ExpenseReportExpense">
170
+ <sequence>
171
+ <element name="line" type="xsd:long" minOccurs="0"/>
172
+ <element name="expenseDate" type="xsd:dateTime" minOccurs="0"/>
173
+ <element name="category" type="platformCore:RecordRef" minOccurs="0"/>
174
+ <element name="quantity" type="xsd:double" minOccurs="0"/>
175
+ <element name="rate" type="xsd:double" minOccurs="0"/>
176
+ <element name="foreignAmount" type="xsd:double" minOccurs="0"/>
177
+ <element name="currency" type="platformCore:RecordRef" minOccurs="0"/>
178
+ <element name="exchangeRate" type="xsd:double" minOccurs="0"/>
179
+ <element name="amount" type="xsd:double" minOccurs="0"/>
180
+ <element name="taxCode" type="platformCore:RecordRef" minOccurs="0"/>
181
+ <element name="memo" type="xsd:string" minOccurs="0"/>
182
+ <element name="taxRate1" type="xsd:double" minOccurs="0"/>
183
+ <element name="tax1Amt" type="xsd:double" minOccurs="0"/>
184
+ <element name="department" type="platformCore:RecordRef" minOccurs="0"/>
185
+ <element name="grossAmt" type="xsd:double" minOccurs="0"/>
186
+ <element name="taxRate2" type="xsd:double" minOccurs="0"/>
187
+ <element name="class" type="platformCore:RecordRef" minOccurs="0"/>
188
+ <element name="customer" type="platformCore:RecordRef" minOccurs="0"/>
189
+ <element name="location" type="platformCore:RecordRef" minOccurs="0"/>
190
+ <element name="isBillable" type="xsd:boolean" minOccurs="0"/>
191
+ <element name="expMediaItem" type="platformCore:RecordRef" minOccurs="0"/>
192
+ <element name="isNonReimbursable" type="xsd:boolean" minOccurs="0"/>
193
+ <element name="corporateCreditCard" type="xsd:boolean" minOccurs="0"/>
194
+ <element name="receipt" type="xsd:boolean" minOccurs="0"/>
195
+ <element name="refNumber" type="xsd:long" minOccurs="0"/>
196
+ <element name="taxDetailsReference" type="xsd:string" minOccurs="0"/>
197
+ <element name="expenseAccount" type="platformCore:RecordRef" minOccurs="0"/>
198
+ <element name="customFieldList" type="platformCore:CustomFieldList" minOccurs="0"/>
199
+ </sequence>
200
+ </complexType>
201
+ <complexType name="ExpenseReportExpenseList">
202
+ <sequence>
203
+ <element name="expense" type="tranEmp:ExpenseReportExpense" minOccurs="0" maxOccurs="unbounded"/>
204
+ </sequence>
205
+ <attribute name="replaceAll" type="xsd:boolean" default="true"/>
206
+ </complexType>
207
+ <element name="paycheckJournal" type="tranEmp:PaycheckJournal"/>
208
+ <complexType name="PaycheckJournal">
209
+ <complexContent>
210
+ <extension base="platformCore:Record">
211
+ <sequence>
212
+ <element name="subsidiary" type="platformCore:RecordRef" minOccurs="0"/>
213
+ <element name="currency" type="platformCore:RecordRef" minOccurs="0"/>
214
+ <element name="exchangeRate" type="xsd:double" minOccurs="0"/>
215
+ <element name="createdDate" type="xsd:dateTime" minOccurs="0"/>
216
+ <element name="lastModifiedDate" type="xsd:dateTime" minOccurs="0"/>
217
+ <element name="customForm" type="platformCore:RecordRef" minOccurs="0"/>
218
+ <element name="tranId" type="xsd:string" minOccurs="0"/>
219
+ <element name="employee" type="platformCore:RecordRef" minOccurs="0"/>
220
+ <element name="tranDate" type="xsd:dateTime" minOccurs="0"/>
221
+ <element name="postingPeriod" type="platformCore:RecordRef" minOccurs="0"/>
222
+ <element name="account" type="platformCore:RecordRef" minOccurs="0"/>
223
+ <element name="department" type="platformCore:RecordRef" minOccurs="0"/>
224
+ <element name="class" type="platformCore:RecordRef" minOccurs="0"/>
225
+ <element name="location" type="platformCore:RecordRef" minOccurs="0"/>
226
+ <element name="companyContributionList" type="tranEmp:PaycheckJournalCompanyContributionList" minOccurs="0"/>
227
+ <element name="deductionList" type="tranEmp:PaycheckJournalDeductionList" minOccurs="0"/>
228
+ <element name="employeeTaxList" type="tranEmp:PaycheckJournalEmployeeTaxList" minOccurs="0"/>
229
+ <element name="companyTaxList" type="tranEmp:PaycheckJournalCompanyTaxList" minOccurs="0"/>
230
+ <element name="earningList" type="tranEmp:PaycheckJournalEarningList" minOccurs="0"/>
231
+ <element name="customFieldList" type="platformCore:CustomFieldList" minOccurs="0"/>
232
+ </sequence>
233
+ <!-- primary record internalId -->
234
+ <attribute name="internalId" type="xsd:string"/>
235
+ <attribute name="externalId" type="xsd:string"/>
236
+ </extension>
237
+ </complexContent>
238
+ </complexType>
239
+ <complexType name="PaycheckJournalCompanyTax">
240
+ <sequence>
241
+ <element name="id" type="xsd:long" minOccurs="0"/>
242
+ <element name="payrollItem" type="platformCore:RecordRef" minOccurs="0"/>
243
+ <element name="amount" type="xsd:double" minOccurs="0"/>
244
+ <element name="department" type="platformCore:RecordRef" minOccurs="0"/>
245
+ <element name="class" type="platformCore:RecordRef" minOccurs="0"/>
246
+ <element name="location" type="platformCore:RecordRef" minOccurs="0"/>
247
+ <element name="customFieldList" type="platformCore:CustomFieldList" minOccurs="0"/>
248
+ </sequence>
249
+ </complexType>
250
+ <complexType name="PaycheckJournalCompanyTaxList">
251
+ <sequence>
252
+ <element name="paycheckJournalCompanyTax" type="tranEmp:PaycheckJournalCompanyTax" minOccurs="0" maxOccurs="unbounded"/>
253
+ </sequence>
254
+ <attribute name="replaceAll" type="xsd:boolean" default="true"/>
255
+ </complexType>
256
+ <complexType name="PaycheckJournalDeduction">
257
+ <sequence>
258
+ <element name="id" type="xsd:long" minOccurs="0"/>
259
+ <element name="payrollItem" type="platformCore:RecordRef" minOccurs="0"/>
260
+ <element name="amount" type="xsd:double" minOccurs="0"/>
261
+ <element name="department" type="platformCore:RecordRef" minOccurs="0"/>
262
+ <element name="class" type="platformCore:RecordRef" minOccurs="0"/>
263
+ <element name="location" type="platformCore:RecordRef" minOccurs="0"/>
264
+ <element name="customFieldList" type="platformCore:CustomFieldList" minOccurs="0"/>
265
+ </sequence>
266
+ </complexType>
267
+ <complexType name="PaycheckJournalDeductionList">
268
+ <sequence>
269
+ <element name="paycheckJournalDeduction" type="tranEmp:PaycheckJournalDeduction" minOccurs="0" maxOccurs="unbounded"/>
270
+ </sequence>
271
+ <attribute name="replaceAll" type="xsd:boolean" default="true"/>
272
+ </complexType>
273
+ <complexType name="PaycheckJournalCompanyContribution">
274
+ <sequence>
275
+ <element name="id" type="xsd:long" minOccurs="0"/>
276
+ <element name="payrollItem" type="platformCore:RecordRef" minOccurs="0"/>
277
+ <element name="amount" type="xsd:double" minOccurs="0"/>
278
+ <element name="department" type="platformCore:RecordRef" minOccurs="0"/>
279
+ <element name="class" type="platformCore:RecordRef" minOccurs="0"/>
280
+ <element name="location" type="platformCore:RecordRef" minOccurs="0"/>
281
+ <element name="customFieldList" type="platformCore:CustomFieldList" minOccurs="0"/>
282
+ </sequence>
283
+ </complexType>
284
+ <complexType name="PaycheckJournalCompanyContributionList">
285
+ <sequence>
286
+ <element name="paycheckJournalCompanyContribution" type="tranEmp:PaycheckJournalCompanyContribution" minOccurs="0" maxOccurs="unbounded"/>
287
+ </sequence>
288
+ <attribute name="replaceAll" type="xsd:boolean" default="true"/>
289
+ </complexType>
290
+ <complexType name="PaycheckJournalEarning">
291
+ <sequence>
292
+ <element name="id" type="xsd:long" minOccurs="0"/>
293
+ <element name="payrollItem" type="platformCore:RecordRef" minOccurs="0"/>
294
+ <element name="hours" type="xsd:double" minOccurs="0"/>
295
+ <element name="amount" type="xsd:double" minOccurs="0"/>
296
+ <element name="department" type="platformCore:RecordRef" minOccurs="0"/>
297
+ <element name="class" type="platformCore:RecordRef" minOccurs="0"/>
298
+ <element name="location" type="platformCore:RecordRef" minOccurs="0"/>
299
+ <element name="customFieldList" type="platformCore:CustomFieldList" minOccurs="0"/>
300
+ </sequence>
301
+ </complexType>
302
+ <complexType name="PaycheckJournalEarningList">
303
+ <sequence>
304
+ <element name="paycheckJournalEarning" type="tranEmp:PaycheckJournalEarning" minOccurs="0" maxOccurs="unbounded"/>
305
+ </sequence>
306
+ <attribute name="replaceAll" type="xsd:boolean" default="true"/>
307
+ </complexType>
308
+ <complexType name="PaycheckJournalEmployeeTax">
309
+ <sequence>
310
+ <element name="id" type="xsd:long" minOccurs="0"/>
311
+ <element name="payrollItem" type="platformCore:RecordRef" minOccurs="0"/>
312
+ <element name="amount" type="xsd:double" minOccurs="0"/>
313
+ <element name="department" type="platformCore:RecordRef" minOccurs="0"/>
314
+ <element name="class" type="platformCore:RecordRef" minOccurs="0"/>
315
+ <element name="location" type="platformCore:RecordRef" minOccurs="0"/>
316
+ <element name="customFieldList" type="platformCore:CustomFieldList" minOccurs="0"/>
317
+ </sequence>
318
+ </complexType>
319
+ <complexType name="PaycheckJournalEmployeeTaxList">
320
+ <sequence>
321
+ <element name="paycheckJournalEmployeeTax" type="tranEmp:PaycheckJournalEmployeeTax" minOccurs="0" maxOccurs="unbounded"/>
322
+ </sequence>
323
+ <attribute name="replaceAll" type="xsd:boolean" default="true"/>
324
+ </complexType>
325
+ <element name="timeEntry" type="tranEmp:TimeEntry"/>
326
+ <complexType name="TimeEntry">
327
+ <complexContent>
328
+ <extension base="platformCore:Record">
329
+ <sequence>
330
+ <element name="hours" type="platformCore:Duration" minOccurs="0"/>
331
+ <element name="createdDate" type="xsd:dateTime" minOccurs="0"/>
332
+ <element name="lastModifiedDate" type="xsd:dateTime" minOccurs="0"/>
333
+ <element name="customer" type="platformCore:RecordRef" minOccurs="0"/>
334
+ <element name="caseTaskEvent" type="platformCore:RecordRef" minOccurs="0"/>
335
+ <element name="item" type="platformCore:RecordRef" minOccurs="0"/>
336
+ <element name="isBillable" type="xsd:boolean" minOccurs="0"/>
337
+ <element name="payrollItem" type="platformCore:RecordRef" minOccurs="0"/>
338
+ <element name="paidExternally" type="xsd:boolean" minOccurs="0"/>
339
+ <element name="price" type="platformCore:RecordRef" minOccurs="0"/>
340
+ <element name="rate" type="xsd:double" minOccurs="0"/>
341
+ <element name="overrideRate" type="xsd:boolean" minOccurs="0"/>
342
+ <element name="memo" type="xsd:string" minOccurs="0"/>
343
+ <element name="department" type="platformCore:RecordRef" minOccurs="0"/>
344
+ <element name="class" type="platformCore:RecordRef" minOccurs="0"/>
345
+ <element name="location" type="platformCore:RecordRef" minOccurs="0"/>
346
+ <element name="billingClass" type="xsd:string" minOccurs="0"/>
347
+ <element name="subsidiary" type="platformCore:RecordRef" minOccurs="0"/>
348
+ <element name="approvalStatus" type="platformCore:RecordRef" minOccurs="0"/>
349
+ <element name="timeType" type="tranEmpTyp:TimeBillTimeType" minOccurs="0"/>
350
+ <element name="customFieldList" type="platformCore:CustomFieldList" minOccurs="0"/>
351
+ </sequence>
352
+ <!-- primary record internalId -->
353
+ <attribute name="internalId" type="xsd:string"/>
354
+ <attribute name="externalId" type="xsd:string"/>
355
+ </extension>
356
+ </complexContent>
357
+ </complexType>
358
+ <element name="timeSheet" type="tranEmp:TimeSheet"/>
359
+ <complexType name="TimeSheet">
360
+ <complexContent>
361
+ <extension base="platformCore:Record">
362
+ <sequence>
363
+ <element name="customForm" type="platformCore:RecordRef" minOccurs="0"/>
364
+ <element name="employee" type="platformCore:RecordRef" minOccurs="0"/>
365
+ <element name="startDate" type="xsd:dateTime" minOccurs="0"/>
366
+ <element name="endDate" type="xsd:dateTime" minOccurs="0"/>
367
+ <element name="totalHours" type="platformCore:Duration" minOccurs="0"/>
368
+ <element name="approvalStatus" type="platformCore:RecordRef" minOccurs="0"/>
369
+ <element name="subsidiary" type="platformCore:RecordRef" minOccurs="0"/>
370
+ <element name="timeGridList" type="tranEmp:TimeSheetTimeGridList" minOccurs="0"/>
371
+ <element name="customFieldList" type="platformCore:CustomFieldList" minOccurs="0"/>
372
+ </sequence>
373
+ <!-- primary record internalId -->
374
+ <attribute name="internalId" type="xsd:string"/>
375
+ <attribute name="externalId" type="xsd:string"/>
376
+ </extension>
377
+ </complexContent>
378
+ </complexType>
379
+ <complexType name="TimeSheetTimeGrid">
380
+ <sequence>
381
+ <element name="sunday" type="tranEmp:TimeEntry" minOccurs="0"/>
382
+ <element name="monday" type="tranEmp:TimeEntry" minOccurs="0"/>
383
+ <element name="tuesday" type="tranEmp:TimeEntry" minOccurs="0"/>
384
+ <element name="wednesday" type="tranEmp:TimeEntry" minOccurs="0"/>
385
+ <element name="thursday" type="tranEmp:TimeEntry" minOccurs="0"/>
386
+ <element name="friday" type="tranEmp:TimeEntry" minOccurs="0"/>
387
+ <element name="saturday" type="tranEmp:TimeEntry" minOccurs="0"/>
388
+ </sequence>
389
+ </complexType>
390
+ <complexType name="TimeSheetTimeGridList">
391
+ <sequence>
392
+ <element name="timeSheetTimeGrid" type="tranEmp:TimeSheetTimeGrid" minOccurs="0" maxOccurs="unbounded"/>
393
+ </sequence>
394
+ <attribute name="replaceAll" type="xsd:boolean" default="true"/>
395
+ </complexType>
396
+ <element name="timeEntrySearch" type="tranEmp:TimeEntrySearch"/>
397
+ <complexType name="TimeEntrySearch">
398
+ <complexContent>
399
+ <extension base="platformCore:SearchRecord">
400
+ <sequence>
401
+ <element name="basic" type="platformCommon:TimeEntrySearchBasic" minOccurs="0"/>
402
+ <element name="callJoin" type="platformCommon:PhoneCallSearchBasic" minOccurs="0"/>
403
+ <element name="caseJoin" type="platformCommon:SupportCaseSearchBasic" minOccurs="0"/>
404
+ <element name="classJoin" type="platformCommon:ClassificationSearchBasic" minOccurs="0"/>
405
+ <element name="customerJoin" type="platformCommon:CustomerSearchBasic" minOccurs="0"/>
406
+ <element name="departmentJoin" type="platformCommon:DepartmentSearchBasic" minOccurs="0"/>
407
+ <element name="employeeJoin" type="platformCommon:EmployeeSearchBasic" minOccurs="0"/>
408
+ <element name="eventJoin" type="platformCommon:CalendarEventSearchBasic" minOccurs="0"/>
409
+ <element name="itemJoin" type="platformCommon:ItemSearchBasic" minOccurs="0"/>
410
+ <element name="jobJoin" type="platformCommon:JobSearchBasic" minOccurs="0"/>
411
+ <element name="locationJoin" type="platformCommon:LocationSearchBasic" minOccurs="0"/>
412
+ <element name="projectTaskJoin" type="platformCommon:ProjectTaskSearchBasic" minOccurs="0"/>
413
+ <element name="projectTaskAssignmentJoin" type="platformCommon:ProjectTaskAssignmentSearchBasic" minOccurs="0"/>
414
+ <element name="resourceAllocationJoin" type="platformCommon:ResourceAllocationSearchBasic" minOccurs="0"/>
415
+ <element name="taskJoin" type="platformCommon:TaskSearchBasic" minOccurs="0"/>
416
+ <element name="timeSheetJoin" type="platformCommon:TimeSheetSearchBasic" minOccurs="0"/>
417
+ <element name="userJoin" type="platformCommon:EmployeeSearchBasic" minOccurs="0"/>
418
+ <element name="vendorJoin" type="platformCommon:VendorSearchBasic" minOccurs="0"/>
419
+ <element name="customSearchJoin" type="platformCommon:CustomSearchJoin" minOccurs="0" maxOccurs="unbounded"/>
420
+ </sequence>
421
+ </extension>
422
+ </complexContent>
423
+ </complexType>
424
+ <complexType name="TimeEntrySearchAdvanced">
425
+ <complexContent>
426
+ <extension base="platformCore:SearchRecord">
427
+ <sequence>
428
+ <element name="criteria" type="tranEmp:TimeEntrySearch" minOccurs="0"/>
429
+ <element name="columns" type="tranEmp:TimeEntrySearchRow" minOccurs="0"/>
430
+ </sequence>
431
+ <attribute name="savedSearchId" type="xsd:string"/>
432
+ <attribute name="savedSearchScriptId" type="xsd:string"/>
433
+ </extension>
434
+ </complexContent>
435
+ </complexType>
436
+ <complexType name="TimeEntrySearchRow">
437
+ <complexContent>
438
+ <extension base="platformCore:SearchRow">
439
+ <sequence>
440
+ <element name="basic" type="platformCommon:TimeEntrySearchRowBasic" minOccurs="0"/>
441
+ <element name="callJoin" type="platformCommon:PhoneCallSearchRowBasic" minOccurs="0"/>
442
+ <element name="caseJoin" type="platformCommon:SupportCaseSearchRowBasic" minOccurs="0"/>
443
+ <element name="classJoin" type="platformCommon:ClassificationSearchRowBasic" minOccurs="0"/>
444
+ <element name="customerJoin" type="platformCommon:CustomerSearchRowBasic" minOccurs="0"/>
445
+ <element name="departmentJoin" type="platformCommon:DepartmentSearchRowBasic" minOccurs="0"/>
446
+ <element name="employeeJoin" type="platformCommon:EmployeeSearchRowBasic" minOccurs="0"/>
447
+ <element name="eventJoin" type="platformCommon:CalendarEventSearchRowBasic" minOccurs="0"/>
448
+ <element name="itemJoin" type="platformCommon:ItemSearchRowBasic" minOccurs="0"/>
449
+ <element name="jobJoin" type="platformCommon:JobSearchRowBasic" minOccurs="0"/>
450
+ <element name="locationJoin" type="platformCommon:LocationSearchRowBasic" minOccurs="0"/>
451
+ <element name="projectTaskJoin" type="platformCommon:ProjectTaskSearchRowBasic" minOccurs="0"/>
452
+ <element name="projectTaskAssignmentJoin" type="platformCommon:ProjectTaskAssignmentSearchRowBasic" minOccurs="0"/>
453
+ <element name="resourceAllocationJoin" type="platformCommon:ResourceAllocationSearchRowBasic" minOccurs="0"/>
454
+ <element name="taskJoin" type="platformCommon:TaskSearchRowBasic" minOccurs="0"/>
455
+ <element name="timeSheetJoin" type="platformCommon:TimeSheetSearchRowBasic" minOccurs="0"/>
456
+ <element name="userJoin" type="platformCommon:EmployeeSearchRowBasic" minOccurs="0"/>
457
+ <element name="vendorJoin" type="platformCommon:VendorSearchRowBasic" minOccurs="0"/>
458
+ <element name="customSearchJoin" type="platformCommon:CustomSearchRowBasic" minOccurs="0" maxOccurs="unbounded"/>
459
+ </sequence>
460
+ </extension>
461
+ </complexContent>
462
+ </complexType>
463
+ <element name="timeSheetSearch" type="tranEmp:TimeSheetSearch"/>
464
+ <complexType name="TimeSheetSearch">
465
+ <complexContent>
466
+ <extension base="platformCore:SearchRecord">
467
+ <sequence>
468
+ <element name="basic" type="platformCommon:TimeSheetSearchBasic" minOccurs="0"/>
469
+ <element name="employeeJoin" type="platformCommon:EmployeeSearchBasic" minOccurs="0"/>
470
+ <element name="timeBillJoin" type="platformCommon:TimeBillSearchBasic" minOccurs="0"/>
471
+ <element name="timeEntryJoin" type="platformCommon:TimeEntrySearchBasic" minOccurs="0"/>
472
+ <element name="customSearchJoin" type="platformCommon:CustomSearchJoin" minOccurs="0" maxOccurs="unbounded"/>
473
+ </sequence>
474
+ </extension>
475
+ </complexContent>
476
+ </complexType>
477
+ <complexType name="TimeSheetSearchAdvanced">
478
+ <complexContent>
479
+ <extension base="platformCore:SearchRecord">
480
+ <sequence>
481
+ <element name="criteria" type="tranEmp:TimeSheetSearch" minOccurs="0"/>
482
+ <element name="columns" type="tranEmp:TimeSheetSearchRow" minOccurs="0"/>
483
+ </sequence>
484
+ <attribute name="savedSearchId" type="xsd:string"/>
485
+ <attribute name="savedSearchScriptId" type="xsd:string"/>
486
+ </extension>
487
+ </complexContent>
488
+ </complexType>
489
+ <complexType name="TimeSheetSearchRow">
490
+ <complexContent>
491
+ <extension base="platformCore:SearchRow">
492
+ <sequence>
493
+ <element name="basic" type="platformCommon:TimeSheetSearchRowBasic" minOccurs="0"/>
494
+ <element name="employeeJoin" type="platformCommon:EmployeeSearchRowBasic" minOccurs="0"/>
495
+ <element name="timeBillJoin" type="platformCommon:TimeBillSearchRowBasic" minOccurs="0"/>
496
+ <element name="timeEntryJoin" type="platformCommon:TimeEntrySearchRowBasic" minOccurs="0"/>
497
+ <element name="customSearchJoin" type="platformCommon:CustomSearchRowBasic" minOccurs="0" maxOccurs="unbounded"/>
498
+ </sequence>
499
+ </extension>
500
+ </complexContent>
501
+ </complexType>
502
+ <element name="paycheck" type="tranEmp:Paycheck"/>
503
+ <complexType name="Paycheck">
504
+ <complexContent>
505
+ <extension base="platformCore:Record">
506
+ <sequence>
507
+ <element name="batchNumber" type="xsd:string" minOccurs="0"/>
508
+ <element name="createdDate" type="xsd:dateTime" minOccurs="0"/>
509
+ <element name="lastModifiedDate" type="xsd:dateTime" minOccurs="0"/>
510
+ <element name="status" type="xsd:string" minOccurs="0"/>
511
+ <element name="entity" type="platformCore:RecordRef" minOccurs="0"/>
512
+ <element name="address" type="xsd:string" minOccurs="0"/>
513
+ <element name="department" type="platformCore:RecordRef" minOccurs="0"/>
514
+ <element name="location" type="platformCore:RecordRef" minOccurs="0"/>
515
+ <element name="class" type="platformCore:RecordRef" minOccurs="0"/>
516
+ <element name="workplace" type="platformCore:RecordRef" minOccurs="0"/>
517
+ <element name="tranId" type="xsd:string" minOccurs="0"/>
518
+ <element name="userAmount" type="xsd:double" minOccurs="0"/>
519
+ <element name="memo" type="xsd:string" minOccurs="0"/>
520
+ <element name="account" type="platformCore:RecordRef" minOccurs="0"/>
521
+ <element name="payFrequency" type="xsd:string" minOccurs="0"/>
522
+ <element name="balance" type="xsd:double" minOccurs="0"/>
523
+ <element name="tranDate" type="xsd:dateTime" minOccurs="0"/>
524
+ <element name="postingPeriod" type="platformCore:RecordRef" minOccurs="0"/>
525
+ <element name="periodEnding" type="xsd:dateTime" minOccurs="0"/>
526
+ <element name="payEarnList" type="tranEmp:PaycheckPayEarnList" minOccurs="0"/>
527
+ <element name="payTimeList" type="tranEmp:PaycheckPayTimeList" minOccurs="0"/>
528
+ <element name="payExpList" type="tranEmp:PaycheckPayExpList" minOccurs="0"/>
529
+ <element name="payPtoList" type="tranEmp:PaycheckPayPtoList" minOccurs="0"/>
530
+ <element name="payDeductList" type="tranEmp:PaycheckPayDeductList" minOccurs="0"/>
531
+ <element name="payContribList" type="tranEmp:PaycheckPayContribList" minOccurs="0"/>
532
+ <element name="payTaxList" type="tranEmp:PaycheckPayTaxList" minOccurs="0"/>
533
+ <element name="paySummaryList" type="tranEmp:PaycheckPaySummaryList" minOccurs="0"/>
534
+ <element name="payDisburseList" type="tranEmp:PaycheckPayDisburseList" minOccurs="0"/>
535
+ </sequence>
536
+ <!-- primary record internalId -->
537
+ <attribute name="internalId" type="xsd:string"/>
538
+ <attribute name="externalId" type="xsd:string"/>
539
+ </extension>
540
+ </complexContent>
541
+ </complexType>
542
+ <complexType name="PaycheckPayTime">
543
+ <sequence>
544
+ <element name="apply" type="xsd:boolean" minOccurs="0"/>
545
+ <element name="line" type="xsd:long" minOccurs="0"/>
546
+ <element name="payItem" type="xsd:long" minOccurs="0"/>
547
+ <element name="payItemName" type="xsd:string" minOccurs="0"/>
548
+ <element name="ddate" type="xsd:dateTime" minOccurs="0"/>
549
+ <element name="custJob" type="xsd:string" minOccurs="0"/>
550
+ <element name="serviceItem" type="xsd:string" minOccurs="0"/>
551
+ <element name="count" type="xsd:double" minOccurs="0"/>
552
+ <element name="rate" type="xsd:double" minOccurs="0"/>
553
+ <element name="amount" type="xsd:double" minOccurs="0"/>
554
+ </sequence>
555
+ </complexType>
556
+ <complexType name="PaycheckPayTimeList">
557
+ <sequence>
558
+ <element name="paycheckPayTime" type="tranEmp:PaycheckPayTime" minOccurs="0" maxOccurs="unbounded"/>
559
+ </sequence>
560
+ <attribute name="replaceAll" type="xsd:boolean" default="true"/>
561
+ </complexType>
562
+ <complexType name="PaycheckPayExp">
563
+ <sequence>
564
+ <element name="apply" type="xsd:boolean" minOccurs="0"/>
565
+ <element name="line" type="xsd:long" minOccurs="0"/>
566
+ <element name="origDoc" type="xsd:long" minOccurs="0"/>
567
+ <element name="transaction" type="xsd:string" minOccurs="0"/>
568
+ <element name="amount" type="xsd:double" minOccurs="0"/>
569
+ </sequence>
570
+ </complexType>
571
+ <complexType name="PaycheckPayExpList">
572
+ <sequence>
573
+ <element name="paycheckPayExp" type="tranEmp:PaycheckPayExp" minOccurs="0" maxOccurs="unbounded"/>
574
+ </sequence>
575
+ <attribute name="replaceAll" type="xsd:boolean" default="true"/>
576
+ </complexType>
577
+ <complexType name="PaycheckPayDisburse">
578
+ <sequence>
579
+ <element name="method" type="xsd:string" minOccurs="0"/>
580
+ <element name="bankName" type="xsd:string" minOccurs="0"/>
581
+ <element name="bankAccountDecrypt" type="xsd:string" minOccurs="0"/>
582
+ <element name="statusName" type="xsd:string" minOccurs="0"/>
583
+ <element name="amount" type="xsd:double" minOccurs="0"/>
584
+ </sequence>
585
+ </complexType>
586
+ <complexType name="PaycheckPayDisburseList">
587
+ <sequence>
588
+ <element name="paycheckPayDisburse" type="tranEmp:PaycheckPayDisburse" minOccurs="0" maxOccurs="unbounded"/>
589
+ </sequence>
590
+ <attribute name="replaceAll" type="xsd:boolean" default="true"/>
591
+ </complexType>
592
+ <complexType name="PaycheckPaySummary">
593
+ <sequence>
594
+ <element name="payItem" type="xsd:string" minOccurs="0"/>
595
+ <element name="payItemType" type="xsd:string" minOccurs="0"/>
596
+ <element name="amount" type="xsd:double" minOccurs="0"/>
597
+ <element name="ytdAmount" type="xsd:double" minOccurs="0"/>
598
+ </sequence>
599
+ </complexType>
600
+ <complexType name="PaycheckPaySummaryList">
601
+ <sequence>
602
+ <element name="paycheckPaySummary" type="tranEmp:PaycheckPaySummary" minOccurs="0" maxOccurs="unbounded"/>
603
+ </sequence>
604
+ <attribute name="replaceAll" type="xsd:boolean" default="true"/>
605
+ </complexType>
606
+ <complexType name="PaycheckPayDeduct">
607
+ <sequence>
608
+ <element name="payItem" type="platformCore:RecordRef" minOccurs="0"/>
609
+ <element name="line" type="xsd:long" minOccurs="0"/>
610
+ <element name="wageBase" type="xsd:double" minOccurs="0"/>
611
+ <element name="amount" type="xsd:double" minOccurs="0"/>
612
+ <element name="manualEntry" type="xsd:boolean" minOccurs="0"/>
613
+ </sequence>
614
+ </complexType>
615
+ <complexType name="PaycheckPayDeductList">
616
+ <sequence>
617
+ <element name="paycheckPayDeduct" type="tranEmp:PaycheckPayDeduct" minOccurs="0" maxOccurs="unbounded"/>
618
+ </sequence>
619
+ <attribute name="replaceAll" type="xsd:boolean" default="true"/>
620
+ </complexType>
621
+ <complexType name="PaycheckPayPto">
622
+ <sequence>
623
+ <element name="payItem" type="xsd:long" minOccurs="0"/>
624
+ <element name="payItemName" type="xsd:string" minOccurs="0"/>
625
+ <element name="hoursAccrued" type="xsd:double" minOccurs="0"/>
626
+ <element name="hoursUsed" type="xsd:double" minOccurs="0"/>
627
+ <element name="hoursBalance" type="xsd:double" minOccurs="0"/>
628
+ </sequence>
629
+ </complexType>
630
+ <complexType name="PaycheckPayPtoList">
631
+ <sequence>
632
+ <element name="paycheckPayPto" type="tranEmp:PaycheckPayPto" minOccurs="0" maxOccurs="unbounded"/>
633
+ </sequence>
634
+ <attribute name="replaceAll" type="xsd:boolean" default="true"/>
635
+ </complexType>
636
+ <complexType name="PaycheckPayTax">
637
+ <sequence>
638
+ <element name="line" type="xsd:long" minOccurs="0"/>
639
+ <element name="apply" type="xsd:boolean" minOccurs="0"/>
640
+ <element name="payTax" type="xsd:string" minOccurs="0"/>
641
+ <element name="payItem" type="xsd:long" minOccurs="0"/>
642
+ <element name="taxableWageBase" type="xsd:double" minOccurs="0"/>
643
+ <element name="taxedWageBase" type="xsd:double" minOccurs="0"/>
644
+ <element name="reportableWageBase" type="xsd:double" minOccurs="0"/>
645
+ <element name="isExempt" type="xsd:boolean" minOccurs="0"/>
646
+ <element name="isResidentTax" type="xsd:boolean" minOccurs="0"/>
647
+ <element name="amount" type="xsd:double" minOccurs="0"/>
648
+ </sequence>
649
+ </complexType>
650
+ <complexType name="PaycheckPayTaxList">
651
+ <sequence>
652
+ <element name="paycheckPayTax" type="tranEmp:PaycheckPayTax" minOccurs="0" maxOccurs="unbounded"/>
653
+ </sequence>
654
+ <attribute name="replaceAll" type="xsd:boolean" default="true"/>
655
+ </complexType>
656
+ <complexType name="PaycheckPayEarn">
657
+ <sequence>
658
+ <element name="payItem" type="platformCore:RecordRef" minOccurs="0"/>
659
+ <element name="line" type="xsd:long" minOccurs="0"/>
660
+ <element name="count" type="xsd:double" minOccurs="0"/>
661
+ <element name="rate" type="xsd:string" minOccurs="0"/>
662
+ <element name="serviceItem" type="platformCore:RecordRef" minOccurs="0"/>
663
+ <element name="grossAmount" type="xsd:double" minOccurs="0"/>
664
+ <element name="manualEntry" type="xsd:boolean" minOccurs="0"/>
665
+ </sequence>
666
+ </complexType>
667
+ <complexType name="PaycheckPayEarnList">
668
+ <sequence>
669
+ <element name="paycheckPayEarn" type="tranEmp:PaycheckPayEarn" minOccurs="0" maxOccurs="unbounded"/>
670
+ </sequence>
671
+ <attribute name="replaceAll" type="xsd:boolean" default="true"/>
672
+ </complexType>
673
+ <complexType name="PaycheckPayContrib">
674
+ <sequence>
675
+ <element name="payItem" type="platformCore:RecordRef" minOccurs="0"/>
676
+ <element name="line" type="xsd:long" minOccurs="0"/>
677
+ <element name="wageBase" type="xsd:double" minOccurs="0"/>
678
+ <element name="amount" type="xsd:double" minOccurs="0"/>
679
+ <element name="manualEntry" type="xsd:boolean" minOccurs="0"/>
680
+ </sequence>
681
+ </complexType>
682
+ <complexType name="PaycheckPayContribList">
683
+ <sequence>
684
+ <element name="paycheckPayContrib" type="tranEmp:PaycheckPayContrib" minOccurs="0" maxOccurs="unbounded"/>
685
+ </sequence>
686
+ <attribute name="replaceAll" type="xsd:boolean" default="true"/>
687
+ </complexType>
688
+ <element name="paycheckSearch" type="tranEmp:PaycheckSearch"/>
689
+ <complexType name="PaycheckSearch">
690
+ <complexContent>
691
+ <extension base="platformCore:SearchRecord">
692
+ <sequence>
693
+ <element name="basic" type="platformCommon:PaycheckSearchBasic" minOccurs="0"/>
694
+ <element name="employeeJoin" type="platformCommon:EmployeeSearchBasic" minOccurs="0"/>
695
+ <element name="payrollItemJoin" type="platformCommon:PayrollItemSearchBasic" minOccurs="0"/>
696
+ </sequence>
697
+ </extension>
698
+ </complexContent>
699
+ </complexType>
700
+ <complexType name="PaycheckSearchAdvanced">
701
+ <complexContent>
702
+ <extension base="platformCore:SearchRecord">
703
+ <sequence>
704
+ <element name="criteria" type="tranEmp:PaycheckSearch" minOccurs="0"/>
705
+ <element name="columns" type="tranEmp:PaycheckSearchRow" minOccurs="0"/>
706
+ </sequence>
707
+ <attribute name="savedSearchId" type="xsd:string"/>
708
+ <attribute name="savedSearchScriptId" type="xsd:string"/>
709
+ </extension>
710
+ </complexContent>
711
+ </complexType>
712
+ <complexType name="PaycheckSearchRow">
713
+ <complexContent>
714
+ <extension base="platformCore:SearchRow">
715
+ <sequence>
716
+ <element name="basic" type="platformCommon:PaycheckSearchRowBasic" minOccurs="0"/>
717
+ <element name="employeeJoin" type="platformCommon:EmployeeSearchRowBasic" minOccurs="0"/>
718
+ <element name="payrollItemJoin" type="platformCommon:PayrollItemSearchRowBasic" minOccurs="0"/>
719
+ </sequence>
720
+ </extension>
721
+ </complexContent>
722
+ </complexType>
723
+ </schema>