Returns detailed information for the specified distributor(s).
GetDistributorInfo(XmlIds AS String)
XML String
XmlIds = XML String containing the Distributor Ids of the records to return. You must format this string using the XML IdList Structure Definition.
XML return string has the following structure:
|
Field |
Type |
Length |
Description |
|
iId |
Integer |
4 |
Primary Key - Unique Identifier. |
|
iLocationId |
Integer |
4 |
Not used. |
|
cCompany |
String |
60 |
Distributor name. |
|
cAbbreviation |
String |
2 |
Two-character abbreviation used for the distributor. |
|
nTaxRate |
Decimal |
7,5 |
Tax rate for products sold by the distributor. |
|
nGst |
Decimal |
7,5 |
GST tax rate for products sold by the distributor. |
|
cAddress1 |
String |
40 |
The address of the distributor. |
|
cAddress2 |
String |
40 |
The address of the distributor. |
|
cCity |
String |
30 |
The city in which the distributor is located. |
|
cState |
String |
3 |
The state in which the distributor is located. |
|
cZipCode |
String |
10 |
The zip code. |
|
cAreaCode |
String |
4 |
Area code for the distributor's phone number. |
|
cPhoneNumber |
String |
8 |
Phone number for the distributor. |
|
cExtension |
String |
5 |
Displays the 4-digit extension number of the contact person, if necessary. |
|
cFaxArea |
String |
4 |
Displays the area code for facsimile transmissions. |
|
cFaxPhone |
String |
8 |
Displays the phone number for facsimile transmissions. |
|
cContactName |
String |
35 |
Displays the name of the distributor’s contact person. |
|
mNotes |
String |
|
Distributor notes. |
|
cAccountNum |
String |
15 |
Displays the account number the distributor issued to your business. |
|
cWebSite |
String |
90 |
Displays the web site of the distributor. |
|
cEmail |
String |
60 |
Displays the email address of the distributor's contact person. |
|
dDateDel |
Date |
8 |
Date deleted. |
|
gLogo |
|
|
Not Used. |
|
cTerms |
String |
40 |
Distributor terms. |
|
cWSDL |
String |
254 |
WSDL address for the distributor's web service. |
|
iGId |
Integer |
1 |
Distributor Global Id. |
|
iIncludeManufact |
Boolean |
1 |
Include other manufacturers anonymously. |
|
iIncludeEmpName |
Boolean |
1 |
Include employee name. |
|
cContactArea |
String |
4 |
Area code for the contact person's phone number. |
|
cContactphone |
String |
8 |
Phone number for the distributor's contact person. |