EliserhsService

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




    • Related Articles

    • Elliott Web Service Requirements

      Release Date: 5/22/2017 Q - What are the requirements for running Elliott Web Service? A - Elliott Web Service is built on .NET and runs on Windows. It extends a vast amount of Elliott features to external applications. Some of these features may ...
    • Elliott API (JSON REST Web Service)

      Introduction In the past, Elliott web services is based on SOAP standard since that is the first web services standard created for the industry. Since then, RESTful APIs (Representational State Transfer) have become the backbone of modern web ...
    • A Case to Diagnose Elliott SOAP Web Services Errors with Log Files

      'Release Date: 08/15/2024 Modified Date: 08/23/2024 Version: 8.5 & Up When a web developer calls Elliott SOAP web services, he/she should place a try catch block so if there is an error with the web services call, the error can be caught at the ...
    • ARSRVMNT Accounts Receivable Service File Maintenance

      Service File Maintenance Application Overview The Service File is part of a larger process that enables your company to track the efficiency and profitability of its billable services. This represents an important benefit to your respective ...
    • CP1700 Customer Order Processing Invoice History Inquiry

      Invoice History Inquiry Application Overview This function gives you fast and easy access to all the necessary information to provide customer service for posted invoices on file for a customer. It allows you to quickly access and display a customer ...