EliserhsService

EliserhsService.asmx

This web service has a method to inquire serial number history.

 

ViewHistory

This method returns up to 50 serial history records for a serial number.

Usage:

ViewHistoryResult = A.ViewHistory(UserName, UserPassword, ITEM_NO, SerialNo, ForDocumentType)

Parameters UserName and UserPassword are not used at this moment.

 

Input Parameter

Parameter

Length

Type

Upper

Detail

ITEM_NO

15

String

Y

 

SerialNo

15

String

Y

Required.

ForDocumentType

1

String

Y

Blank: Return all document types

I: Invoice From COP

S: Issue Out From IM

R: Receive From IM

P: Receive From PO

N: Neg Receive From PO

B: Receive From BOMP

F: Receive From SFC

C: Issue From SFC

 

ViewHistoryResult Structure

Property

Type

Detail

ReturnCode

Integer

Contains return code. Zero means OK; for other return codes, please see “ElievprcService Return Code” section.

ReturnMsg

String

This is description of return code. For example, if return code is zero, you can expect “OK” in this field.

NoOfRecords

Integer

This method returns maximum 50 records.

SerialHistoryRecord()

SerialHistoryRecord

Contains up to 50 records. See “SerialHistoryRecord Structure” for detail.

 

SerialHistoryRecord Structure

Property

Type

Detail

ITEM_NO

String

 

SerialNo

String

 

ITEM_DESC1

String

 

ITEM_DESC2

String

 

DocumentType

String

 

DocumentNo

String

 

TrxDate

Date

 

CustomerVendorNo

String

 

Name

String

 

Address1

String

 

Address2

String

 

City

String

 

State

String

 

ZipCode

String

 

PhoneNo

String

 

Filler

String

 

 

Code Example

The following sample code will return serial history for item “049” and serial number “107207D”

 

Dim Service As New webServicesserhs.EliserhsService

Dim Result As New webServicesserhs.ViewHistoryResult

Dim ITEM_NO As String = “049”

Dim SerialNo As String = “107207D”

Result = Service.ViewHistory(“”, “”, ITEM_NO, SerialNo, “”)

If Result.ReturnCode = 0 Then

  If Result.NoOfRecords > 0 Then

     lblResult.Text = “First Serial History Record, Serial# is ” + _

      Result.SerialHistoryRecord(0).SerialNo.trim

  Else

      lblResult.Text = “No Record Found”

  End If

Else

  lblResult.Text = “Error”

   lblErrorCode.Text = Result.ReturnCode.ToString

End If

 

EliserhsService Return Code

0 = OK

1 = File Error

2 = Serial Number Not Provided (Required)

3 = Item Not On File

4 = Serial Record Not Found

CLS

Developer Documentations

  1. Received Code 9999 with Web Services Call
  2. Received Return Status Code 3 When Using Elilogin Login Method
  3. Elliott Web Service Requirements
  4. Elliott eStore Checklist
  5. LN API
  6. FN API
  7. RN API
  8. IN and DF API Change (V9.0)
  9. FA API Changes (V9.0)
  10. VA API Changes (V9.0)
  11. CartService
  12. EliarachService
  13. ElicshtxService
  14. EliattrbService
  15. ElisyscdService
  16. EliNoteService
  17. El2rstimService
  18. EliOrderService
  19. ItemInquiry
  20. EliitmiqService
  21. EliShiptoService
  22. El2getfrService
  23. Steps Required to Test ReportWriter in V8.2
  24. Installation of ElliottService, NETcellent’s Web Services for Elliott
  25. ResellerFinder
  26. EliaptrxService
  27. VendorInquiry
  28. EliloginService
  29. ElislsmnService
  30. EliserhsService
  31. EliatpobService
  32. ElievprcService
  33. ElihdtrxService
  34. ElicuswlService
  35. QueryTurnaround
  36. InvoiceInquiry
  37. ElicustmService
  38. EligetcdService
  39. OrderInquiry
  40. EliordiqService
  41. EliecontService
  42. EliautdpService
  43. El2CrCrdService
  44. Log-Timer / ElliottTimer.Ini Support
  45. Alpha Document Number Support (V8.5/V9.0)
  46. ElliottService System.TypeInitializationException
  47. Feature - Printing API to Dynamically Set Number of Copies
  48. The Values and Meanings of Distribution Types - ARDISFIL, APDISFIL, IMDISFIL, BMDISFIL
  49. DD API Changes (V9.0)
  50. PA API (V9.0)
  51. Validate License API
  52. AP API
  53. TP API: Temporary Path
  54. Data Structures for Report Desk Defaults and Enforcements
  55. COBOL to VB Interface Programs
  56. IN API: Option to Support Files and Folders Validation
  57. FF API: File Functions
  58. ID API
  59. LK: Links API
  60. FFLNearYou
  61. Report Desk Developing and Debugging
  62. Report Desk Groups
  63. Developing a New Elliott V8.5 Report Desk User Defined Report (UDR)
  64. Feature - Report Desk Report Footer Lines
  65. Report Desk Resolution of Pervasive.Data.SqlClient.dll

Feedback and Knowledge Base