The Lessons We Learned from Upgrading Web Service 8.2 to 8.5 in eStore
- Install Elliott Service 8.5.
- Configure all service references to point to the 8.5 Elliott Service and update all service references.
- Compile -> which will result in many compilation errors due to date type changes in the service references.
- Fix each error. The fixes are simply changing data type from int to string.
- Test.
This 8.2 QueryTurnaround code example will fail with an 8.5 database:
Dim Service As New webServicesQueryTurnaround.QueryTurnaround()
Dim Result As New webServicesQueryTurnaround.ExecuteQueryResult
Dim query As String = “ORDER_NO, ORDER-DATE, ORDER-TYPE, ORDER-SHIP-TO-NO FROM CPORDHDR WHERE ORDER_NO > 112487 AND ORDER_NO < 115877”
Dim numberOfRecords As String = “999”
Result = Service.ExecuteQuery(“”, “”, query, numberOfRecords)
If Result.ReturnCode = 0 Then
If Result.Data.Tables(0).Rows.Count > 0 Then
lblResult.Text = “First Matching Order No. is” & _
Result.Data.Tables(0).Rows(0).Item("ORDER_NO")
Else
lblResult.Text = “No Matching Order.”
End If
Else
lblResult.Text = “Error”
lblErrorCode.Text = Result.ReturnCode.ToString
End If
Pervasive.Data.SqlClient.PsqlException (0x80004005): Pervasive.Data.SqlClient.Lna.k: [LNA][PSQL][SQL Engine]Error in predicate: ORDER_NO = 'AA0011'
Service |
Method or Structure |
Change |
El2crcrdService |
||
Structure: SalesTrxInput |
INV_NO |
|
Structure: SalesTrxResult |
CreditDocumentNo |
|
Structure: ForceInput |
INV_NO |
|
Structure: ForceResult |
CreditDocumentNo |
|
Structure: RefundInput |
INV_NO |
|
Structure: RefundResult |
CreditDocumentNo |
|
El2getfrService |
||
GetFrtByOrder |
OrderNo |
|
EliaptrxService |
||
Structure: CreateTrxHeaderInput |
VoucherNo, CheckNo |
|
Structure: CreateTrxHeaderResult |
VoucherNo, InvoiceNo,CheckNo |
|
Structure: CreateTrxDistInput |
VoucherNo |
|
Structure: CreateTrxDistResult |
VoucherNo, InvoiceNo, CheckNo, ApplyToNo |
|
PostTrx |
VoucherNo |
|
Structure: PostTrxInput |
VoucherNo |
|
Structure: PostTrxResult |
VoucherNo, CheckNo |
|
EliarachService |
||
Structure: ViewOrderACHAcctInput |
OrderNo |
|
Structure: AssignOrderACHAcctInput |
OrderNo |
|
EliautdpService |
||
Structure: AutoDepositInput |
ApplyTo |
|
Structure: AutoDepositResult |
CheckNo |
|
ElibmordService |
||
AddWorkOrder |
OrderNo |
|
ChangeWorkOrder |
OrderNo |
|
DeleteWorkOrder |
OrderNo |
|
PrintWorkOrder |
OrderNo |
|
AddProductionTrx |
OrderNo |
|
ChangeProductionTrx |
OrderNo |
|
DeleteProductionTrx |
OrderNo |
|
PostProductionTrx |
OrderNo |
|
Structure: AddWorkOrderResult |
OrderNo |
|
ElicshtxService |
||
DeleteCashTrx |
CheckNo |
|
Structure: CashTrxForAdd |
CheckNo |
|
Structure: CashReceiptApplyToForAdd |
ApplyToNo |
|
EliinvocService |
||
ReadHeader |
INV_NO |
|
ReadInvItem |
INV_NO |
|
Structure: ReadHeaderResult |
INV_NO, INV_APPLY_TO_NO, INV_CHECK-NO, INV_ORDER_NO |
|
Structure: ReadInvItemResult |
INV_ITM_INV_NO, INV_ITM_ORG_BK_ORDNO, INV_ITM_BM_ORDER_NO |
|
EliorderService |
||
DeleteOrder |
ORDER_NO |
|
FinishOrder |
ORDER_NO |
|
ChangeOrder |
ORDER_NO |
|
ReapplyCredit |
ORDER_NO, ORDER_CHECK_NO |
|
ViewOrder |
ORDER_NO |
|
ViewLineLs |
ORDER_NO |
|
RecreateOrder |
OrderNo |
|
CancelOrder |
OrderNo |
|
CloseOrder |
OrderNo |
|
CloseOrCancelOrder |
OrderNo |
|
Structure: CreateHeaderInput |
ORDER_NO, ORDER_APPLY_TO_NO, ORDER_NO_ALT, ORDER_CHECK_NO, ORDER_INVOICE_NO |
|
Structure: ChangeHeaderInput |
ORDER_NO, ORDER_CHECK_NO, ORDER_APPLY_TO_NO, ORDER_NO_ALT, ORDER_INVOICE_NO |
|
Structure: CreateLineItemInput |
LINE_ITM_ORDER_NO, LINE_ITM_ORD_NO_ALT1, LINE_ITM_ORD_NO_ALT2, LINE_ITM_BM_ORDER_NO, LINE_ITM_BKT_ORD_NO |
|
Structure: CreateHeaderResult |
ORDER_NO |
|
Structure: ViewOrderResult |
ORDER_APPLY_TO_NO, ORDER_CHECK_NO, ORDER_INVOICE_NO, ORDER_NO |
|
Structure: ViewLineLSResult |
ORD_LINE_LS_ORD_NO |
|
Structure: CreateOrderResult |
OrderNo |
|
Structure: RecreateOrderResult |
OrderNo |
|
Structure: CreateOrderInput |
ORDER_NO, ORDER_APPLY_TO_NO, ORDER_NO_ALT, ORDER_CHECK_NO, ORDER_INVOICE_NO |
|
Structure: LineItem |
LINE_ITM_ORDER_NO, LINE_ITM_ORD_NO_ALT1, LINE_ITM_ORD_NO_ALT2, LINE_ITM_BM_ORDER_NO, LINE_ITM_BKT_ORD_NO |
|
Structure: SendOrderConfirmationEmailInput |
ORDER_NO |
|
EliordiqService |
||
Structure: OrderInquiryOrderNoInput |
OrderNo |
|
InvoiceInquiry |
||
GetOneInvoiceDetail |
invoiceNo |
|
OrderInquiry |
||
GetOrder |
orderNo |
|
GetOneOrderDetail |
orderNo |