diff --git a/lib/syspro.rb b/lib/syspro.rb
index 77f4b07..9f805d3 100644
--- a/lib/syspro.rb
+++ b/lib/syspro.rb
@@ -32,7 +32,7 @@ require 'syspro/business_objects/porqry'
require 'syspro/business_objects/models/sor'
require 'syspro/business_objects/models/sor_detail'
-require 'syspro/business_objects/models/por'
+require 'syspro/business_objects/models/por_detail'
require 'syspro/business_objects/parsers/combrw_parser'
require 'syspro/business_objects/parsers/comfch_parser'
diff --git a/lib/syspro/business_objects/models/por_detail.rb b/lib/syspro/business_objects/models/por_detail.rb
index 987c287..ccee1c3 100644
--- a/lib/syspro/business_objects/models/por_detail.rb
+++ b/lib/syspro/business_objects/models/por_detail.rb
@@ -2,9 +2,142 @@ module Syspro
module BusinessObjects
module Models
class PorDetail
- attr_accessor :grn, :lot_number, :purchase_order, :purchase_order_line
+ attr_accessor :grn, :lot_number, :purchase_order, :purchase_order_line, :supplier, :supplier_name,
+ :supplier_class, :customer, :customer_name, :customer_po_number, :warehouse, :warehouse_desc,
+ :supplier_addr_1, :supplier_addr_2, :supplier_addr_3, :supplier_addr_3_locality,
+ :supplier_addr_4, :supplier_addr_5, :sup_postal_code, :currency, :local_supplier,
+ :description, :delivery_name, :delivery_addr_1, :delivery_addr_2, :delivery_addr_3,
+ :delivery_addr_3_locality, :delivery_addr_4, :delivery_addr_5, :postal_code, :delivery_gps_lat,
+ :delivery_gps_long, :order_status, :order_status_description, :exchange_rate_fixed_flag,
+ :po_exchange_rate, :blanket_po_contract, :ap_invoice_terms, :ap_invoice_terms_description,
+ :completed_date, :order_entry_date, :order_due_date, :memo_date, :memo_code, :order_type,
+ :payment_terms, :tax_status, :shipping_instrs, :order_discount, :amended_count, :buyer, :name,
+ :document_format, :include_in_mrp, :customform_fields, :purchase_order_line_merchandise,
+ :purchase_order_totals
+
+ class CustomFormField
+ attr_accessor :sequence, :name, :prompt, :column, :type, :length, :decimals, :default, :allow_null,
+ :validation_type, :value_null
+ end
+
+ class Merchandise
+ attr_accessor :line,
+ :line_type,
+ :line_Type_description,
+ :m_stock_code,
+ :m_stock_des,
+ :long_desc,
+ :traceable_type,
+ :mass,
+ :volume,
+ :receipt_into_flag,
+ :m_warehouse,
+ :m_warehouse_desc,
+ :m_outstanding_qty,
+ :unedited__m_outstanding_qty,
+ :m_order_qty,
+ :unedited__m_order_qty,
+ :m_received_qty,
+ :unedited__m_received_qty,
+ :m_order_uom,
+ :m_complete_flag,
+ :m_job,
+ :include_in_mrp,
+ :m_price,
+ :edit_m_price,
+ :order_value,
+ :m_disc_pct1,
+ :m_disc_pct2,
+ :m_disc_pct3,
+ :m_disc_value,
+ :m_disc_val_flag,
+ :m_price_uom,
+ :m_latest_due_date,
+ :m_sup_catalogue,
+ :m_product_class,
+ :m_product_class_description,
+ :m_stocking_uom,
+ :m_decimals_to_prt,
+ :m_conv_fact_prc_um,
+ :m_mul_div_prc,
+ :m_tax_code,
+ :m_tax_code_description,
+ :m_conv_fact_ord_um,
+ :m_mul_div_alloc,
+ :m_gl_code,
+ :m_gl_code_description,
+ :m_orig_due_date,
+ :m_lct_confirmed,
+ :m_subcontract_op,
+ :m_version,
+ :m_release,
+ :asset_flag,
+ :capex_code,
+ :asset_capex_line,
+ :discount,
+ :last_receipt,
+ :ledger,
+ :requisition_line,
+ :requisition_no,
+ :requisition_user,
+ :reschedule,
+ :rev,
+ :release,
+ :selection_code,
+ :selection_type,
+ :currency,
+ :m_inspection_reqd,
+ :inspected_received,
+ :stock_and_alt_um,
+ :default_costing_method,
+ :default_price,
+ :edit_default_price,
+ :default_prum,
+ :costing_methods_available
+
+ end # end of class MerchandiseDetail
+
+ class CostingMethodsAvailable
+ attr_accessor :manual_method_code,
+ :manual_method_desc,
+ :manual_method_price,
+ :edit__manual_method_price,
+ :manual_method_costing_prum,
+ :total_cost_method_code,
+ :total_cost_method_desc,
+ :total_cost_method_price,
+ :edit__total_cost_method_price,
+ :total_cost_costing_prum,
+ :purchase_price_method_code,
+ :purchase_price_method_desc,
+ :purchase_price_method_price,
+ :edit__purchase_price_method_price,
+ :purchase_price_costing_prum,
+ :price_tax_method_code,
+ :price_tax_method_desc,
+ :price_tax_method_price,
+ :edit__price_tax_method_price,
+ :price_tax_costing_prum
+ end # end of class CostingMethodsAvailable
+
+ class PurchaseOrderTotals
+ attr_accessor :local_values, :current_values, :first_receipt_date, :order_complete_date
+
+ end
+
+ class PurchaseOrderTotalsLocalValues
+ attr_accessor :local_order_value, :local_received_to_date_value, :local_outstanding_value,
+ :edited_local_order_value, :edited_local_received_to_date_value,
+ :edited_local_outstanding_value
+ end
+
+ class PurchaseOrderTotalsCurrentValues
+ attr_accessor :current_order_value, :current_received_to_date_value, :current_outstanding_value,
+ :edited_current_order_value, :edited_current_received_to_date_value,
+ :edited_current_outstanding_value
+ end
+
end
end
end
end
-
diff --git a/lib/syspro/business_objects/parsers/porqry_parser.rb b/lib/syspro/business_objects/parsers/porqry_parser.rb
index da0dbb9..fae8e52 100644
--- a/lib/syspro/business_objects/parsers/porqry_parser.rb
+++ b/lib/syspro/business_objects/parsers/porqry_parser.rb
@@ -49,10 +49,178 @@ module Syspro
por.ap_invoice_terms_description = doc.first_element_child.xpath('ApInvoiceTermsDescription').text
por.completed_date = doc.first_element_child.xpath('CompletedDate').text
por.warehouse = doc.first_element_child.xpath('Warehouse').text
- por.warehouse_desc
+ por.warehouse_desc = doc.first_element_child.xpath('WarehouseDesc').text
+ por.order_entry_date = doc.first_element_child.xpath('OrderEntryDate').text
+ por.order_due_date = doc.first_element_child.xpath('OrderDueDate').text
+ por.memo_date = doc.first_element_child.xpath('MemoDate').text
+ por.memo_code = doc.first_element_child.xpath('MemoCode').text
+ por.order_type = doc.first_element_child.xpath('OrderType').text
+ por.payment_terms = doc.first_element_child.xpath('PaymentTerms').text
+ por.tax_status = doc.first_element_child.xpath('TaxStatus').text
+ por.shipping_instrs = doc.first_element_child.xpath('ShippingInstrs').text
+ por.order_discount = doc.first_element_child.xpath('OrderDiscount').text
+ por.amended_count = doc.first_element_child.xpath('AmendedCount').text
+ por.buyer = doc.first_element_child.xpath('Buyer').text
+ por.name = doc.first_element_child.xpath('Name').text
+ por.document_format = doc.first_element_child.xpath('DocumentFormat').text
+ por.include_in_mrp = doc.first_element_child.xpath('IncludeInMrp').text
+
+ por.customform_fields = doc.first_element_child.xpath("CustomForm").children.select{|item| item.name === "Field"}.map do |field_el|
+ if field_el && field_el.children.count > 0
+ Syspro::BusinessObjects::Models::PorDetail::CustomFormField.new.tap do |field_obj|
+ field_obj.sequence = field_el.children.select{|el| el.name === "Sequence"}[0].children.text
+ field_obj.name = field_el.children.select{|el| el.name === "Name"}[0].children.text
+ field_obj.prompt = field_el.children.select{|el| el.name === "Prompt"}[0].children.text
+ field_obj.column = field_el.children.select{|el| el.name === "Column"}[0].children.text
+ field_obj.type = field_el.children.select{|el| el.name === "Type"}[0].children.text
+ field_obj.length = field_el.children.select{|el| el.name === "Length"}[0].children.text
+ field_obj.decimals = field_el.children.select{|el| el.name === "Decimals"}[0].children.text
+ field_obj.default = field_el.children.select{|el| el.name === "Default"}[0].children.text
+ field_obj.allow_null = field_el.children.select{|el| el.name === "AllowNull"}[0].children.text
+ field_obj.validation_type = field_el.children.select{|el| el.name === "ValidationType"}[0].children.text
+ field_obj.value_null = field_el.children.select{|el| el.name === "ValueNull"}[0].children.text
+ end
+ end
+ end.compact
+
+ por.purchase_order_line_merchandise = doc.first_element_child.xpath("PurchaseOrderLine").children.select{|item| item.name === "Merchandise"}.map do |merch_el|
+ if merch_el && merch_el.children.count > 0
+ Syspro::BusinessObjects::Models::PorDetail::Merchandise.new.tap do |merch_obj|
+ merch_obj.line = merch_el.children.select{|el| el.name === "Line"}[0].children.text
+ merch_obj.line_type = merch_el.children.select{|el| el.name === "LineType"}[0].children.text
+ merch_obj.line_Type_description = merch_el.children.select{|el| el.name === "LineTypeDescription"}[0].children.text
+ merch_obj.m_stock_code = merch_el.children.select{|el| el.name === "MStockCode"}[0].children.text
+ merch_obj.m_stock_des = merch_el.children.select{|el| el.name === "MStockDes"}[0].children.text
+ merch_obj.long_desc = merch_el.children.select{|el| el.name === "LongDesc"}[0].children.text
+ merch_obj.traceable_type = merch_el.children.select{|el| el.name === "TraceableType"}[0].children.text
+ merch_obj.mass = merch_el.children.select{|el| el.name === "Mass"}[0].children.text
+ merch_obj.volume = merch_el.children.select{|el| el.name === "Volume"}[0].children.text
+ merch_obj.receipt_into_flag = merch_el.children.select{|el| el.name === "ReceiptIntoFlag"}[0].children.text
+ merch_obj.m_warehouse = merch_el.children.select{|el| el.name === "MWarehouse"}[0].children.text
+ merch_obj.m_warehouse_desc = merch_el.children.select{|el| el.name === "MWarehouseDesc"}[0].children.text
+ merch_obj.m_outstanding_qty = merch_el.children.select{|el| el.name === "MOutstandingQty"}[0].children.text
+ merch_obj.unedited__m_outstanding_qty = merch_el.children.select{|el| el.name === "Unedited_MOutstandingQty"}[0].children.text
+ merch_obj.m_order_qty = merch_el.children.select{|el| el.name === "MOrderQty"}[0].children.text
+ merch_obj.unedited__m_order_qty = merch_el.children.select{|el| el.name === "Unedited_MOrderQty"}[0].children.text
+ merch_obj.m_received_qty = merch_el.children.select{|el| el.name === "MReceivedQty"}[0].children.text
+ merch_obj.unedited__m_received_qty = merch_el.children.select{|el| el.name === "Unedited_MReceivedQty"}[0].children.text
+ merch_obj.m_order_uom = merch_el.children.select{|el| el.name === "MOrderUom"}[0].children.text
+ merch_obj.m_complete_flag = merch_el.children.select{|el| el.name === "MCompleteFlag"}[0].children.text
+ merch_obj.m_job = merch_el.children.select{|el| el.name === "MJob"}[0].children.text
+ merch_obj.include_in_mrp = merch_el.children.select{|el| el.name === "IncludeInMrp"}[0].children.text
+ merch_obj.m_price = merch_el.children.select{|el| el.name === "MPrice"}[0].children.text
+ merch_obj.edit_m_price = merch_el.children.select{|el| el.name === "Edit_MPrice"}[0].children.text
+ merch_obj.order_value = merch_el.children.select{|el| el.name === "OrderValue"}[0].children.text
+ merch_obj.m_disc_pct1 = merch_el.children.select{|el| el.name === "MDiscPct1"}[0].children.text
+ merch_obj.m_disc_pct2 = merch_el.children.select{|el| el.name === "MDiscPct2"}[0].children.text
+ merch_obj.m_disc_pct3 = merch_el.children.select{|el| el.name === "MDiscPct3"}[0].children.text
+ merch_obj.m_disc_value = merch_el.children.select{|el| el.name === "MDiscValue"}[0].children.text
+ merch_obj.m_disc_val_flag = merch_el.children.select{|el| el.name === "MDiscValFlag"}[0].children.text
+ merch_obj.m_price_uom = merch_el.children.select{|el| el.name === "MPriceUom"}[0].children.text
+ merch_obj.m_latest_due_date = merch_el.children.select{|el| el.name === "MLatestDueDate"}[0].children.text
+ merch_obj.m_sup_catalogue = merch_el.children.select{|el| el.name === "MSupCatalogue"}[0].children.text
+ merch_obj.m_product_class = merch_el.children.select{|el| el.name === "MProductClass"}[0].children.text
+ merch_obj.m_product_class_description = merch_el.children.select{|el| el.name === "MProductClassDescription"}[0].children.text
+ merch_obj.m_stocking_uom = merch_el.children.select{|el| el.name === "MStockingUom"}[0].children.text
+ merch_obj.m_decimals_to_prt = merch_el.children.select{|el| el.name === "MDecimalsToPrt"}[0].children.text
+ merch_obj.m_conv_fact_prc_um = merch_el.children.select{|el| el.name === "MConvFactPrcUm"}[0].children.text
+ merch_obj.m_mul_div_prc = merch_el.children.select{|el| el.name === "MMulDivPrc"}[0].children.text
+ merch_obj.m_tax_code = merch_el.children.select{|el| el.name === "MTaxCode"}[0].children.text
+ merch_obj.m_tax_code_description = merch_el.children.select{|el| el.name === "MTaxCodeDescription"}[0].children.text
+ merch_obj.m_conv_fact_ord_um = merch_el.children.select{|el| el.name === "MConvFactOrdUm"}[0].children.text
+ merch_obj.m_mul_div_alloc = merch_el.children.select{|el| el.name === "MMulDivAlloc"}[0].children.text
+ merch_obj.m_gl_code = merch_el.children.select{|el| el.name === "MGlCode"}[0].children.text
+ merch_obj.m_gl_code_description = merch_el.children.select{|el| el.name === "MGlCodeDescription"}[0].children.text
+ merch_obj.m_orig_due_date = merch_el.children.select{|el| el.name === "MOrigDueDate"}[0].children.text
+ merch_obj.m_lct_confirmed = merch_el.children.select{|el| el.name === "MLctConfirmed"}[0].children.text
+ merch_obj.m_subcontract_op = merch_el.children.select{|el| el.name === "MSubcontractOp"}[0].children.text
+ merch_obj.m_version = merch_el.children.select{|el| el.name === "MVersion"}[0].children.text
+ merch_obj.m_release = merch_el.children.select{|el| el.name === "MRelease"}[0].children.text
+ merch_obj.asset_flag = merch_el.children.select{|el| el.name === "AssetFlag"}[0].children.text
+ merch_obj.capex_code = merch_el.children.select{|el| el.name === "CapexCode"}[0].children.text
+ merch_obj.asset_capex_line = merch_el.children.select{|el| el.name === "AssetCapexLine"}[0].children.text
+ merch_obj.discount = merch_el.children.select{|el| el.name === "Discount"}[0].children.text
+ merch_obj.last_receipt = merch_el.children.select{|el| el.name === "LastReceipt"}[0].children.text
+ merch_obj.ledger = merch_el.children.select{|el| el.name === "Ledger"}[0].children.text
+ merch_obj.requisition_line = merch_el.children.select{|el| el.name === "RequisitionLine"}[0].children.text
+ merch_obj.requisition_no = merch_el.children.select{|el| el.name === "RequisitionNo"}[0].children.text
+ merch_obj.requisition_user = merch_el.children.select{|el| el.name === "RequisitionUser"}[0].children.text
+ merch_obj.reschedule = merch_el.children.select{|el| el.name === "Reschedule"}[0].children.text
+ merch_obj.rev = merch_el.children.select{|el| el.name === "Rev"}[0].children.text
+ merch_obj.release = merch_el.children.select{|el| el.name === "Release"}[0].children.text
+ merch_obj.selection_code = merch_el.children.select{|el| el.name === "SelectionCode"}[0].children.text
+ merch_obj.selection_type = merch_el.children.select{|el| el.name === "SelectionType"}[0].children.text
+ merch_obj.currency = merch_el.children.select{|el| el.name === "Currency"}[0].children.text
+ merch_obj.m_inspection_reqd = merch_el.children.select{|el| el.name === "MInspectionReqd"}[0].children.text
+ merch_obj.inspected_received = merch_el.children.select{|el| el.name === "InspectedReceived"}[0].children.text
+ merch_obj.stock_and_alt_um = merch_el.children.select{|el| el.name === "StockAndAltUm"}[0].children.text
+ merch_obj.default_costing_method = merch_el.children.select{|el| el.name === "DefaultCostingMethod"}[0].children.text
+ merch_obj.default_price = merch_el.children.select{|el| el.name === "DefaultPrice"}[0].children.text
+ merch_obj.edit_default_price = merch_el.children.select{|el| el.name === "Edit_DefaultPrice"}[0].children.text
+ merch_obj.default_prum = merch_el.children.select{|el| el.name === "DefaultPrum"}[0].children.text
+ merch_obj.costing_methods_available = merch_el.children.select{|el| el.name === "CostingMethodsAvailable"}.map do |field_el_2|
+ if field_el_2 && field_el_2.children.count > 0
+ Syspro::BusinessObjects::Models::PorDetail::CostingMethodsAvailable.new.tap do |avail_obj|
+ avail_obj.manual_method_code = field_el_2.children.select{|el_2| el_2.name === "ManualMethodCode"}[0].children.text
+ avail_obj.manual_method_desc = field_el_2.children.select{|el_2| el_2.name === "ManualMethodDesc"}[0].children.text
+ avail_obj.manual_method_price = field_el_2.children.select{|el_2| el_2.name === "ManualMethodPrice"}[0].children.text
+ avail_obj.edit__manual_method_price = field_el_2.children.select{|el_2| el_2.name === "Edit_ManualMethodPrice"}[0].children.text
+ avail_obj.manual_method_costing_prum = field_el_2.children.select{|el_2| el_2.name === "ManualMethodCostingPrum"}[0].children.text
+ avail_obj.total_cost_method_code = field_el_2.children.select{|el_2| el_2.name === "TotalCostMethodCode"}[0].children.text
+ avail_obj.total_cost_method_desc = field_el_2.children.select{|el_2| el_2.name === "TotalCostMethodDesc"}[0].children.text
+ avail_obj.total_cost_method_price = field_el_2.children.select{|el_2| el_2.name === "TotalCostMethodPrice"}[0].children.text
+ avail_obj.edit__total_cost_method_price = field_el_2.children.select{|el_2| el_2.name === "Edit_TotalCostMethodPrice"}[0].children.text
+ avail_obj.total_cost_costing_prum = field_el_2.children.select{|el_2| el_2.name === "TotalCostCostingPrum"}[0].children.text
+ avail_obj.purchase_price_method_code = field_el_2.children.select{|el_2| el_2.name === "PurchasePriceMethodCode"}[0].children.text
+ avail_obj.purchase_price_method_desc = field_el_2.children.select{|el_2| el_2.name === "PurchasePriceMethodDesc"}[0].children.text
+ avail_obj.purchase_price_method_price = field_el_2.children.select{|el_2| el_2.name === "PurchasePriceMethodPrice"}[0].children.text
+ avail_obj.edit__purchase_price_method_price = field_el_2.children.select{|el_2| el_2.name === "Edit_PurchasePriceMethodPrice"}[0].children.text
+ avail_obj.purchase_price_costing_prum = field_el_2.children.select{|el_2| el_2.name === "PurchasePriceCostingPrum"}[0].children.text
+ avail_obj.price_tax_method_code = field_el_2.children.select{|el_2| el_2.name === "PriceTaxMethodCode"}[0].children.text
+ avail_obj.price_tax_method_desc = field_el_2.children.select{|el_2| el_2.name === "PriceTaxMethodDesc"}[0].children.text
+ avail_obj.price_tax_method_price = field_el_2.children.select{|el_2| el_2.name === "PriceTaxMethodPrice"}[0].children.text
+ avail_obj.edit__price_tax_method_price = field_el_2.children.select{|el_2| el_2.name === "Edit_PriceTaxMethodPrice"}[0].children.text
+ avail_obj.price_tax_costing_prum = field_el_2.children.select{|el_2| el_2.name === "PriceTaxCostingPrum"}[0].children.text
+ end
+ end
+ end.compact
+ end
+ end
+ end.compact
+
+ por.purchase_order_totals = doc.first_element_child.xpath("PurchaseOrderTotals").map do |total_el|
+ Syspro::BusinessObjects::Models::PorDetail::PurchaseOrderTotals.new.tap do |total_obj|
+
+ total_obj.local_values = total_el.children.select{|el| el.name === "LocalValues"}.map do |loc_val_el|
+ Syspro::BusinessObjects::Models::PorDetail::PurchaseOrderTotalsLocalValues.new.tap do |loc_obj|
+ loc_obj.local_order_value = loc_val_el.children.select{|el_2| el_2.name === "LocalOrderValue"}[0].text
+ loc_obj.local_received_to_date_value = loc_val_el.children.select{|el_2| el_2.name === "LocalReceivedToDateValue"}[0].text
+ loc_obj.local_outstanding_value = loc_val_el.children.select{|el_2| el_2.name === "LocalOutstandingValue"}[0].text
+ loc_obj.edited_local_order_value = loc_val_el.children.select{|el_2| el_2.name === "Edited_LocalOrderValue"}[0].text
+ loc_obj.edited_local_received_to_date_value = loc_val_el.children.select{|el_2| el_2.name === "Edited_LocalReceivedToDateValue"}[0].text
+ loc_obj.edited_local_outstanding_value = loc_val_el.children.select{|el_2| el_2.name === "Edited_LocalOutstandingValue"}[0].text
+ end
+ end
+
+ total_obj.current_values = total_el.children.select{|el| el.name === "CurrentValues"}.map do |cur_val_el|
+ Syspro::BusinessObjects::Models::PorDetail::PurchaseOrderTotalsCurrentValues.new.tap do |cur_obj|
+ cur_obj.current_order_value = cur_val_el.children.select{|el_2| el_2.name === "CurrentOrderValue"}[0].text
+ cur_obj.current_received_to_date_value = cur_val_el.children.select{|el_2| el_2.name === "CurrentReceivedToDateValue"}[0].text
+ cur_obj.current_outstanding_value = cur_val_el.children.select{|el_2| el_2.name === "CurrentOutstandingValue"}[0].text
+ cur_obj.edited_current_order_value = cur_val_el.children.select{|el_2| el_2.name === "Edited_CurrentOrderValue"}[0].text
+ cur_obj.edited_current_received_to_date_value = cur_val_el.children.select{|el_2| el_2.name === "Edited_CurrentReceivedToDateValue"}[0].text
+ cur_obj.edited_current_outstanding_value = cur_val_el.children.select{|el_2| el_2.name === "Edited_CurrentOutstandingValue"}[0].text
+ end
+ end
+
+ total_obj.first_receipt_date = total_el.children.select{|el| el.name === "FirstReceiptDate"}[0].text
+ total_obj.order_complete_date = total_el.children.select{|el| el.name === "OrderCompleteDate"}[0].text
+ end
+ end.compact
+
+ por
end
end
end
end
end
-
diff --git a/lib/syspro/business_objects/porqry.rb b/lib/syspro/business_objects/porqry.rb
index f60e8d3..7af4570 100644
--- a/lib/syspro/business_objects/porqry.rb
+++ b/lib/syspro/business_objects/porqry.rb
@@ -45,4 +45,3 @@ module Syspro
end
end
end
-
diff --git a/test/cassettes/test_client_block_execution.yml b/test/cassettes/test_client_block_execution.yml
index eda235d..603ca3d 100644
--- a/test/cassettes/test_client_block_execution.yml
+++ b/test/cassettes/test_client_block_execution.yml
@@ -27,10 +27,10 @@ http_interactions:
Server:
- Microsoft-HTTPAPI/2.0
Date:
- - Tue, 15 May 2018 00:53:44 GMT
+ - Thu, 17 May 2018 16:51:34 GMT
body:
encoding: UTF-8
string: 7.0.0.6
http_version:
- recorded_at: Tue, 15 May 2018 00:53:43 GMT
+ recorded_at: Thu, 17 May 2018 16:51:34 GMT
recorded_with: VCR 4.0.0
diff --git a/test/cassettes/test_get_syspro_version.yml b/test/cassettes/test_get_syspro_version.yml
index eda235d..603ca3d 100644
--- a/test/cassettes/test_get_syspro_version.yml
+++ b/test/cassettes/test_get_syspro_version.yml
@@ -27,10 +27,10 @@ http_interactions:
Server:
- Microsoft-HTTPAPI/2.0
Date:
- - Tue, 15 May 2018 00:53:44 GMT
+ - Thu, 17 May 2018 16:51:34 GMT
body:
encoding: UTF-8
string: 7.0.0.6
http_version:
- recorded_at: Tue, 15 May 2018 00:53:43 GMT
+ recorded_at: Thu, 17 May 2018 16:51:34 GMT
recorded_with: VCR 4.0.0
diff --git a/test/cassettes/test_logoff_error.yml b/test/cassettes/test_logoff_error.yml
index 3d45574..33c7002 100644
--- a/test/cassettes/test_logoff_error.yml
+++ b/test/cassettes/test_logoff_error.yml
@@ -27,10 +27,10 @@ http_interactions:
Server:
- Microsoft-HTTPAPI/2.0
Date:
- - Tue, 15 May 2018 00:53:22 GMT
+ - Thu, 17 May 2018 16:53:03 GMT
body:
encoding: UTF-8
string: 'ERROR: Unable to read the SYSPRO base directory registry string BaseDir8'
http_version:
- recorded_at: Tue, 15 May 2018 00:53:21 GMT
+ recorded_at: Thu, 17 May 2018 16:53:03 GMT
recorded_with: VCR 4.0.0
diff --git a/test/cassettes/test_logon.yml b/test/cassettes/test_logon.yml
index 0278b94..46da62f 100644
--- a/test/cassettes/test_logon.yml
+++ b/test/cassettes/test_logon.yml
@@ -27,10 +27,10 @@ http_interactions:
Server:
- Microsoft-HTTPAPI/2.0
Date:
- - Tue, 15 May 2018 00:54:50 GMT
+ - Thu, 17 May 2018 16:53:03 GMT
body:
encoding: UTF-8
- string: 'B83836D0602F4447B5F1473EF76DFE8200 '
+ string: 'CED6A1CD9634DD409665A876B0722D0900 '
http_version:
- recorded_at: Tue, 15 May 2018 00:54:49 GMT
+ recorded_at: Thu, 17 May 2018 16:53:03 GMT
recorded_with: VCR 4.0.0
diff --git a/test/cassettes/test_logon_error.yml b/test/cassettes/test_logon_error.yml
index 320c8f1..d8d61d9 100644
--- a/test/cassettes/test_logon_error.yml
+++ b/test/cassettes/test_logon_error.yml
@@ -27,10 +27,10 @@ http_interactions:
Server:
- Microsoft-HTTPAPI/2.0
Date:
- - Tue, 15 May 2018 00:54:41 GMT
+ - Thu, 17 May 2018 16:52:54 GMT
body:
encoding: UTF-8
string: 'ERROR: Invalid operator password'
http_version:
- recorded_at: Tue, 15 May 2018 00:54:40 GMT
+ recorded_at: Thu, 17 May 2018 16:52:54 GMT
recorded_with: VCR 4.0.0
diff --git a/test/cassettes/test_por_query.yml b/test/cassettes/test_por_query.yml
index 15e85a6..3aa10c6 100644
--- a/test/cassettes/test_por_query.yml
+++ b/test/cassettes/test_por_query.yml
@@ -27,15 +27,15 @@ http_interactions:
Server:
- Microsoft-HTTPAPI/2.0
Date:
- - Tue, 15 May 2018 21:00:23 GMT
+ - Thu, 17 May 2018 16:52:35 GMT
body:
encoding: UTF-8
- string: '3087FDA601939146B2D8AD4FA1CD2F2600 '
+ string: 'C6897E2FC9768F4DA49CA2144341435700 '
http_version:
- recorded_at: Tue, 15 May 2018 21:00:22 GMT
+ recorded_at: Thu, 17 May 2018 16:52:35 GMT
- request:
method: get
- uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/Query/Query?BusinessObject=PORQRY&UserId=3087FDA601939146B2D8AD4FA1CD2F2600%20%20&XmlIn=%3C?xml%20version=%221.0%22%20encoding=%22Windows-1252%22?%3E%0A%3CQuery%20xmlns:xsd=%22http://www.w3.org/2001/XMLSchema-instance%22%20xsd:noNamespaceSchemaLocation=%22PORQRY.XSD%22%3E%0A%20%20%3CKey%3E%0A%20%20%20%20%3CPurchaseOrder%3E%2000001%3C/PurchaseOrder%3E%0A%20%20%3C/Key%3E%0A%20%20%3COption%3E%0A%20%20%20%20%3CIncludeStockedLines%3EY%3C/IncludeStockedLines%3E%0A%20%20%20%20%3CIncludeNonStockedLines%3EY%3C/IncludeNonStockedLines%3E%0A%20%20%20%20%3CIncludeFreightLines%3EY%3C/IncludeFreightLines%3E%0A%20%20%20%20%3CIncludeMiscellaneousLines%3EY%3C/IncludeMiscellaneousLines%3E%0A%20%20%20%20%3CIncludeCommentLines%3EY%3C/IncludeCommentLines%3E%0A%20%20%20%20%3CIncludeCompletedLines%3EY%3C/IncludeCompletedLines%3E%0A%20%20%20%20%3CIncludeGrns%3EY%3C/IncludeGrns%3E%0A%20%20%20%20%3CIncludeHistory%3EY%3C/IncludeHistory%3E%0A%20%20%20%20%3CIncludeLctDetails%3EY%3C/IncludeLctDetails%3E%0A%20%20%20%20%3CIncludeRequisitionDetails%3EY%3C/IncludeRequisitionDetails%3E%0A%20%20%20%20%3CIncludeRequisitionRouting%3EY%3C/IncludeRequisitionRouting%3E%0A%20%20%20%20%3CIncludeSalesOrders%3EY%3C/IncludeSalesOrders%3E%0A%20%20%20%20%3CIncludeCustomForms%3EY%3C/IncludeCustomForms%3E%20%0A%20%20%20%20%3CXslStylesheet/%3E%0A%20%20%3C/Option%3E%0A%20%20%3CFilter%3E%0A%20%20%20%20%3CLineNo%20FilterType=%22A%22%20FilterValue=%22%22/%3E%20%20%20%20%20%0A%20%20%3C/Filter%3E%0A%3C/Query%3E%0A%0A
+ uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/Query/Query?BusinessObject=PORQRY&UserId=C6897E2FC9768F4DA49CA2144341435700%20%20&XmlIn=%3C?xml%20version=%221.0%22%20encoding=%22Windows-1252%22?%3E%0A%3CQuery%20xmlns:xsd=%22http://www.w3.org/2001/XMLSchema-instance%22%20xsd:noNamespaceSchemaLocation=%22PORQRY.XSD%22%3E%0A%20%20%3CKey%3E%0A%20%20%20%20%3CPurchaseOrder%3E%2000001%3C/PurchaseOrder%3E%0A%20%20%3C/Key%3E%0A%20%20%3COption%3E%0A%20%20%20%20%3CIncludeStockedLines%3EY%3C/IncludeStockedLines%3E%0A%20%20%20%20%3CIncludeNonStockedLines%3EY%3C/IncludeNonStockedLines%3E%0A%20%20%20%20%3CIncludeFreightLines%3EY%3C/IncludeFreightLines%3E%0A%20%20%20%20%3CIncludeMiscellaneousLines%3EY%3C/IncludeMiscellaneousLines%3E%0A%20%20%20%20%3CIncludeCommentLines%3EY%3C/IncludeCommentLines%3E%0A%20%20%20%20%3CIncludeCompletedLines%3EY%3C/IncludeCompletedLines%3E%0A%20%20%20%20%3CIncludeGrns%3EY%3C/IncludeGrns%3E%0A%20%20%20%20%3CIncludeHistory%3EY%3C/IncludeHistory%3E%0A%20%20%20%20%3CIncludeLctDetails%3EY%3C/IncludeLctDetails%3E%0A%20%20%20%20%3CIncludeRequisitionDetails%3EY%3C/IncludeRequisitionDetails%3E%0A%20%20%20%20%3CIncludeRequisitionRouting%3EY%3C/IncludeRequisitionRouting%3E%0A%20%20%20%20%3CIncludeSalesOrders%3EY%3C/IncludeSalesOrders%3E%0A%20%20%20%20%3CIncludeCustomForms%3EY%3C/IncludeCustomForms%3E%20%0A%20%20%20%20%3CXslStylesheet/%3E%0A%20%20%3C/Option%3E%0A%20%20%3CFilter%3E%0A%20%20%20%20%3CLineNo%20FilterType=%22A%22%20FilterValue=%22%22/%3E%20%20%20%20%20%0A%20%20%3C/Filter%3E%0A%3C/Query%3E%0A%0A
body:
encoding: US-ASCII
string: ''
@@ -60,7 +60,7 @@ http_interactions:
Server:
- Microsoft-HTTPAPI/2.0
Date:
- - Tue, 15 May 2018 21:00:28 GMT
+ - Thu, 17 May 2018 16:52:40 GMT
body:
encoding: UTF-8
string: "\n\n 0.00\n
\ 0.00\n0.00\n0.00\n\n\n\n\n\n "
http_version:
- recorded_at: Tue, 15 May 2018 21:00:26 GMT
+ recorded_at: Thu, 17 May 2018 16:52:40 GMT
recorded_with: VCR 4.0.0
diff --git a/test/cassettes/test_query_browse.yml b/test/cassettes/test_query_browse.yml
index 7356a86..889f26c 100644
--- a/test/cassettes/test_query_browse.yml
+++ b/test/cassettes/test_query_browse.yml
@@ -27,15 +27,15 @@ http_interactions:
Server:
- Microsoft-HTTPAPI/2.0
Date:
- - Tue, 15 May 2018 00:54:01 GMT
+ - Thu, 17 May 2018 16:52:05 GMT
body:
encoding: UTF-8
- string: '391E9C831A05AC4CAEE55E3092F4352D00 '
+ string: 'AA79E916A9C2814A887CB5F77952335400 '
http_version:
- recorded_at: Tue, 15 May 2018 00:54:00 GMT
+ recorded_at: Thu, 17 May 2018 16:52:05 GMT
- request:
method: get
- uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/Query/Browse?UserId=391E9C831A05AC4CAEE55E3092F4352D00%20%20&XmlIn=%3C?xml%20version=%221.0%22%20encoding=%22Windows-1252%22?%3E%0A%3CBrowse%20xmlns:xsd=%22http://www.w3.org/2001/XMLSchema-instance%22%20xsd:noNamespaceSchemaLocation=%22COMBRW.XSD%22%3E%0A%20%20%3CBrowseName%3EInvMaster%3C/BrowseName%3E%0A%20%20%3CStartAtKey/%3E%0A%20%20%3CStartCondition%3E%3C/StartCondition%3E%0A%20%20%3CReturnRows%3E5%3C/ReturnRows%3E%0A%20%20%0A%20%20%3CBrowseDetails%3E%0A%20%20%20%20%3CTableName%3EInvMaster%3C/TableName%3E%0A%20%20%20%20%3CTitle%3EStockCodes%3C/Title%3E%0A%20%20%20%20%0A%20%20%20%20%20%20%3CColumn%3E%0A%20%20%20%20%20%20%20%20%3CColumnName%3EStockCode%3C/ColumnName%3E%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%3C/Column%3E%0A%20%20%20%20%0A%20%20%3C/BrowseDetails%3E%0A%3C/Browse%3E%0A%0A
+ uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/Query/Browse?UserId=AA79E916A9C2814A887CB5F77952335400%20%20&XmlIn=%3C?xml%20version=%221.0%22%20encoding=%22Windows-1252%22?%3E%0A%3CBrowse%20xmlns:xsd=%22http://www.w3.org/2001/XMLSchema-instance%22%20xsd:noNamespaceSchemaLocation=%22COMBRW.XSD%22%3E%0A%20%20%3CBrowseName%3EInvMaster%3C/BrowseName%3E%0A%20%20%3CStartAtKey/%3E%0A%20%20%3CStartCondition%3E%3C/StartCondition%3E%0A%20%20%3CReturnRows%3E5%3C/ReturnRows%3E%0A%20%20%0A%20%20%3CBrowseDetails%3E%0A%20%20%20%20%3CTableName%3EInvMaster%3C/TableName%3E%0A%20%20%20%20%3CTitle%3EStockCodes%3C/Title%3E%0A%20%20%20%20%0A%20%20%20%20%20%20%3CColumn%3E%0A%20%20%20%20%20%20%20%20%3CColumnName%3EStockCode%3C/ColumnName%3E%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%3C/Column%3E%0A%20%20%20%20%0A%20%20%3C/BrowseDetails%3E%0A%3C/Browse%3E%0A%0A
body:
encoding: US-ASCII
string: ''
@@ -60,7 +60,7 @@ http_interactions:
Server:
- Microsoft-HTTPAPI/2.0
Date:
- - Tue, 15 May 2018 00:54:06 GMT
+ - Thu, 17 May 2018 16:52:09 GMT
body:
encoding: UTF-8
string: "\n\nStockCodes\n\n\n02\nAlphaNumeric\n\n
\n\n\n021\nAlphaNumeric\n\n
\n\n\n0214011IFF\nAlphaNumeric\n\n
\n\n\n022\nAlphaNumeric\n\n
\n\n\n023\nAlphaNumeric\n\n
\n\n02\n023\nTrue\nFalse\n\n\n\nStockCode\nStock code\n\n\n\n "
http_version:
- recorded_at: Tue, 15 May 2018 00:54:05 GMT
+ recorded_at: Thu, 17 May 2018 16:52:09 GMT
recorded_with: VCR 4.0.0
diff --git a/test/cassettes/test_query_fetch.yml b/test/cassettes/test_query_fetch.yml
index d6c3422..ce57c67 100644
--- a/test/cassettes/test_query_fetch.yml
+++ b/test/cassettes/test_query_fetch.yml
@@ -27,15 +27,15 @@ http_interactions:
Server:
- Microsoft-HTTPAPI/2.0
Date:
- - Tue, 15 May 2018 00:54:14 GMT
+ - Thu, 17 May 2018 16:51:47 GMT
body:
encoding: UTF-8
- string: '18E80C621C869848B726D01FF3A134A100 '
+ string: '5302D42E29F95946813203EF51DF25CE00 '
http_version:
- recorded_at: Tue, 15 May 2018 00:54:13 GMT
+ recorded_at: Thu, 17 May 2018 16:51:47 GMT
- request:
method: get
- uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/Query/Fetch?UserId=18E80C621C869848B726D01FF3A134A100%20%20&XmlIn=%3C?xml%20version=%221.0%22%20encoding=%22Windows-1252%22?%3E%0A%3CFetch%20xmlns:xsd=%22http://www.w3.org/2001/XMLSchema-instance%22%20xsd:noNamespaceSchemaLocation=%22COMFCH.XSD%22%3E%0A%20%20%3CTableName%3EInvMaster%3C/TableName%3E%0A%20%20%3CKey%3E02%3C/Key%3E%0A%20%20%0A%20%20%3CFullKeyProvided%3EY%3C/FullKeyProvided%3E%0A%20%20%3CDefaultType%3E%3C/DefaultType%3E%0A%20%20%3CEspressoFetch%3EN%3C/EspressoFetch%3E%0A%3C/Fetch%3E%0A%0A
+ uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/Query/Fetch?UserId=5302D42E29F95946813203EF51DF25CE00%20%20&XmlIn=%3C?xml%20version=%221.0%22%20encoding=%22Windows-1252%22?%3E%0A%3CFetch%20xmlns:xsd=%22http://www.w3.org/2001/XMLSchema-instance%22%20xsd:noNamespaceSchemaLocation=%22COMFCH.XSD%22%3E%0A%20%20%3CTableName%3EInvMaster%3C/TableName%3E%0A%20%20%3CKey%3E02%3C/Key%3E%0A%20%20%0A%20%20%3CFullKeyProvided%3EY%3C/FullKeyProvided%3E%0A%20%20%3CDefaultType%3E%3C/DefaultType%3E%0A%20%20%3CEspressoFetch%3EN%3C/EspressoFetch%3E%0A%3C/Fetch%3E%0A%0A
body:
encoding: US-ASCII
string: ''
@@ -60,7 +60,7 @@ http_interactions:
Server:
- Microsoft-HTTPAPI/2.0
Date:
- - Tue, 15 May 2018 00:54:23 GMT
+ - Thu, 17 May 2018 16:51:56 GMT
body:
encoding: UTF-8
string: "\n\n\n\n\n\n
\ 0\n 0\n\n\n\n\n\n "
http_version:
- recorded_at: Tue, 15 May 2018 00:54:22 GMT
+ recorded_at: Thu, 17 May 2018 16:51:56 GMT
recorded_with: VCR 4.0.0
diff --git a/test/cassettes/test_query_query.yml b/test/cassettes/test_query_query.yml
index 97ecee4..7f891c1 100644
--- a/test/cassettes/test_query_query.yml
+++ b/test/cassettes/test_query_query.yml
@@ -27,15 +27,15 @@ http_interactions:
Server:
- Microsoft-HTTPAPI/2.0
Date:
- - Tue, 15 May 2018 00:54:32 GMT
+ - Thu, 17 May 2018 16:52:18 GMT
body:
encoding: UTF-8
- string: 'BE36CA1559EBC34985FC2D5EF166D75B00 '
+ string: '4D735EA6DD5ADB46B6E0058EA86DBC4D00 '
http_version:
- recorded_at: Tue, 15 May 2018 00:54:31 GMT
+ recorded_at: Thu, 17 May 2018 16:52:18 GMT
- request:
method: get
- uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/Query/Query?BusinessObject=COMFND&UserId=BE36CA1559EBC34985FC2D5EF166D75B00%20%20&XmlIn=%3C?xml%20version=%221.0%22%20encoding=%22Windows-1252%22?%3E%0A%3CQuery%20xmlns:xsd=%22http://www.w3.org/2001/XMLSchema-instance%22%20xsd:noNamespaceSchemaLocation=%22COMFND.XSD%22%3E%0A%20%20%3CTableName%3EInvMaster%3C/TableName%3E%0A%20%20%3CReturnRows%3E5%3C/ReturnRows%3E%0A%20%20%3CColumns%3E%0A%20%20%20%20%0A%20%20%20%20%20%20%3CColumn%3EStockCode%3C/Column%3E%0A%20%20%20%20%0A%20%20%3C/Columns%3E%0A%20%20%0A%20%20%20%20%3CWhere%3E%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%3CExpression%3E%0A%20%20%20%20%20%20%20%20%20%20%3COpenBracket%3E(%3C/OpenBracket%3E%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CAndOr%3EAnd%3C/AndOr%3E%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%3CColumn%3EStockCode%3C/Column%3E%0A%20%20%20%20%20%20%20%20%20%20%3CCondition%3EEQ%3C/Condition%3E%0A%20%20%20%20%20%20%20%20%20%20%3CValue%3E02%3C/Value%3E%0A%20%20%20%20%20%20%20%20%20%20%3CCloseBracket%3E)%3C/CloseBracket%3E%0A%20%20%20%20%20%20%20%20%3C/Expression%3E%0A%20%20%20%20%20%20%0A%20%20%20%20%3C/Where%3E%0A%20%20%0A%20%20%3COrderBy%3E%0A%20%20%20%20%3CColumn%3EStockCode%3C/Column%3E%0A%20%20%3C/OrderBy%3E%0A%3C/Query%3E%0A
+ uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/Query/Query?BusinessObject=COMFND&UserId=4D735EA6DD5ADB46B6E0058EA86DBC4D00%20%20&XmlIn=%3C?xml%20version=%221.0%22%20encoding=%22Windows-1252%22?%3E%0A%3CQuery%20xmlns:xsd=%22http://www.w3.org/2001/XMLSchema-instance%22%20xsd:noNamespaceSchemaLocation=%22COMFND.XSD%22%3E%0A%20%20%3CTableName%3EInvMaster%3C/TableName%3E%0A%20%20%3CReturnRows%3E5%3C/ReturnRows%3E%0A%20%20%3CColumns%3E%0A%20%20%20%20%0A%20%20%20%20%20%20%3CColumn%3EStockCode%3C/Column%3E%0A%20%20%20%20%0A%20%20%3C/Columns%3E%0A%20%20%0A%20%20%20%20%3CWhere%3E%0A%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%3CExpression%3E%0A%20%20%20%20%20%20%20%20%20%20%3COpenBracket%3E(%3C/OpenBracket%3E%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%20%20%3CAndOr%3EAnd%3C/AndOr%3E%0A%20%20%20%20%20%20%20%20%20%20%0A%20%20%20%20%20%20%20%20%20%20%3CColumn%3EStockCode%3C/Column%3E%0A%20%20%20%20%20%20%20%20%20%20%3CCondition%3EEQ%3C/Condition%3E%0A%20%20%20%20%20%20%20%20%20%20%3CValue%3E02%3C/Value%3E%0A%20%20%20%20%20%20%20%20%20%20%3CCloseBracket%3E)%3C/CloseBracket%3E%0A%20%20%20%20%20%20%20%20%3C/Expression%3E%0A%20%20%20%20%20%20%0A%20%20%20%20%3C/Where%3E%0A%20%20%0A%20%20%3COrderBy%3E%0A%20%20%20%20%3CColumn%3EStockCode%3C/Column%3E%0A%20%20%3C/OrderBy%3E%0A%3C/Query%3E%0A
body:
encoding: US-ASCII
string: ''
@@ -60,7 +60,7 @@ http_interactions:
Server:
- Microsoft-HTTPAPI/2.0
Date:
- - Tue, 15 May 2018 00:54:40 GMT
+ - Thu, 17 May 2018 16:52:26 GMT
body:
encoding: UTF-8
string: "\n\n\nInvMaster\n\nStockCode\n\n\nStockCode\n\n\n\n02\n
\n
\ 1\n\n "
http_version:
- recorded_at: Tue, 15 May 2018 00:54:39 GMT
+ recorded_at: Thu, 17 May 2018 16:52:26 GMT
recorded_with: VCR 4.0.0
diff --git a/test/cassettes/test_sor_query.yml b/test/cassettes/test_sor_query.yml
index 3797ca3..5858465 100644
--- a/test/cassettes/test_sor_query.yml
+++ b/test/cassettes/test_sor_query.yml
@@ -27,15 +27,15 @@ http_interactions:
Server:
- Microsoft-HTTPAPI/2.0
Date:
- - Tue, 15 May 2018 00:53:39 GMT
+ - Thu, 17 May 2018 16:52:48 GMT
body:
encoding: UTF-8
- string: '88B1144955783D4386011BDD954453CC00 '
+ string: '6FDE76F80A298C409BEA62CB2CB0F58B00 '
http_version:
- recorded_at: Tue, 15 May 2018 00:53:38 GMT
+ recorded_at: Thu, 17 May 2018 16:52:48 GMT
- request:
method: get
- uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/Query/Query?BusinessObject=SORQRY&UserId=88B1144955783D4386011BDD954453CC00%20%20&XmlIn=%3C?xml%20version=%221.0%22%20encoding=%22Windows-1252%22?%3E%0A%3CQuery%20xmlns:xsd=%22http://www.w3.org/2001/XMLSchema-instance%22%20xsd:noNamespaceSchemaLocation=%22SORQRY.XSD%22%3E%0A%20%20%3CKey%3E%0A%20%20%20%20%3CSalesOrder%3E16R069%3C/SalesOrder%3E%0A%20%20%20%20%0A%20%20%3C/Key%3E%0A%20%20%3COption%3E%0A%20%20%20%20%3CIncludeStockedLines%3EN%3C/IncludeStockedLines%3E%0A%20%20%20%20%20%20%3CIncludeNonStockedLines%3EN%3C/IncludeNonStockedLines%3E%0A%20%20%20%20%20%20%3CIncludeFreightLines%3EN%3C/IncludeFreightLines%3E%0A%20%20%20%20%20%20%3CIncludeMiscLines%3EN%3C/IncludeMiscLines%3E%0A%20%20%20%20%20%20%3CIncludeCommentLines%3EN%3C/IncludeCommentLines%3E%0A%20%20%20%20%20%20%3CIncludeCompletedLines%3EN%3C/IncludeCompletedLines%3E%0A%20%20%20%20%20%20%3CIncludeSerials%3EN%3C/IncludeSerials%3E%0A%20%20%20%20%20%20%3CIncludeLots%3EN%3C/IncludeLots%3E%0A%20%20%20%20%20%20%3CIncludeBins%3EN%3C/IncludeBins%3E%0A%20%20%20%20%20%20%3CIncludeAttachedItems%3EN%3C/IncludeAttachedItems%3E%0A%20%20%20%20%20%20%3CIncludeCustomForms%3EN%3C/IncludeCustomForms%3E%0A%20%20%20%20%20%20%3CIncludeDetailLineCustomForms%3EN%3C/IncludeDetailLineCustomForms%3E%0A%20%20%20%20%20%20%3CIncludeValues%3EN%3C/IncludeValues%3E%0A%20%20%20%20%20%20%3CReturnLineShipDate%3EN%3C/ReturnLineShipDate%3E%0A%20%20%20%20%20%20%3CXslStylesheet/%3E%0A%20%20%3C/Option%3E%0A%3C/Query%3E%0A%0A
+ uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/Query/Query?BusinessObject=SORQRY&UserId=6FDE76F80A298C409BEA62CB2CB0F58B00%20%20&XmlIn=%3C?xml%20version=%221.0%22%20encoding=%22Windows-1252%22?%3E%0A%3CQuery%20xmlns:xsd=%22http://www.w3.org/2001/XMLSchema-instance%22%20xsd:noNamespaceSchemaLocation=%22SORQRY.XSD%22%3E%0A%20%20%3CKey%3E%0A%20%20%20%20%3CSalesOrder%3E16R069%3C/SalesOrder%3E%0A%20%20%20%20%0A%20%20%3C/Key%3E%0A%20%20%3COption%3E%0A%20%20%20%20%3CIncludeStockedLines%3EN%3C/IncludeStockedLines%3E%0A%20%20%20%20%20%20%3CIncludeNonStockedLines%3EN%3C/IncludeNonStockedLines%3E%0A%20%20%20%20%20%20%3CIncludeFreightLines%3EN%3C/IncludeFreightLines%3E%0A%20%20%20%20%20%20%3CIncludeMiscLines%3EN%3C/IncludeMiscLines%3E%0A%20%20%20%20%20%20%3CIncludeCommentLines%3EN%3C/IncludeCommentLines%3E%0A%20%20%20%20%20%20%3CIncludeCompletedLines%3EN%3C/IncludeCompletedLines%3E%0A%20%20%20%20%20%20%3CIncludeSerials%3EN%3C/IncludeSerials%3E%0A%20%20%20%20%20%20%3CIncludeLots%3EN%3C/IncludeLots%3E%0A%20%20%20%20%20%20%3CIncludeBins%3EN%3C/IncludeBins%3E%0A%20%20%20%20%20%20%3CIncludeAttachedItems%3EN%3C/IncludeAttachedItems%3E%0A%20%20%20%20%20%20%3CIncludeCustomForms%3EN%3C/IncludeCustomForms%3E%0A%20%20%20%20%20%20%3CIncludeDetailLineCustomForms%3EN%3C/IncludeDetailLineCustomForms%3E%0A%20%20%20%20%20%20%3CIncludeValues%3EN%3C/IncludeValues%3E%0A%20%20%20%20%20%20%3CReturnLineShipDate%3EN%3C/ReturnLineShipDate%3E%0A%20%20%20%20%20%20%3CXslStylesheet/%3E%0A%20%20%3C/Option%3E%0A%3C/Query%3E%0A%0A
body:
encoding: US-ASCII
string: ''
@@ -60,7 +60,7 @@ http_interactions:
Server:
- Microsoft-HTTPAPI/2.0
Date:
- - Tue, 15 May 2018 00:53:44 GMT
+ - Thu, 17 May 2018 16:52:53 GMT
body:
encoding: UTF-8
string: "\n\n 0.000000\nN\n\nN\n
\ 1.000000\n1.000000\nM\n\nI\n\n\n\n\n\n\n\n000\n00\n0\n\n\n\n\n\n\n\nMATTB\n\n\n\n\n\n
\n\n\n0\nY\n\n\n\n\n\n "
http_version:
- recorded_at: Tue, 15 May 2018 00:53:43 GMT
+ recorded_at: Thu, 17 May 2018 16:52:53 GMT
recorded_with: VCR 4.0.0
diff --git a/test/cassettes/test_successful_logoff.yml b/test/cassettes/test_successful_logoff.yml
index e8e9bff..90d5f8e 100644
--- a/test/cassettes/test_successful_logoff.yml
+++ b/test/cassettes/test_successful_logoff.yml
@@ -27,15 +27,15 @@ http_interactions:
Server:
- Microsoft-HTTPAPI/2.0
Date:
- - Tue, 15 May 2018 00:53:30 GMT
+ - Thu, 17 May 2018 16:53:11 GMT
body:
encoding: UTF-8
- string: 'BDEE07496905C3498683CDCAF0C7BB8100 '
+ string: 'A23FDE0669C9E64D9D0C165DDE9324AD00 '
http_version:
- recorded_at: Tue, 15 May 2018 00:53:30 GMT
+ recorded_at: Thu, 17 May 2018 16:53:11 GMT
- request:
method: get
- uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/logoff?UserId=BDEE07496905C3498683CDCAF0C7BB8100%20%20
+ uri: http://syspro.wildlandlabs.com:90/SYSPROWCFService/Rest/logoff?UserId=A23FDE0669C9E64D9D0C165DDE9324AD00%20%20
body:
encoding: US-ASCII
string: ''
@@ -60,10 +60,10 @@ http_interactions:
Server:
- Microsoft-HTTPAPI/2.0
Date:
- - Tue, 15 May 2018 00:53:30 GMT
+ - Thu, 17 May 2018 16:53:11 GMT
body:
encoding: UTF-8
string: '0'
http_version:
- recorded_at: Tue, 15 May 2018 00:53:30 GMT
+ recorded_at: Thu, 17 May 2018 16:53:11 GMT
recorded_with: VCR 4.0.0
diff --git a/test/por_test.rb b/test/por_test.rb
index 60dd405..96fd8cd 100644
--- a/test/por_test.rb
+++ b/test/por_test.rb
@@ -50,6 +50,6 @@ class PorTest < Minitest::Test
porqry.filter_value = ""
por_result = porqry.call(user_id.guid)
- assert_kind_of(Syspro::BusinessObjects::Models::Por, por_result)
+ assert_kind_of(Syspro::BusinessObjects::Models::PorDetail, por_result)
end
end
--
libgit2 0.21.4