EligetcdService

EligetcdService

EligetcdService.asmx

This web service is meant to return various code descriptions in Elliott.


CodeFinder

This method supports returning code descriptions of the following files: ARCODES, ARSLMFIL, IMLOCFIL, JOBFILE.

Usage:

CodeFinderResult = A.CodeFinder(UserName, UserPassword, FileName, KeyValue)

Parameters UserName and UserPassword are not used at this moment.

 

Input Parameters

Parameter

Length

Type

Upper

Detail

FileName

8

String

Y

Required.

Can be one of the following values:

"ARCODES": To find ship-via description, terms description, or tax code description.

"ARSLMFIL": To find salesman name.

"IMLOCFIL": To find location name.

"JOBFILE": To find job name.

KeyValue

10

String

Y

Required.

For “FileName” = “ARCODES,” the first digit is used to determine which type will be returned. If this field starts with “S,” ship-via description will be returned; if this field starts with “T,” terms code description will be returned; if this field starts with ‘X,’ system returns tax code description.

For example, FileName= “ARCODES” and Keyvalue=“XAC” means to return description of tax code “AC.”

 

CodeFinderResult Structure

Property Name

Type

Detail

ReturnCode

Integer

0 = OK

1 = File Error

2 = File Name Not Provided

3 = Key Value Not Provided

4 = Invalid File Name

5 = Record Not On File

ReturnMsg

String

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

Description

String

Description of the input key.

 

Code Example

The following sample code will return ship-via description of ship-via “01.”

 

Dim Service As New webServicesgetcd.EligetcdService

Dim Result As New webServicesgetcd.CodeFinderResult

Dim FileName As String = “ARCODES”

Dim KeyValue As String = “S01”

Result = Service.CodeFinder(“”, “”, FileName, KeyValue)

If Result.ReturnCode = 0 Then

   lblResult.Text = “Description For Ship-via ‘01’: ” & _ 

                    Result.Description

Else

  lblResult.Text = Result.ReturnMsg

  lblErrorCode.Text = Result.ReturnCode.ToString

End If

CLS




    • Related Articles

    • The Lessons We Learned from Upgrading Web Service 8.2 to 8.5 in eStore

      Elliott Web Service 8.5 changed ORDER_NO, INV_NO, and other keys from numeric to alphanumeric to accommodate a bigger range. This results in changes in the Web Service interface. This article documents our experience when we upgraded the Web Service ...
    • 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 ...
    • Received Code 9999, 30000 or 30001 with Web Services Call

      Modified Date: 08/31/2022 Version: 8.0 & higher Q - I tried to use EliARACHService Web Services. What follows are the parameters I passed. Then I received error 9999. <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" ...
    • 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 ...
    • 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 ...